Member Junction
    Preparing search index...

    Interface AzureChatCompletionChunkChoice

    Azure Chat Completion Chunk Choice

    interface AzureChatCompletionChunkChoice {
        delta: { content?: string; role?: string };
        finish_reason: string;
        index: number;
    }
    Index

    Properties

    delta: { content?: string; role?: string }

    Delta content for streaming

    Type Declaration

    • Optionalcontent?: string

      Message content (may be empty or partial)

    • Optionalrole?: string

      Role of the message author (only in first chunk)

    finish_reason: string

    Reason the chat completion finished (only in last chunk)

    index: number

    Index of the choice