Contents

init(id:segments:toolDefinitions:)

Initialize instructions by describing how you want the model to behave using natural language.

Declaration

init(id: String = UUID().uuidString, segments: [Transcript.Segment], toolDefinitions: [Transcript.ToolDefinition])

Parameters

  • id:

    A unique identifier for this instructions segment.

  • segments:

    An array of segments that make up the instructions.

  • toolDefinitions:

    Tools that the model should be allowed to call.