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

File metadata

File hashes

Hashes for cognee_community_vector_adapter_turbopuffer-0.2.1.tar.gz
Algorithm Hash digest
SHA256 823f52f833cf15e283274531f927f3ef726f9b1204da8c059770af3c7fc30549
MD5 927d445f1e871a31f6d8a55be0ed5c11
BLAKE2b-256 03fd2a4e7e684d450504e6a76e04a9852c4f9d85f430ab26aded08a444bc26db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cognee_community_vector_adapter_turbopuffer-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08208667769b0499da3e4db8ea3748f3297293840dad724ac361511f8ec051a0
MD5 9a8105040023f2b38fe6fa6bee38fe12
BLAKE2b-256 a73b107532a7c246e18c6b547f69d643b1269fd64797d938d901d323613ed6fe

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