ExOpenAI.Components.CreateChatCompletionRequest (ex_openai.ex v1.0.2) View Source

Schema representing a CreateChatCompletionRequest within the OpenAI API

Link to this section Summary

Link to this section Types

Specs

t() :: %ExOpenAI.Components.CreateChatCompletionRequest{
  frequency_penalty: float(),
  logit_bias: map(),
  max_tokens: integer(),
  messages: [ExOpenAI.Components.ChatCompletionRequestMessage.t()],
  model: String.t(),
  n: integer(),
  presence_penalty: float(),
  stop: any(),
  stream: boolean(),
  temperature: float(),
  top_p: float(),
  user: String.t()
}