Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace EmbedTextDetails

Details for the request to embed texts.

Properties

compartmentId

compartmentId: string

The OCID of compartment that the user is authorized to use to call into the Generative AI service.

Optional inputType

inputType: InputType

Specifies the input type.

inputs

inputs: Array<string>

Provide a list of strings with a maximum number of 96 entries. Each string can be words, a phrase, or a paragraph. The maximum length of each string entry in the list is 512 tokens.

Optional isEcho

isEcho: undefined | false | true

Whether or not to include the original inputs in the response. Results are index-based.

servingMode

Optional truncate

truncate: Truncate

For an input that's longer than the maximum token length, specifies which part of the input text will be truncated.

Functions

getDeserializedJsonObj

getJsonObj