View Source ExOpenAI.Components.FileSearchToolCall (ex_openai.ex v1.8.0)

Schema representing a FileSearchToolCall within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.FileSearchToolCall{
  id: String.t(),
  queries: [String.t()],
  results:
    [
      %{
        attributes: ExOpenAI.Components.VectorStoreFileAttributes.t(),
        file_id: String.t(),
        filename: String.t(),
        score: float(),
        text: String.t()
      }
    ]
    | nil,
  status: :failed | :incomplete | :completed | :searching | :in_progress,
  type: :file_search_call
}