Skip to main content

Qdrant vector database adapter for cognee

Project description

Cognee Qdrant Adapter

Installation

If published, the package can be simply installed via pip:

pip install cognee-community-vector-adapter-qdrant

In case it is not published yet, you can use poetry to locally build the adapter package:

pip install poetry
poetry install # run this command in the directory containing the pyproject.toml file

Connection Setup

For a quick local setup, you can run a docker container that qdrant provides (https://qdrant.tech/documentation/quickstart/). After this, you will be able to connect to the Qdrant DB through the appropriate ports. The command for running the docker container looks something like the following:

docker run -p 6333:6333 -p 6334:6334 \
    -v "$(pwd)/qdrant_storage:/qdrant/storage:z" \
    qdrant/qdrant

Usage

Import and register the adapter in your code:

from cognee_community_vector_adapter_qdrant import register

Example

See example in example.py file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file cognee_community_vector_adapter_qdrant-0.0.3.tar.gz.

File metadata

File hashes

Hashes for cognee_community_vector_adapter_qdrant-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a31712e1743629bd06e79d6cb441a2f994a4bd3edf95a6aa6c4cb5b58d58a802
MD5 f0b017eb3c8ba628dca3749af73f85d4
BLAKE2b-256 6a91dd6a43e834d3ac5edae48fef1ca65554276b56fd7a611d06441421c209eb

See more details on using hashes here.

File details

Details for the file cognee_community_vector_adapter_qdrant-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for cognee_community_vector_adapter_qdrant-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3836597e6be33135806c69ee3afa1dbc53280334fba66f0c4b1e50cab8b8c066
MD5 5d15f9e7424994de18d99afcdb468ddd
BLAKE2b-256 4249742532bb31dad8ca175cc7435dadc1dd15815e2d512b24973511a5516443

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page