Skip to main content

Crate cp_graph

Crate cp_graph 

Source
Expand description

CP Graph - Knowledge graph and vector store

Combines SQLite for structured data with HNSW for vector search.

Structs§

GraphStats
Statistics about the graph store
GraphStore
Combined graph and vector store
IndexConfig
Configuration for the persistent HNSW index
PersistentHnswIndex
Persistent HNSW index with mmap-backed storage
SharedPersistentIndex
Thread-safe wrapper for the persistent index

Functions§

get_schema_version
Get the current schema version
needs_migration
Check if the database needs migration
run_migrations
Run all pending migrations on the database