cognee-community-hybrid-adapter-helixdb
A community cognee adapter that uses HelixDB as both the graph and the vector store (hybrid adapter). Requires cognee 1.4.2.
HelixDB uses pre-compiled HQL queries; the adapter deploys a generic schema
(CogneeNode / CogneeEdge / CogneeVector) and a fixed set of query
endpoints at initialization time. Dynamic node types are stored as a
node_type property, arbitrary properties are JSON-serialized into
properties_json.
Installation
pip install cognee-community-hybrid-adapter-helixdb
You need a running HelixDB instance (default localhost:6969). See the
HelixDB docs for setup.
Usage
import asyncio
import cognee
from cognee_community_hybrid_adapter_helixdb import register # noqa: F401
async def main():
cognee.config.set_graph_db_config({"graph_database_provider": "helixdb"})
cognee.config.set_vector_db_config({"vector_db_provider": "helixdb"})
await cognee.add("HelixDB is a graph-vector database.")
await cognee.cognify()
results = await cognee.search("What is HelixDB?")
print(results)
asyncio.run(main())
Tests
pytest tests/unit # offline contract tests, no server needed
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_hybrid_adapter_helixdb-0.2.0.tar.gz.
File metadata
- Download URL: cognee_community_hybrid_adapter_helixdb-0.2.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.10.18 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a52a131aca1a1a8ed29c5fa1334c5d556d23d138ba65c89434aae20c4140dbc6
|
|
| MD5 |
fb119823476f09a63784ccb2c18d97c9
|
|
| BLAKE2b-256 |
6dd1854a7e4b2fa2183dd546eecd6123bc34184d1b646419e6ce5d5e7069682f
|
File details
Details for the file cognee_community_hybrid_adapter_helixdb-0.2.0-py3-none-any.whl.
File metadata
- Download URL: cognee_community_hybrid_adapter_helixdb-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.10.18 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ab898406c66505a4ecda668290fae69f4f2275af880c138b4173447ea3a7629
|
|
| MD5 |
8dd1d979bdc3ccde3e1489fd79c91d4c
|
|
| BLAKE2b-256 |
11f11fe9e8a9bc0336bb4109fc87cacaf7a591a83c32659ae881aa5e8a915481
|