Member Junction
    Preparing search index...

    Interface AzureChatCompletionChoice

    Azure Chat Completion Choice

    interface AzureChatCompletionChoice {
        finish_reason: string;
        index: number;
        message: { content: string; role: string };
    }
    Index

    Properties

    finish_reason: string

    Reason the chat completion finished

    index: number

    Index of the choice

    message: { content: string; role: string }

    The chat message

    Type Declaration

    • content: string

      Message content

    • role: string

      Role of the message author