Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Method and Description |
---|---|
static EmbedTextDetails.Truncate |
EmbedTextDetails.Truncate.create(String key) |
EmbedTextDetails.Truncate |
EmbedTextDetails.getTruncate()
For an input that’s longer than the maximum token length, specifies which part of the input
text will be truncated.
|
static EmbedTextDetails.Truncate |
EmbedTextDetails.Truncate.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmbedTextDetails.Truncate[] |
EmbedTextDetails.Truncate.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EmbedTextDetails.Builder |
EmbedTextDetails.Builder.truncate(EmbedTextDetails.Truncate truncate)
For an input that’s longer than the maximum token length, specifies which part of the
input text will be truncated.
|
Constructor and Description |
---|
EmbedTextDetails(List<String> inputs,
ServingMode servingMode,
String compartmentId,
Boolean isEcho,
EmbedTextDetails.Truncate truncate,
EmbedTextDetails.InputType inputType)
Deprecated.
|
Copyright © 2016–2024. All rights reserved.