The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/llamaindex-embedding-vector-none-68416 has failed.
Run started by GitHub user bujjibabukatta (triggered by bujjibabukatta).

Head commit for run:
8de1d46d81560546b2f9067458f02c230544d357 / = <[email protected]>
fix(common.ai): pre-embed nodes to fix LlamaIndexEmbeddingOperator returning 
None vectors

VectorStoreIndex._get_node_with_embedding() calls node.copy() internally
before attaching embeddings, so reading node.embedding from the original
node list after index construction always returned None.

Fix by calling embed_model.get_text_embedding_batch() before building the
index and assigning the results directly to the original node objects.
VectorStoreIndex then skips re-embedding nodes that already carry a vector.

Closes #68416

Report URL: https://github.com/apache/airflow/actions/runs/27393356985

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to