dev.langchain4j.model.embedding.onnx.allminilml6v2q.AllMiniLmL6V2QuantizedEmbeddingModelFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of langchain4j-embeddings-all-minilm-l6-v2-q Show documentation
Show all versions of langchain4j-embeddings-all-minilm-l6-v2-q Show documentation
In-process all-minilm-l6-v2 (quantized) embedding model
package dev.langchain4j.model.embedding.onnx.allminilml6v2q;
import dev.langchain4j.model.embedding.EmbeddingModel;
import dev.langchain4j.spi.model.embedding.EmbeddingModelFactory;
public class AllMiniLmL6V2QuantizedEmbeddingModelFactory implements EmbeddingModelFactory {
@Override
public EmbeddingModel create() {
return new AllMiniLmL6V2QuantizedEmbeddingModel();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy