If you’re new to Unstructured, read this note first.Before you can create a destination connector, you must first sign up for Unstructured.
After you sign up, the Unstructured user interface (UI) appears, which you use to create the destination connector.After you create the destination connector, add it along with a
source connector to a workflow. Then run the worklow as a
job. To learn how, try out the hands-on UI quickstart or watch the 4-minute
video tutorial.You can also create destination connectors with the Unstructured API.
Learn how.If you need help, reach out to the community on Slack, or
contact us directly.You are now ready to start creating a destination connector! Keep reading to learn how.
Send processed data from Unstructured to Qdrant.The requirements are as follows.
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
Copy
Ask AI
from qdrant_client import QdrantClient, modelsimport osclient = QdrantClient( url=os.getenv("QDRANT_URL"), api_key=os.getenv("QDRANT_API_KEY"))client.create_collection( collection_name=os.getenv("QDRANT_COLLECTION"), vectors_config=models.VectorParams( size=3072, distance=models.Distance.COSINE ))collection = client.get_collection( collection_name=os.getenv("QDRANT_COLLECTION") )print(f"The collection named '{os.getenv("QDRANT_COLLECTION")}' exists and " + f"has a status of '{collection.status}'.")
To create the destination connector:
On the sidebar, click Connectors.
Click Destinations.
Cick New or Create Connector.
Give the connector some unique Name.
In the Provider area, click Qdrant.
Click Continue.
Follow the on-screen instructions to fill in the fields as described later on this page.
Click Save and Test.
Fill in the following fields:
Name (required): A unique name for this connector.
URL (required): The target Qdrant cluster’s URL.
Collection Name (required): The name of the target collection on the cluster.
Batch Size The maximum number of records to be transmitted per batch. The default is 50 if not otherwise specified.