ExOpenAI.Components.CreateCompletionRequest (ex_openai.ex v1.0.4) View Source

Schema representing a CreateCompletionRequest within the OpenAI API

Link to this section Summary

Link to this section Types


t() :: %ExOpenAI.Components.CreateCompletionRequest{
  best_of: integer() | nil,
  echo: boolean() | nil,
  frequency_penalty: float() | nil,
  logit_bias: map() | nil,
  logprobs: integer() | nil,
  max_tokens: integer() | nil,
  model: String.t(),
  n: integer() | nil,
  presence_penalty: float() | nil,
  prompt: any() | nil,
  stop: any() | nil,
  stream: boolean() | nil,
  suffix: String.t() | nil,
  temperature: float() | nil,
  top_p: float() | nil,
  user: String.t() | nil