Liking cljdoc? Tell your friends :D

hive-chroma.client

Vendor-decoupled Chroma transport seam. The Chroma backend namespaces depend on this, not on clojure-chroma-client directly. Public fns mirror the clojure-chroma-client.api surface used by hive-mcp (same names + kwarg shapes); the active IChromaTransport is swappable via set-transport!.

Vendor-decoupled Chroma transport seam. The Chroma backend namespaces
depend on this, not on clojure-chroma-client directly. Public fns mirror
the clojure-chroma-client.api surface used by hive-mcp (same names + kwarg
shapes); the active IChromaTransport is swappable via set-transport!.
raw docstring

addclj

(add coll records & {:as opts})
source

Collclj

A collection value as the vendor returns it (a map or a record).

A collection value as the vendor returns it (a map or a record).
sourceraw docstring

configureclj

(configure opts)
source

create-collectionclj

(create-collection coll-name & {:as opts})
source

deleteclj

(delete coll & {:as opts})
source

delete-collectionclj

(delete-collection coll)
source

getclj

(get coll & {:as opts})
source

get-collectionclj

(get-collection coll-name)
source

IChromaTransportcljprotocol

Low-level Chroma collection/document operations. opts maps carry what the vendor takes as keyword options; results are the vendor's deref-able values.

Low-level Chroma collection/document operations. `opts` maps carry what the
vendor takes as keyword options; results are the vendor's deref-able values.

-deleteclj

(-delete this coll opts)

-addclj

(-add this coll records opts)

-getclj

(-get this coll opts)

-create-collectionclj

(-create-collection this coll-name opts)

-configureclj

(-configure this opts)

-updateclj

(-update this coll records)

-get-collectionclj

(-get-collection this coll-name)

-queryclj

(-query this coll embedding opts)

-delete-collectionclj

(-delete-collection this coll)
sourceraw docstring

queryclj

(query coll embedding & {:as opts})
source

Recordsclj

Documents to add or update.

Documents to add or update.
sourceraw docstring

set-transport!clj

(set-transport! t)

Install the active IChromaTransport (tests inject a stub). Returns it.

Install the active IChromaTransport (tests inject a stub). Returns it.
sourceraw docstring

transportclj

(transport)

The active IChromaTransport (default: the soft-resolving vendor adapter).

The active IChromaTransport (default: the soft-resolving vendor adapter).
sourceraw docstring

Transportclj

Any IChromaTransport. Generates the soft vendor adapter, which resolves nothing until a method is called.

Any IChromaTransport. Generates the soft vendor adapter, which resolves
nothing until a method is called.
sourceraw docstring

updateclj

(update coll records)
source

VendorResultclj

Whatever the vendor answers: usually a deref-able, sometimes a plain value. Opaque by design; the seam does not interpret it.

Whatever the vendor answers: usually a deref-able, sometimes a plain value.
Opaque by design; the seam does not interpret it.
sourceraw docstring

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