langchain/libs/community/tests/unit_tests/chains
Tomaz Bratanic 76a193decc
community[patch]: Add function response to graph cypher qa chain (#22690)
LLMs struggle with Graph RAG, because it's different from vector RAG in
a way that you don't provide the whole context, only the answer and the
LLM has to believe. However, that doesn't really work a lot of the time.
However, if you wrap the context as function response the accuracy is
much better.

btw... `union[LLMChain, Runnable]` is linting fun, that's why so many
ignores
2024-06-10 13:52:17 -07:00
..
__init__.py
test_api.py
test_graph_qa.py community[patch]: Add function response to graph cypher qa chain (#22690) 2024-06-10 13:52:17 -07:00
test_llm.py
test_pebblo_retrieval.py community[minor]: Enable retrieval api calls in PebbloRetrievalQA (#21958) 2024-06-04 10:18:50 -07:00