Uses of Class
com.azure.ai.openai.models.ChatMessage
Packages that use ChatMessage
-
Uses of ChatMessage in com.azure.ai.openai.models
Methods in com.azure.ai.openai.models that return ChatMessageModifier and TypeMethodDescriptionChatChoice.getDelta()Get the delta property: The delta message content for a streaming response.ChatChoice.getMessage()Get the message property: The chat message for a given chat completions prompt.ChatMessage.setContext(AzureChatExtensionsMessageContext context) Set the context property: Additional context data associated with a chat message when requesting chat completions using compatible Azure OpenAI chat extensions.ChatMessage.setFunctionCall(FunctionCall functionCall) Set the functionCall property: The name and arguments of a function that should be called, as generated by the model.Set the name property: The name of the author of this message.Methods in com.azure.ai.openai.models that return types with arguments of type ChatMessageModifier and TypeMethodDescriptionAzureChatExtensionsMessageContext.getMessages()Get the messages property: The contextual message payload associated with the Azure chat extensions used for a chat completions request.ChatCompletionsOptions.getMessages()Get the messages property: The collection of context messages associated with this chat completions request.Method parameters in com.azure.ai.openai.models with type arguments of type ChatMessageModifier and TypeMethodDescriptionAzureChatExtensionsMessageContext.setMessages(List<ChatMessage> messages) Set the messages property: The contextual message payload associated with the Azure chat extensions used for a chat completions request.Constructor parameters in com.azure.ai.openai.models with type arguments of type ChatMessageModifierConstructorDescriptionChatCompletionsOptions(List<ChatMessage> messages) Creates an instance of ChatCompletionsOptions class.