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

Head commit for run:
9a58435b94dbd5c06629ab81ef7d98156b51ad5d / AgentNero-ch <[email protected]>
fix(common-ai): pre-embed nodes so LlamaIndexEmbeddingOperator returns vectors

VectorStoreIndex._get_node_with_embedding() attaches embeddings to
*copies* of nodes (via model_copy()), never the originals. The
operator was relying on VectorStoreIndex populating
node.embedding as a side effect, which always yielded None.

Fix: call embed_model.get_text_embedding_batch() on the original
nodes before passing them to VectorStoreIndex. The index's internal
embed_nodes() skips nodes whose .embedding is already set, so
there are no duplicate API calls.

Closes #68416

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

With regards,
GitHub Actions via GitBox


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

Reply via email to