Class KnowledgeRetrievalOutputMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<KnowledgeRetrievalOutputMode>
com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalOutputMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class KnowledgeRetrievalOutputMode
extends com.azure.core.util.ExpandableStringEnum<KnowledgeRetrievalOutputMode>
The output configuration for this retrieval.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KnowledgeRetrievalOutputModeSynthesize an answer for the response payload.static final KnowledgeRetrievalOutputModeReturn data from the knowledge sources directly without generative alteration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KnowledgeRetrievalOutputModefromString(String name) Creates or finds a KnowledgeRetrievalOutputMode from its string representation.values()Gets known KnowledgeRetrievalOutputMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
EXTRACTIVE_DATA
Return data from the knowledge sources directly without generative alteration. -
ANSWER_SYNTHESIS
Synthesize an answer for the response payload.
-
-
Constructor Details
-
KnowledgeRetrievalOutputMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of KnowledgeRetrievalOutputMode value.
-
-
Method Details
-
fromString
Creates or finds a KnowledgeRetrievalOutputMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding KnowledgeRetrievalOutputMode.
-
values
Gets known KnowledgeRetrievalOutputMode values.- Returns:
- known KnowledgeRetrievalOutputMode values.
-
fromString(String)factory method.