Skip to main content

Documentation Index

Fetch the complete documentation index at: https://ahvn.top/llms.txt

Use this file to discover all available pages before exploring further.

Pick the right backend for each field — change your mind without rewriting queries.

1. Available backends

Backend typeKeyNotes
SQLitesqliteDefault; zero-config local storage
PostgreSQLpostgresProduction relational backend
In-memoryinmemFast temporary storage; no persistence
MilvusmilvusVector search (optional dependency)
pgvectorpgvectorPostgreSQL vector extension

2. Configuration

ws = hb.HeavenBase(
    "ws",
    backends={
        "main": {
            "backend_type": "sqlite",
            "path": "data.db",
        },
        "vec": {
            "backend_type": "inmem",
        },
    }
)

3. Discover capabilities

hb.catalog.backends(hb.Vector)           # backends that handle Vector fields
hb.catalog.backends(hb.Array, hb.SideTable, op="array_contains")
hb.catalog.supports(hb.Vector, "near", "inmem", hb.VectorIndex)

Further Exploration

Related resources: