Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace EmbedTextDetails

Details for the request to embed texts.

Properties

compartmentId

compartmentId: string

The OCID of compartment in which to call the Generative AI service to create text embeddings.

Optional inputType

inputType: InputType

Specifies the input type.

inputs

inputs: Array<string>

Provide a list of strings. 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