from mixpeek import Mixpeek
mixpeek = Mixpeek('API_KEY')

connection_id = mixpeek.connections.create(
    alias="my-qdrant",
    engine="qdrant",
    details={
        "url": "https://xyz-example.eu-central.aws.cloud.qdrant.io:6333",
        "api_key": "paste-your-api-key-here"
        "collection_name": "test_collection"
    }
)
{"connection_id": "conn_123"}

Qdrant is a vector search engine that can be used as a destination within your mixpeek pipeline. Review their official documentation

Once you have a connection_id include it in your pipeline creation

Request

alias
string
required

A friendly name for the connection

engine
string
required

The type of service, in this case qdrant

details.url
string
required

Connection string, if self-hosted use your localhost with port like: http://localhost:6333

For cloud, use the full connection_url like xyz-example.eu-central.aws.cloud.qdrant.io

details.api_key
string

This is your Qdrant api key, and only used if using their cloud version.

details.collection_name
string
required

This is where you’ll be sending objects from your mixpeek pipelines.

Response

connection_id
string
required

This is what you’ll use when you create your pipeline.

from mixpeek import Mixpeek
mixpeek = Mixpeek('API_KEY')

connection_id = mixpeek.connections.create(
    alias="my-qdrant",
    engine="qdrant",
    details={
        "url": "https://xyz-example.eu-central.aws.cloud.qdrant.io:6333",
        "api_key": "paste-your-api-key-here"
        "collection_name": "test_collection"
    }
)
{"connection_id": "conn_123"}