ExOpenAI.Components.CreateClassificationResponse (ex_openai.ex v1.0.0) View Source

Schema representing a CreateClassificationResponse within the OpenAI API

Link to this section Summary

Link to this section Types

Specs

t() :: %ExOpenAI.Components.CreateClassificationResponse{
  completion: String.t(),
  label: String.t(),
  model: String.t(),
  object: String.t(),
  search_model: String.t(),
  selected_examples: [
    %{document: integer(), label: String.t(), text: String.t()}
  ]
}