init(id:segments:toolDefinitions:)
Creates instructions that describe how you want the model to behave, in 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.