This repository was archived by the owner on Jun 15, 2026. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Does IEmbeddingGenerator need an endpoint? Is it possible to use our own embedding model locally to generate embedding? Similar to what we do with Semantic Kernel.
var kernel = Kernel.CreateBuilder()
.AddOnnxRuntimeGenAIChatCompletion("phi-3", modelPath)
.AddBertOnnxEmbeddingGenerator(
onnxModelPath: @"C:\ai-models\bge-micro-v2\onnx\model.onnx",
vocabPath: @"C:\ai-models\bge-micro-v2\vocab.txt")
.Build();
All reactions