You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`<name>` (_required_) - A unique name for this connector.
2
2
-`<token>` (_required_) - The application token for the database.
3
3
-`<api-endpoint>` (_required_) - The database’s associated API endpoint.
4
-
-`<collection-name>`(_required_) - The name of the collection in the namespace.
4
+
-`<collection-name>` - The name of the collection in the namespace. If no value is provided, see the beginning of this article for the behavior at run time.
5
5
-`<keyspace>` - The name of the keyspace in the collection. The default is `default_keyspace` if not otherwise specified.
6
6
-`<batch-size>` - The maximum number of records to send per batch. The default is `20` if not otherwise specified.
7
7
-`flatten_metadata` - Set to `true` to flatten the metadata into each record. Specifically, when flattened, the metadata key values are brought to the top level of the element, and the `metadata` key itself is removed. By default, the metadata is not flattened (`false`).
Copy file name to clipboardExpand all lines: snippets/general-shared-text/astradb-cli-api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ These environment variables:
13
13
-`ASTRA_DB_API_ENDPOINT` - The API endpoint for the Astra DB database, represented by `--api-endpoint` (CLI) or `api_endpoint` (Python). To get the endpoint, see the **Database Details > API Endpoint** value on your database's **Overview** tab.
14
14
-`ASTRA_DB_APPLICATION_TOKEN` - The database application token value for the database, represented by `--token` (CLI) or `token` (Python). To get the token, see the **Database Details > Application Tokens** box on your database's **Overview** tab.
15
15
-`ASTRA_DB_KEYSPACE` - The name of the keyspace for the database, represented by `--keyspace` (CLI) or `keyspace` (Python).
16
-
-`ASTRA_DB_COLLECTION` - The name of the collection for the keyspace, represented by `--collection-name` (CLI) or `collection_name` (Python).
16
+
-`ASTRA_DB_COLLECTION` - The name of the collection for the keyspace, represented by `--collection-name` (CLI) or `collection_name` (Python). If no value is provided, see the beginning of this article for the behavior at run time.
Copy file name to clipboardExpand all lines: snippets/general-shared-text/astradb-platform.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Fill in the following fields:
2
2
3
3
-**Name** (_required_): A unique name for this connector.
4
-
-**Collection Name** (_required_): The name of the collection in the namespace.
4
+
-**Collection Name**: The name of the collection in the namespace. If no value is provided, see the beginning of this article for the behavior at run time.
5
5
-**Keyspace** (_required_): The name of the keyspace in the collection.
6
6
-**Batch Size**: The maximum number of records per batch. The default is `20` if not otherwise specified.
7
7
-**Flatten Metadata**: Check this box to flatten the metadata into each record.
Copy file name to clipboardExpand all lines: snippets/general-shared-text/astradb.mdx
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,22 @@ allowfullscreen
12
12
- A database in the Astra account. [Create a database in an account](https://docs.datastax.com/en/astra-db-classic/databases/manage-create.html).
13
13
- An application token for the database. [Create a database application token](https://docs.datastax.com/en/astra-db-serverless/administration/manage-application-tokens.html).
14
14
- A namespace in the database. [Create a namespace in a database](https://docs.datastax.com/en/astra-db-serverless/databases/manage-namespaces.html#create-namespace).
15
-
- A collection in the namespace. [Create a collection in a namespace](https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection).
15
+
- A collection in the namespace. [Create a collection in a namespace](https://docs.datastax.com/en/astra-db-serverless/databases/manage-collections.html#create-collection).
16
+
17
+
An existing collection is not required. At runtime, the collection behavior is as follows:
18
+
19
+
For the [Unstructured Platform](/platform/overview):
20
+
21
+
- If an existing collection name is specified, and Unstructured generates embeddings,
22
+
but the number of dimensions that are generated does not match the existing collection's embedding settings, the run will fail.
23
+
You must change your Unstructured embedding settings or your existing collection's embedding settings to match, and try the run again.
24
+
- If a collection name is not specified, Unstructured creates a new collection in your namespace. If Unstructured generates embeddings,
25
+
the new collections's name will be `u<short-workflow-id>_<short-embedding-model-name>_<number-of-dimensions>`.
26
+
If Unstructured does not generate embeddings, the new collections's name will be `u<short-workflow-id`.
27
+
28
+
For [Unstructured Ingest](/ingestion/overview):
29
+
30
+
- If an existing collection name is specified, and Unstructured generates embeddings,
31
+
but the number of dimensions that are generated does not match the existing collection's embedding settings, the run will fail.
32
+
You must change your Unstructured embedding settings or your existing collections's embedding settings to match, and try the run again.
33
+
- If a collection name is not specified, Unstructured creates a new collection in your Pinecone account. The new collection's name will be `unstructuredautocreated`.
0 commit comments