Represents a single turn in a conversation, consisting of a user message followed by an assistant response.
const turnExample: TurnBlock = { user: 'What's the weather like?', assistant: 'It's sunny today!'}; Copy
const turnExample: TurnBlock = { user: 'What's the weather like?', assistant: 'It's sunny today!'};
The corresponding response from the assistant.
The message content from the user.
Generated using TypeDoc
Represents a single turn in a conversation, consisting of a user message followed by an assistant response.
Example