struct

Crig::VectorStore::Vectorize::QueryRequest

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(vector : Array(Float64), top_k : UInt64, return_values : Bool | Nil = nil, return_metadata : ReturnMetadata | Nil = nil, filter : JSON::Any | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

filter
Source
filter=(filter : JSON::Any | Nil)
Source
return_metadata
Source
return_metadata=(return_metadata : ReturnMetadata | Nil)
Source
return_values
Source
return_values=(return_values : Bool | Nil)
Source
top_k
Source
top_k=(top_k : UInt64)
Source
vector
Source
vector=(vector : Array(Float64))
Source