Interface Embedding
- All Known Implementing Classes:
Embedding.ArrayOfFloats,Embedding.InnerEmbeddingMultiFormat,Embedding.InnerString
public interface Embedding
Embedding
-
Nested Class Summary
Nested Classes -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Embedding.InnerStringCreator to enable deserialization ofString.static Embedding.ArrayOfFloatscreateArrayOfFloats(float[] val) Creator to enable deserialization offloat[].Creator to enable deserialization ofEmbeddingMultiFormat.
-
Method Details
-
createArrayOfFloats
Creator to enable deserialization offloat[].- Parameters:
val- the value to use- Returns:
- a new instance of
Embedding.ArrayOfFloats.
-
create
Creator to enable deserialization ofString.- Parameters:
val- the value to use- Returns:
- a new instance of
Embedding.InnerString.
-
createInnerEmbeddingMultiFormat
@Nonnull static Embedding.InnerEmbeddingMultiFormat createInnerEmbeddingMultiFormat(@Nonnull EmbeddingMultiFormat val) Creator to enable deserialization ofEmbeddingMultiFormat.- Parameters:
val- the value to use- Returns:
- a new instance of
Embedding.InnerEmbeddingMultiFormat.
-