struct

Crig::VectorStore::VectorSearchRequest(F)

Inherits Struct < Value < Object

Request payload for vector search backends. Use VectorSearchRequest.builder for the fluent builder-style API.

Constructors

from_json(payload : String | IO) : self
Source
from_json_value(value : JSON::Any) : self
Source
new(query : String, samples : UInt64, threshold : Float64 | Nil = nil, additional_params : JSON::Any | Nil = nil, filter : F | Nil = nil)
Source

Class methods

builder

Create a fluent vector-search request builder.

Source

Instance methods

additional_params
Source
filter
Source
map_filter
Source
query
Source
samples
Source
threshold
Source
try_map_filter
Source