Liking cljdoc? Tell your friends :D

semantic-router-clj.layer


get-layerclj

(get-layer layer-ns)

Return the layer associated with the given layer-ns, or nil if not found.

Return the layer associated with the given layer-ns, or nil if not found.
raw docstring

layerclj

(layer
  layer-ns
  &
  {:keys [threshold model aggregation-method]
   :or {threshold 0 model "text-embedding-3-small" aggregation-method :mean}})

Creates a layer with the given settings: layer-ns, threshold, model, and aggregation-method.

Creates a layer with the given settings: layer-ns, threshold, model, and aggregation-method.
raw docstring

layer-indexclj


update-layerclj

(update-layer layer-ns
              &
              {:keys [_threshold _model _aggregation-method] :as layer})

Updates a layer with the given settings: layer-ns, threshold, model, and aggregation-method.

Updates a layer with the given settings: layer-ns, threshold, model, and aggregation-method.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close