Interface EmbeddingModel
- All Known Implementing Classes:
EmbeddingModelImpl
Deprecated.
in favor of Spring AI. This API will be replaced by Spring AI integration.
Interface for embedding text with OCI GenAI Service.
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.oracle.bmc.generativeaiinference.responses.EmbedTextResponseDeprecated.Embeds a single line of text.List<com.oracle.bmc.generativeaiinference.responses.EmbedTextResponse> Deprecated.Embeds a list of text inputs.fromResponse(com.oracle.bmc.generativeaiinference.responses.EmbedTextResponse response) Deprecated.Convert an EmbedTextResponse to a list of embedding vectors.fromResponses(List<com.oracle.bmc.generativeaiinference.responses.EmbedTextResponse> responses) Deprecated.Convert a list of EmbedTextResponses to a list of embedding vectors.
-
Method Details
-
embedAll
-
embed
Deprecated.Embeds a single line of text.- Parameters:
text- Text to embed.- Returns:
- The EmbedTextResponse for the input.
-
fromResponse
-
fromResponses
-