mirror of
https://github.com/onestardao/WFGY.git
synced 2026-04-28 03:29:51 +00:00
LangChain: Add on_chain_start to capture query embedding before on_retriever_end fires in RetrievalQA flow. on_llm_start retained as fallback for non-chain invocations. LlamaIndex: Double guard on source_nodes — check both attribute existence AND non-empty list before computing average ΔS, preventing ZeroDivisionError on responses without retrieved nodes. Addresses Codex automated review feedback |
||
|---|---|---|
| .. | ||
| langchain | ||
| llamaindex | ||