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 ClassesModifier and TypeInterfaceDescriptionstatic final recordHelper class to createStringthat implementsEmbeddingsInputText.static final recordHelper class to createList<String>that implementsEmbeddingsInputText. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionCreator to enable deserialization ofString.createListOfStrings(List<String> val) Creator to enable deserialization ofList<String>.
-
Method Details
-
createListOfStrings
Creator to enable deserialization ofList<String>.- Parameters:
val- the value to use- Returns:
- a new instance of
EmbeddingsInputText.ListOfStrings.
-
create
Creator to enable deserialization ofString.- Parameters:
val- the value to use- Returns:
- a new instance of
EmbeddingsInputText.InnerString.
-