Interface CompletionChoice

Choice represents an object that contains a result choice.

interface CompletionChoice {
    index: number;
    text: string;
}

Properties

Properties

index: number

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

text: string

text represents the generated text for this choice.