Package com.sap.ai.sdk.orchestration.model

# Interface EmbeddingsInputText

All Known Implementing Classes:
  `EmbeddingsInputText.InnerString`, `EmbeddingsInputText.ListOfStrings`

public interface EmbeddingsInputText
Text input for which embeddings need to be generated

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final record`
  `EmbeddingsInputText.InnerString`
  Helper class to create `String` that implements `EmbeddingsInputText`.
  `static final record`
  `EmbeddingsInputText.ListOfStrings`
  Helper class to create `List<String>` that implements `EmbeddingsInputText`.

- ## Method Summary

  Static Methods
  Modifier and Type
  Method
  Description
  `static EmbeddingsInputText.InnerString`
  `create(String val)`
  Creator to enable deserialization of `String` .
  `static EmbeddingsInputText.ListOfStrings`
  `createListOfStrings(List<String> val)`
  Creator to enable deserialization of `List<String>` .

- ## Method Details

  - ### createListOfStrings

    @Nonnull static EmbeddingsInputText.ListOfStrings createListOfStrings(@Nonnull List<String> val)
    Creator to enable deserialization of `List<String>` .
    Parameters:
      `val` - the value to use
    Returns:
      a new instance of `EmbeddingsInputText.ListOfStrings`.

  - ### create

    @Nonnull static EmbeddingsInputText.InnerString create(@Nonnull String val)
    Creator to enable deserialization of `String` .
    Parameters:
      `val` - the value to use
    Returns:
      a new instance of `EmbeddingsInputText.InnerString`.