Package com.azure.ai.openai.models
Class PredictionContentType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PredictionContentType>
com.azure.ai.openai.models.PredictionContentType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class PredictionContentType
extends com.azure.core.util.ExpandableStringEnum<PredictionContentType>
The types of predicted content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PredictionContentTypePredicted content is of type content. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PredictionContentTypefromString(String name) Creates or finds a PredictionContentType from its string representation.static Collection<PredictionContentType> values()Gets known PredictionContentType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
CONTENT
Predicted content is of type content.
-
-
Constructor Details
-
PredictionContentType
Deprecated.Use thefromString(String)factory method.Creates a new instance of PredictionContentType value.
-
-
Method Details
-
fromString
Creates or finds a PredictionContentType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PredictionContentType.
-
values
Gets known PredictionContentType values.- Returns:
- known PredictionContentType values.
-
fromString(String)factory method.