Class ChatRequestFunctionMessage

java.lang.Object
com.azure.ai.openai.models.ChatRequestMessage
com.azure.ai.openai.models.ChatRequestFunctionMessage

public final class ChatRequestFunctionMessage extends ChatRequestMessage
A request chat message representing requested output from a configured function.
  • Constructor Details

    • ChatRequestFunctionMessage

      public ChatRequestFunctionMessage(String name, String content)
      Creates an instance of ChatRequestFunctionMessage class.
      Parameters:
      name - the name value to set.
      content - the content value to set.
  • Method Details

    • getName

      public String getName()
      Get the name property: The name of the function that was called to produce output.
      Returns:
      the name value.
    • getContent

      public String getContent()
      Get the content property: The output of the function as requested by the function call.
      Returns:
      the content value.