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

Schema representing a CreateAnswerResponse within the OpenAI API

Link to this section Summary

Link to this section Types

Specs

t() :: %ExOpenAI.Components.CreateAnswerResponse{
  answers: [String.t()] | nil,
  completion: String.t() | nil,
  model: String.t() | nil,
  object: String.t() | nil,
  search_model: String.t() | nil,
  selected_documents: [%{document: integer(), text: String.t()}] | nil
}