Memvid::AskRequest
Inherits JSON::Serializable < Reference < Object
Ask request parameters.
Constructors
new(pull : JSON::PullParser)
Sourcenew(question : String, top_k : Int32 = 10, snippet_chars : Int32 = 200, uri : Nil | String = nil, scope : Nil | String = nil, cursor : Nil | String = nil, start : Int64 | Nil = nil, end_time : Int64 | Nil = nil, context_only : Bool = true, mode : Memvid::AskMode = AskMode::Hybrid, as_of_frame : UInt64 | Nil = nil, as_of_ts : Int64 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
as_of_frame
Sourceas_of_ts
Sourcecontext_only
Sourcecursor
Sourceend_time
Sourcemode
Sourcemode=(mode : AskMode)
Sourcequestion
Sourcescope
Sourcesnippet_chars
Sourcestart
Sourcetop_k
Sourceuri
Source