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
- Create an account at turbopuffer.com
- Get your API key from the dashboard
- Set the
TURBOPUFFER_API_KEYenvironment variable - Optionally set
TURBOPUFFER_REGION(defaults togcp-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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cognee_community_vector_adapter_turbopuffer-0.1.0.tar.gz.
File metadata
- Download URL: cognee_community_vector_adapter_turbopuffer-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.5 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0334707d34b5ba9e09cd1f2a24f264c7424ccb9961c6b37a13a88399fcf5f623
|
|
| MD5 |
b0f5a3771311d0e94ec23b9b78de9cec
|
|
| BLAKE2b-256 |
742d65e351bb17188026d2b406a2338fc348489708b587f20889235f728fb9b8
|
File details
Details for the file cognee_community_vector_adapter_turbopuffer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cognee_community_vector_adapter_turbopuffer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.5 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59ec68f61815dbcf6cdbbe7ecf48de661949a80cf399555fb4c724c7b1e4032e
|
|
| MD5 |
6a2451269142da98d50b16c556010a16
|
|
| BLAKE2b-256 |
1cac5878d8d94ff081cdc5b7dd8c377ccb6b5eb78b7e31c812fbae129dee3ba3
|