Represents a user request in chat history.

Variables

read onlycommand:Null<String>

The name of the {@link ChatCommand command} that was selected for this request.

read onlyparticipant:String

The id of the chat participant to which this request was directed.

read onlyprompt:String

The prompt as entered by the user.

Information about references used in this request is stored in {@link ChatRequestTurn.references}.

Note that the {@link ChatParticipant.name name} of the participant and the {@link ChatCommand.name command} are not part of the prompt.

read onlyreferences:Array<ChatPromptReference>

The references that were used in this message.

read onlytoolReferences:ReadOnlyArray<ChatLanguageModelToolReference>

The list of tools were attached to this request.