Skip to main content

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file cognee_community_hybrid_adapter_helixdb-0.2.0.tar.gz.

File metadata

File hashes

Hashes for cognee_community_hybrid_adapter_helixdb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a52a131aca1a1a8ed29c5fa1334c5d556d23d138ba65c89434aae20c4140dbc6
MD5 fb119823476f09a63784ccb2c18d97c9
BLAKE2b-256 6dd1854a7e4b2fa2183dd546eecd6123bc34184d1b646419e6ce5d5e7069682f

See more details on using hashes here.

File details

Details for the file cognee_community_hybrid_adapter_helixdb-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cognee_community_hybrid_adapter_helixdb-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ab898406c66505a4ecda668290fae69f4f2275af880c138b4173447ea3a7629
MD5 8dd1d979bdc3ccde3e1489fd79c91d4c
BLAKE2b-256 11f11fe9e8a9bc0336bb4109fc87cacaf7a591a83c32659ae881aa5e8a915481

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

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