View Source OpenAi.Run.Step.Delta.Step.DetailsToolCallsFunction (OpenAI REST API Client v0.4.4)

Provides struct and type for a Run.Step.Delta.Step.DetailsToolCallsFunction

RunStepDeltaStepDetailsToolCallsFunctionObject: type: object title: Function tool call properties:

  index:
      type: integer
      description: The index of the tool call in the tool calls array.
  id:
      type: string
      description: The ID of the tool call object.
  type:
      type: string
      description: The type of tool call. This is always going to be `function` for this type of tool call.
      enum: ["function"]
  function:
      type: object
      description: The definition of the function that was called.
      properties:
          name:
              type: string
              description: The name of the function.
          arguments:
              type: string
              description: The arguments passed to the function.
          output:
              type: string
              description: The output of the function. This will be `null` if the outputs have not been [submitted](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs) yet.
              nullable: true

required:

  - index
  - type

Summary

Types

@type t() :: %OpenAi.Run.Step.Delta.Step.DetailsToolCallsFunction{
  function: map(),
  id: String.t(),
  index: integer(),
  type: String.t()
}