Class AzureChatExtensionsMessageContext

java.lang.Object
com.azure.ai.openai.models.AzureChatExtensionsMessageContext

public final class AzureChatExtensionsMessageContext extends Object
A representation of the additional context information available when Azure OpenAI chat extensions are involved in the generation of a corresponding chat completions response. This context information is only populated when using an Azure OpenAI request configured to use a matching extension.
  • Method Details

    • getCitations

      Get the citations property: The contextual information associated with the Azure chat extensions used for a chat completions request. These messages describe the data source retrievals, plugin invocations, and other intermediate steps taken in the course of generating a chat completions response that was augmented by capabilities from Azure OpenAI chat extensions.
      Returns:
      the citations value.
    • getIntent

      public String getIntent()
      Get the intent property: The detected intent from the chat history, used to pass to the next turn to carry over the context.
      Returns:
      the intent value.