Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Method and Description |
---|---|
static EmbedTextDetails.Builder |
EmbedTextDetails.builder()
Create a new builder.
|
EmbedTextDetails.Builder |
EmbedTextDetails.Builder.compartmentId(String compartmentId)
The OCID of compartment in which to call the Generative AI service to create text
embeddings.
|
EmbedTextDetails.Builder |
EmbedTextDetails.Builder.copy(EmbedTextDetails model) |
EmbedTextDetails.Builder |
EmbedTextDetails.Builder.inputs(List<String> inputs)
Provide a list of strings.
|
EmbedTextDetails.Builder |
EmbedTextDetails.Builder.inputType(EmbedTextDetails.InputType inputType)
Specifies the input type.
|
EmbedTextDetails.Builder |
EmbedTextDetails.Builder.isEcho(Boolean isEcho)
Whether or not to include the original inputs in the response.
|
EmbedTextDetails.Builder |
EmbedTextDetails.Builder.servingMode(ServingMode servingMode) |
EmbedTextDetails.Builder |
EmbedTextDetails.toBuilder() |
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.
|
Copyright © 2016–2024. All rights reserved.