View Source ExOpenAI.Components.AssistantObject (ex_openai.ex v1.7.0)

Schema representing a AssistantObject within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.AssistantObject{
  created_at: integer(),
  description: String.t(),
  id: String.t(),
  instructions: String.t(),
  metadata: map(),
  model: String.t(),
  name: String.t(),
  object: :assistant,
  response_format:
    ExOpenAI.Components.AssistantsApiResponseFormatOption.t() | nil,
  temperature: float() | nil,
  tool_resources:
    %{
      code_interpreter: %{file_ids: [String.t()]},
      file_search: %{vector_store_ids: [String.t()]}
    }
    | nil,
  tools: [map()],
  top_p: float() | nil
}