Class OvhAiEmbeddingModel
java.lang.Object
dev.langchain4j.model.ovhai.OvhAiEmbeddingModel
- All Implemented Interfaces:
EmbeddingModel
@Deprecated(forRemoval=true,
since="1.14.0")
public class OvhAiEmbeddingModel
extends Object
implements EmbeddingModel
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated, for removal: This API element is subject to removal in a future version.embedAll(List<TextSegment> textSegments) Deprecated, for removal: This API element is subject to removal in a future version.Embeds the text content of a list of TextSegments.static OvhAiEmbeddingModelwithApiKey(String apiKey) Deprecated, for removal: This API element is subject to removal in a future version.Please usebuilder()instead, and explicitly set the baseUrl and, if necessary, other parameters.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EmbeddingModel
addListener, addListeners, dimension, embed, embed, modelName
-
Method Details
-
withApiKey
Deprecated, for removal: This API element is subject to removal in a future version.Please usebuilder()instead, and explicitly set the baseUrl and, if necessary, other parameters. The default value for baseUrl will be removed in future releases! -
builder
Deprecated, for removal: This API element is subject to removal in a future version. -
embedAll
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:EmbeddingModelEmbeds the text content of a list of TextSegments.- Specified by:
embedAllin interfaceEmbeddingModel- Parameters:
textSegments- the text segments to embed.- Returns:
- the embeddings.
-
OpenAiEmbeddingModelfromlangchain4j-open-aimodule instead