Uses of Class
com.azure.ai.openai.models.ChatRequestAssistantMessage
Packages that use ChatRequestAssistantMessage
-
Uses of ChatRequestAssistantMessage in com.azure.ai.openai.models
Methods in com.azure.ai.openai.models that return ChatRequestAssistantMessageModifier and TypeMethodDescriptionstatic ChatRequestAssistantMessageChatRequestAssistantMessage.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ChatRequestAssistantMessage from the JsonReader.ChatRequestAssistantMessage.setFunctionCall(FunctionCall functionCall) Set the functionCall property: The function call that must be resolved and have its output appended to subsequent input messages for the chat completions request to resolve as configured.Set the name property: An optional name for the participant.ChatRequestAssistantMessage.setRefusal(String refusal) Set the refusal property: The refusal message by the assistant.ChatRequestAssistantMessage.setToolCalls(List<ChatCompletionsToolCall> toolCalls) Set the toolCalls property: The tool calls that must be resolved and have their outputs appended to subsequent input messages for the chat completions request to resolve as configured.