Skip to content

Milvus OpenAi embedding function #42867

Closed Answered by yhmo
Jun 20, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Insert request is received by proxy node, the proxy node calls Function.ProcessInsert() to generate embeddings here:

if err := exec.ProcessInsert(ctx, it.insertMsg); err != nil {

The implementation of TextEmbeddingFunction.ProcessInsert() is here:

texts := inputs[0].GetScalars().GetStringData().GetData()

The TextEmbeddingFunction.ProcessInsert() calls EmbeddingsProvider.CallEmbedding() here:

embds, err := runner.embProvider.CallEmbedding

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anshdavid
Comment options

Answer selected by anshdavid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants