Skip to main content

Turbopuffer vector database adapter for cognee

Project description

Cognee Turbopuffer Adapter

Installation

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

pip install cognee-community-vector-adapter-turbopuffer

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

  1. Create an account at turbopuffer.com
  2. Get your API key from the dashboard
  3. Set the TURBOPUFFER_API_KEY environment variable
  4. Optionally set TURBOPUFFER_REGION (defaults to gcp-us-central1). See available regions.

Usage

Import and register the adapter in your code:

from cognee_community_vector_adapter_turbopuffer import register

Also, specify the dataset handler in the .env file:

VECTOR_DATASET_DATABASE_HANDLER="turbopuffer"

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_turbopuffer-0.1.0.tar.gz.

File metadata

File hashes

Hashes for cognee_community_vector_adapter_turbopuffer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0334707d34b5ba9e09cd1f2a24f264c7424ccb9961c6b37a13a88399fcf5f623
MD5 b0f5a3771311d0e94ec23b9b78de9cec
BLAKE2b-256 742d65e351bb17188026d2b406a2338fc348489708b587f20889235f728fb9b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cognee_community_vector_adapter_turbopuffer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59ec68f61815dbcf6cdbbe7ecf48de661949a80cf399555fb4c724c7b1e4032e
MD5 6a2451269142da98d50b16c556010a16
BLAKE2b-256 1cac5878d8d94ff081cdc5b7dd8c377ccb6b5eb78b7e31c812fbae129dee3ba3

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