GenerationMethod Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. contentunderstanding. models. GenerationMethod
- com.
- com.
public final class GenerationMethod
extends ExpandableStringEnum<GenerationMethod>
Generation method.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Generation |
CLASSIFY
Values are classified against a predefined set of categories. |
|
static final
Generation |
EXTRACT
Values are extracted as they appear in the content. |
|
static final
Generation |
GENERATE
Values are generated freely based on the content. |
Constructor Summary
| Constructor | Description |
|---|---|
| GenerationMethod() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Generation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Generation |
fromString(String name)
Creates or finds a Generation |
|
static
Collection<Generation |
values()
Gets known Generation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CLASSIFY
public static final GenerationMethod CLASSIFY
Values are classified against a predefined set of categories.
EXTRACT
public static final GenerationMethod EXTRACT
Values are extracted as they appear in the content.
GENERATE
public static final GenerationMethod GENERATE
Values are generated freely based on the content.
Constructor Details
GenerationMethod
@Deprecated
public GenerationMethod()
Deprecated
Creates a new instance of GenerationMethod value.
Method Details
fromString
public static GenerationMethod fromString(String name)
Creates or finds a GenerationMethod from its string representation.
Parameters:
Returns:
values
public static Collection<GenerationMethod> values()
Gets known GenerationMethod values.
Returns: