Class: OpenApiSDK::Shared::QueryBody

Inherits:
Utils::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/open_api_sdk/models/shared/querybody.rb

Instance Method Summary collapse

Methods included from MetadataFields

#field, #fields, included, #marshal_json, #marshal_single

Constructor Details

#initialize(query: nil, top_k: nil) ⇒ QueryBody

Returns a new instance of QueryBody.



21
22
23
24
# File 'lib/open_api_sdk/models/shared/querybody.rb', line 21

def initialize(query: nil, top_k: nil)
  @query = query
  @top_k = top_k
end