Interface ChatChoice

ChatChoice represents an object that contains a result choice.

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

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.

status: string

status represents if the response for this choice was successful or not.