Description
DefaultEmbeddingFunction is the default embedding function. It use onnxruntime to execute all-MiniLM-L6-v2 model that downloaded from hugging-face.
We can split DefaultEmbeddingFunction to two classes, one executing ONNX model based on onnxruntime (let's say OnnxEmbeddingFunction) and the other just calling OnnxEmbeddingFunction to execute all-MiniLM-L6-v2 model.
Description
DefaultEmbeddingFunctionis the default embedding function. It useonnxruntimeto executeall-MiniLM-L6-v2model that downloaded from hugging-face.We can split
DefaultEmbeddingFunctionto two classes, one executing ONNX model based ononnxruntime(let's sayOnnxEmbeddingFunction) and the other just callingOnnxEmbeddingFunctionto executeall-MiniLM-L6-v2model.