ExOpenAI.Components.CreateCompletionRequest (ex_openai.ex v0.2.1) View Source

Schema representing a CreateCompletionRequest within the OpenAI API

Link to this section Summary

Link to this section Types

Specs

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