If you’re new to Unstructured, read this note first.Before you can create a destination connector, you must first sign in to your Unstructured account:
- If you do not already have an Unstructured account, sign up for free. After you sign up, you are automatically signed in to your new Unstructured Starter account, at https://platform.unstructured.io. To sign up for a Team or Enterprise account instead, contact Unstructured Sales, or learn more.
- If you already have an Unstructured Starter or Team account and are not already signed in, sign in to your account at https://platform.unstructured.io. For an Enterprise account, see your Unstructured account administrator for instructions, or email Unstructured Support at support@unstructured.io.
-
After you sign in to your Unstructured Starter account, click API Keys on the sidebar.
For a Team or Enterprise account, before you click API Keys, make sure you have selected the organizational workspace you want to create an API key for. Each API key works with one and only one organizational workspace. Learn more. -
Click Generate API Key.
-
Follow the on-screen instructions to finish generating the key.
-
Click the Copy icon next to your new key to add the key to your system’s clipboard. If you lose this key, simply return and click the Copy icon again.
- For the Unstructured UI or the Unstructured API, only Qdrant Cloud is supported.
- For Unstructured Ingest, Qdrant Cloud, Qdrant local, and Qdrant client-server are supported.
-
For Qdrant local, the path to the local Qdrant installation, for example:
/qdrant/local
-
For Qdrant client-server, the Qdrant server URL, for example:
http://localhost:6333
-
For Qdrant Cloud:
- A Qdrant account.
- A Qdrant cluster.
-
The cluster’s URL. To get this URL, do the following:
- Sign in to your Qdrant Cloud account.
- On the sidebar, under Dashboard, click Clusters.
- Click the cluster’s name.
- Note the value of the Endpoint field, for example:
https://<random-guid>.<region-id>.<cloud-provider>.cloud.qdrant.io
.
- A Qdrant API key.
-
The name of the target collection on the Qdrant local installation,
Qdrant server, or Qdrant Cloud cluster.
Qdrant requires the target collection to exist before Unstructured can write to the collection.
The following example code demonstrates the use of the Python Qdrant Client to create
a collection on a Qdrant Cloud cluster, configuring the collection for vectors with 3072 dimensions:
Python
<name>
(required) - A unique name for this connector.<url>
(required) - The Qdrant cluster’s URL.<collection-name>
(required) - The name of the target collection on the Qdrant cluster.<batch-size>
- The maximum number of records to transmit at a time. The default is50
if not otherwise specified.<api-key>
(required) - The Qdrant API key.