Interface ChatChoice

ChatChoice represents an object that contains a result choice.

interface ChatChoice {
    index: number;
    message: ChatMessage;
}

Properties

Properties

index: number

index represents the index position in the collection for this choice.

message: ChatMessage

message represents the message response for this choice.