Skip to main content

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.

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

File metadata

File hashes

Hashes for cognee_community_vector_adapter_turbopuffer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ed522d1326dcef5b4c05ab82b8aa2699af72391af5c7fdfaaba917959dcab299
MD5 57abac541df430b85e7c1561d0bc06a5
BLAKE2b-256 a86350a9decc4f2c33349df259fcf19a34fd81f40a132c4c1c134025b5055427

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cognee_community_vector_adapter_turbopuffer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e376e8605ec26eaff5dad50b8806c791d3eb489776a2d0752faec6e8514adce
MD5 808f9eecf3e3b5bf61c4eeb3ab8f9767
BLAKE2b-256 9873b1cfe9a455daabda74e089017023df6d25eeafba4d5e72da8449f2ed2199

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page