Liking cljdoc? Tell your friends :D

hive-chroma.host

Every HOST service the Chroma backend consumes, in one place.

hive-chroma depends on hive-spi and never on its host by name: not at compile time, and not by resolving host symbols at runtime. The host publishes what a vector-store backend needs as capability -> fn through hive-spi.vector.host-services (hive-mcp does it in hive-mcp.embeddings.host-services), and each fn below calls through that registry at CALL time. The pure embedding-space layer needs no host at all and comes straight from hive-spi.embeddings.space.

Every namespace here loads with no host, and each call site declares the degraded value it expects when the host published nothing:

  • a lookup (provider, route, space, config value) answers nil,
  • a predicate answers false,
  • a pure shaping helper falls back to the identity of its input,
  • an embed call or the embedding guard THROWS, because a write or a search that silently skipped its vector would store or answer garbage.
Every HOST service the Chroma backend consumes, in one place.

hive-chroma depends on hive-spi and never on its host by name: not at
compile time, and not by resolving host symbols at runtime. The host
publishes what a vector-store backend needs as capability -> fn through
`hive-spi.vector.host-services` (hive-mcp does it in
hive-mcp.embeddings.host-services), and each fn below calls through that
registry at CALL time. The pure embedding-space layer needs no host at all
and comes straight from `hive-spi.embeddings.space`.

Every namespace here loads with no host, and each call site declares the
degraded value it expects when the host published nothing:

  - a lookup (provider, route, space, config value) answers nil,
  - a predicate answers false,
  - a pure shaping helper falls back to the identity of its input,
  - an embed call or the embedding guard THROWS, because a write or a
    search that silently skipped its vector would store or answer garbage.
raw docstring

admitclj

source

all-collection-namesclj

source

auditclj

source

AuditRowclj

source

consumed-capabilitiesclj

(consumed-capabilities)

Every host capability this backend asks for, as a set. Each must be a key of hive-spi.vector.host-services/catalog.

Every host capability this backend asks for, as a set. Each must be a key
of `hive-spi.vector.host-services/catalog`.
sourceraw docstring

default-spaceclj

source

embed-batchclj

source

embed-batch-forclj

source

embed-textclj

source

embed-text-forclj

source

embedding-configured?clj

source

embedding-dimensionclj

source

EmbeddingSpaceclj

source

get-dimension-forclj

source

get-embedding-providerclj

source

get-in-configclj

source

get-provider-forclj

source

install-vector-store!clj

(install-vector-store! store)

Install STORE as the host's vector-collection store when the host publishes its store slot and no store is installed yet. Answers :installed, :kept (one was already installed; an addon never overrides another backend) or :host-absent.

Install STORE as the host's vector-collection store when the host
publishes its store slot and no store is installed yet. Answers :installed,
:kept (one was already installed; an addon never overrides another backend)
or :host-absent.
sourceraw docstring

laneclj

(lane)

The caller's current embedding lane, or nil when the host published none.

The caller's current embedding lane, or nil when the host published none.
sourceraw docstring

merge-and-rerankclj

source

no-embed-type?clj

source

normalize-ingest-resultsclj

source

process-gateclj

(process-gate)

The host's process-wide embedding gate, or nil when the host published none.

The host's process-wide embedding gate, or nil when the host published none.
sourceraw docstring

require-embedding!clj

source

reset-embedding-provider!clj

source

source

resolve-provider-for-typeclj

source

resolve-provider-for-type+sizeclj

source

set-embedding-provider!clj

source

shape-queryclj

source

sibling-failoverclj

source

space->metadataclj

source

space-for-resolvedclj

source

type->collection-namesclj

source

validate-content-size!clj

source

vector-portclj

(vector-port)

The IVectorCollectionStore protocol the host consumes, else the published hive-spi.vector.ports one. Resolved at factory time.

The IVectorCollectionStore protocol the host consumes, else the published
hive-spi.vector.ports one. Resolved at factory time.
sourceraw docstring

with-permitclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close