Skip to content

[Enhancement]: refactor DefaultEmbeddingFunction class #137

@hnwyllmm

Description

@hnwyllmm

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions