Package com.azure.ai.openai.models
Class ChatRequestFunctionMessage
java.lang.Object
com.azure.ai.openai.models.ChatRequestMessage
com.azure.ai.openai.models.ChatRequestFunctionMessage
A request chat message representing requested output from a configured function.
-
Constructor Summary
ConstructorsConstructorDescriptionChatRequestFunctionMessage(String name, String content) Creates an instance of ChatRequestFunctionMessage class. -
Method Summary
Modifier and TypeMethodDescriptionGet the content property: The output of the function as requested by the function call.getName()Get the name property: The name of the function that was called to produce output.
-
Constructor Details
-
ChatRequestFunctionMessage
Creates an instance of ChatRequestFunctionMessage class.- Parameters:
name- the name value to set.content- the content value to set.
-
-
Method Details
-
getName
Get the name property: The name of the function that was called to produce output.- Returns:
- the name value.
-
getContent
Get the content property: The output of the function as requested by the function call.- Returns:
- the content value.
-