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.1.0.tar.gz.

File metadata

File hashes

Hashes for cognee_community_vector_adapter_qdrant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 123fec7126490c380ed8e44960a43ecc0c0eedba11e1f67f3b77dc594282f83f
MD5 4c2a8727eabc1076fde9b6ae7a59f399
BLAKE2b-256 ab66c85fea453cbfdf7effea3a445cd1fbeabeebb62374815832f592ea8b62db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cognee_community_vector_adapter_qdrant-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f33e3a70b5f6e7d21ae70c4ae8af6305516b3c33163e39ebfdc578821285994a
MD5 6e88cc5bdd6c552786d42b56ec908688
BLAKE2b-256 c1cbcc528d3bef5c647b841c9ccc69315b31fc332a145de829af1c2c5d4ee2d6

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