Uses of Class
dev.langchain4j.model.watsonx.WatsonxGatewayEmbeddingModel.Builder
Packages that use WatsonxGatewayEmbeddingModel.Builder
-
Uses of WatsonxGatewayEmbeddingModel.Builder in dev.langchain4j.model.watsonx
Subclasses with type arguments of type WatsonxGatewayEmbeddingModel.Builder in dev.langchain4j.model.watsonxModifier and TypeClassDescriptionstatic classBuilder class for constructingWatsonxGatewayEmbeddingModelinstances with configurable parameters.Methods in dev.langchain4j.model.watsonx that return WatsonxGatewayEmbeddingModel.BuilderModifier and TypeMethodDescriptionWatsonxGatewayEmbeddingModel.builder()Returns a newWatsonxGatewayEmbeddingModel.Builderinstance.WatsonxGatewayEmbeddingModel.Builder.dimensions(Integer dimensions) Sets the number of dimensions of the returned embeddings.WatsonxGatewayEmbeddingModel.Builder.encodingFormat(com.ibm.watsonx.ai.gateway.embedding.ModelGatewayEmbeddingParameters.EncodingFormat encodingFormat) Sets the wire format of the returned embeddings.WatsonxGatewayEmbeddingModel.Builder.encodingFormat(String encodingFormat) Sets the wire format of the returned embeddings as a raw string, for the formats thatModelGatewayEmbeddingParameters.EncodingFormatdoes not cover yet.WatsonxGatewayEmbeddingModel.Builder.listeners(List<EmbeddingModelListener> listeners) Sets theEmbeddingModelListeners notified around every embedding request.Sets the gateway embedding model id, e.g.Sets the identifier of the end user, used for abuse monitoring.