Liking cljdoc? Tell your friends :D

hive-chroma.search

Semantic search operations for Chroma memory entries.

Semantic search operations for Chroma memory entries.
raw docstring

build-where-clauseclj

(build-where-clause {:keys [type project-ids]})

Build Chroma where clause from type and project-id filters. Pure function — no IO.

Build Chroma where clause from type and project-id filters.
Pure function — no IO.
sourceraw docstring

build-where-document-clauseclj

(build-where-document-clause exclude-tags)

Build Chroma where-document clause for tag exclusion. Uses document-level $not_contains since tags are embedded in document text. Pure function — no IO.

Build Chroma where-document clause for tag exclusion.
Uses document-level $not_contains since tags are embedded in document text.
Pure function — no IO.
sourceraw docstring

Hitclj

A search result record as the vendor returns it.

A search result record as the vendor returns it.
sourceraw docstring

KwOptsclj

Trailing keyword options (& {:keys ...}): key/value pairs, or one map.

Trailing keyword options (`& {:keys ...}`): key/value pairs, or one map.
sourceraw docstring

NotContainsclj

One document-level tag exclusion.

One document-level tag exclusion.
sourceraw docstring

search-by-idclj

(search-by-id id)

Get a specific entry by ID from Chroma.

Get a specific entry by ID from Chroma.
sourceraw docstring

search-federatedclj

(search-federated query-text
                  &
                  {:keys [limit type project-ids exclude-tags] :or {limit 10}})

Search default memory collection + all ingest collections. Merges results, deduplicates by ID, re-ranks by distance (ascending). Returns unified result vector matching search-similar output shape.

Search default memory collection + all ingest collections.
Merges results, deduplicates by ID, re-ranks by distance (ascending).
Returns unified result vector matching search-similar output shape.
sourceraw docstring

search-similarclj

(search-similar query-text
                &
                {:keys [limit type project-ids exclude-tags query-template]
                 :or {limit 10}})

Search for memory entries similar to the query text. Routes to type-specific collection when type is provided. Fans out to all collections when type is nil. :exclude-tags — seq of tags to exclude via where-document $not_contains. :query-template overrides embeddings.query-template (:raw by default).

Search for memory entries similar to the query text.
Routes to type-specific collection when type is provided.
Fans out to all collections when type is nil.
:exclude-tags — seq of tags to exclude via where-document $not_contains.
:query-template overrides embeddings.query-template (:raw by default).
sourceraw docstring

TagSetclj

Tags or project ids as callers hold them: any sequential or a set.

Tags or project ids as callers hold them: any sequential or a set.
sourceraw docstring

WhereClauseclj

A Chroma metadata where clause, nil when no filter applies.

A Chroma metadata where clause, nil when no filter applies.
sourceraw docstring

WhereDocumentClauseclj

Document-level exclusion: one $not_contains, or an $and of several.

Document-level exclusion: one $not_contains, or an $and of several.
sourceraw docstring

WhereFiltersclj

The filters build-where-clause reads.

The filters build-where-clause reads.
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