Sha256: 4e20185d818d3346b565325f4af0daed3a84ceb2ce99ea6737e274f3f6d04701
Contents?: true
Size: 604 Bytes
Versions: 5
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true module Openai101 module Models # Parameters for the OpenAI API class CompletionParams < Openai101::Types::BaseModel # attribute :platform, :string, default: 'openai' attribute :model, :string attribute :prompt, :string attribute :temperature, :float, default: 1.0 attribute :max_tokens, :integer, default: 256 attribute :top_p, :float, default: 1.0 attribute :best_of, :integer, default: 1 attribute :frequency_penalty, :float, default: 0.0 attribute :presence_penalty, :float, default: 0.0 end end end
Version data entries
5 entries across 5 versions & 1 rubygems