Class DisabledEmbeddingModel

java.lang.Object
dev.langchain4j.model.embedding.DisabledEmbeddingModel
All Implemented Interfaces:
EmbeddingModel

public class DisabledEmbeddingModel extends Object implements EmbeddingModel
An EmbeddingModel which throws a ModelDisabledException for all of its methods

This could be used in tests, or in libraries that extend this one to conditionally enable or disable functionality.