SAP AI SDK for JavaScript - v2.8.0
    Preparing search index...

    Type Alias AzureOpenAiChatCompletionRequestUserMessage

    AzureOpenAiChatCompletionRequestUserMessage: {
        content:
            | string
            | AzureOpenAiChatCompletionRequestUserMessageContentPart[];
        name?: string;
        role: "user";
    } & Record<string, any>

    Representation of the 'AzureOpenAiChatCompletionRequestUserMessage' schema.

    Type Declaration

    • content: string | AzureOpenAiChatCompletionRequestUserMessageContentPart[]

      The contents of the user message.

    • Optionalname?: string

      An optional name for the participant. Provides the model information to differentiate between participants of the same role.

    • role: "user"

      The role of the messages author, in this case user.

      Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.