Sha256: 360857c63fd9c4cc42184b6fbdafb37474eb78e5135dbe6e2f4935bc4a4e76ae

Contents?: true

Size: 778 Bytes

Versions: 1

Compression:

Stored size: 778 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

    class QueryBody < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The query you want to received embeddings adn chunks for
      field :query, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('query') } }
      # The number of most appropriate documents for your query.
      field :top_k, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('topK') } }


      sig { params(query: ::String, top_k: T.nilable(::Float)).void }
      def initialize(query: nil, top_k: nil)
        @query = query
        @top_k = top_k
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/shared/querybody.rb