Class KnowledgeBaseModelKind

java.lang.Object
com.azure.core.util.ExpandableStringEnum<KnowledgeBaseModelKind>
com.azure.search.documents.indexes.models.KnowledgeBaseModelKind
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class KnowledgeBaseModelKind extends com.azure.core.util.ExpandableStringEnum<KnowledgeBaseModelKind>
The AI model to be used for query planning.
  • Field Details

    • AZURE_OPEN_AI

      public static final KnowledgeBaseModelKind AZURE_OPEN_AI
      Use Azure Open AI models for query planning.
  • Constructor Details

    • KnowledgeBaseModelKind

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

    • fromString

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

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