Qdrant
Batch process all your records to store structured outputs in Qdrant.
You will need:
The Qdrant prerequisites are as follows.
-
The name of the target collection on the Qdrant local installation, Qdrant server, or Qdrant Cloud cluster.
-
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:
-
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
.
The Qdrant connector dependencies.
You might also need to install additional dependencies, depending on your needs. Learn more.
The following environment variables:
-
QDRANT_COLLECTION
- The name of the target collection on the Qdrant local installation, Qdrant server, or Qdrant Cloud cluster, represented by--collection-name
(CLI) orcollection_name
(Python). -
For Qdrant local,
QDRANT_PATH
- The path to the local Qdrant installation, represented by--path
(CLI) orpath
(Python). -
For Qdrant client-server,
QDRANT_URL
- The Qdrant server’s URL, represented by--url
(CLI) orurl
(Python). -
For Qdrant Cloud:
QDRANT_URL
- The Qdrant cluster’s URL, represented by--url
(CLI) orurl
(Python).QDRANT_API_KEY
- The Qdrant API key, represented by--api-key
(CLI) orapi_key
(Python).
These environment variables:
UNSTRUCTURED_API_KEY
- Your Unstructured API key value.UNSTRUCTURED_API_URL
- Your Unstructured API URL.
Now call the Unstructured CLI or Python SDK. The source connector can be any of the ones supported.
This example uses the local source connector:
Was this page helpful?