Class AzureCognitiveSearchQueryType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<AzureCognitiveSearchQueryType>
com.azure.ai.openai.models.AzureCognitiveSearchQueryType

public final class AzureCognitiveSearchQueryType extends com.azure.core.util.ExpandableStringEnum<AzureCognitiveSearchQueryType>
The type of Azure Cognitive Search retrieval query that should be executed when using it as an Azure OpenAI chat extension.
  • Field Details

  • Constructor Details

    • AzureCognitiveSearchQueryType

      @Deprecated public AzureCognitiveSearchQueryType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of AzureCognitiveSearchQueryType value.
  • Method Details

    • fromString

      public static AzureCognitiveSearchQueryType fromString(String name)
      Creates or finds a AzureCognitiveSearchQueryType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding AzureCognitiveSearchQueryType.
    • values

      public static Collection<AzureCognitiveSearchQueryType> values()
      Gets known AzureCognitiveSearchQueryType values.
      Returns:
      known AzureCognitiveSearchQueryType values.