struct

Crig::VectorStore::VectorSearchRequestBuilder(F)

Inherits Struct < Value < Object

Builder for vector search requests. This is the standard way retrieval and tool-server code construct top-N search operations.

Constructors

new(query_value : String | Nil = nil, samples_value : UInt64 | Nil = nil, threshold_value : Float64 | Nil = nil, additional_params_value : JSON::Any | Nil = nil, filter_value : F | Nil = nil)
Source

Instance methods

additional_params(params : JSON::Any) : self
Source
additional_params_value
Source
build
Source
filter(filter : F) : self
Source
filter_value
Source
query(query : String) : self
Source
query_value
Source
samples(samples : UInt64 | Int32 | Int64) : self
Source
samples_value
Source
threshold(threshold : Float32 | Float64) : self
Source
threshold_value
Source