Represents a single turn in a conversation, consisting of a user message followed by an assistant response.

Example

const turnExample: TurnBlock = {
user: 'What's the weather like?',
assistant: 'It's sunny today!'
};

Hierarchy

  • TurnBlock

Properties

Properties

assistant: string

The corresponding response from the assistant.

user: string

The message content from the user.

Generated using TypeDoc