Contents

init(id:_:)

Creates a collection that contains the tool calls you provide.

Declaration

init<S>(id: String = UUID().uuidString, _ calls: S) where S : Sequence, S.Element == Transcript.ToolCall

Parameters

  • id:

    A unique identifier for the collection of tool calls.

  • calls:

    The tool calls to include, in the order the model generates them.