Databricks SDK for JavaScript
    Preparing search index...
    interface V1ResponseChoiceElement {
        finishReason?: string;
        index?: number;
        logprobs?: number;
        message?: ChatMessage;
        text?: string;
    }
    Index

    Properties

    finishReason?: string

    The finish reason returned by the endpoint.

    index?: number

    The index of the choice in the chat or completions response.

    logprobs?: number

    The logprobs returned only by the completions endpoint.

    message?: ChatMessage

    The message response from the chat endpoint.

    text?: string

    The text response from the completions endpoint.