Contents

init(toolCalls:toolOutputs:instructionText:prompts:responses:)

Creates a structured transcript.

Declaration

init(toolCalls: [Transcript.ToolCall] = [], toolOutputs: [Transcript.ToolOutput] = [], instructionText: String = "", prompts: [String] = [], responses: [Transcript.Response] = [])

Parameters

  • toolCalls:

    The tool calls from the session.

  • toolOutputs:

    The tool outputs from the session.

  • instructionText:

    The system instructions text.

  • prompts:

    The user prompts.

  • responses:

    The model responses.