You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community/chains/graph_qa
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
3 months ago
..
__init__.py multiple: langchain 0.2 in master (#21191) 5 months ago
arangodb.py multiple: langchain 0.2 in master (#21191) 5 months ago
base.py multiple: langchain 0.2 in master (#21191) 5 months ago
cypher.py community[patch]: Add function response to graph cypher qa chain (#22690) 3 months ago
cypher_utils.py multiple: langchain 0.2 in master (#21191) 5 months ago
falkordb.py multiple: langchain 0.2 in master (#21191) 5 months ago
gremlin.py multiple: langchain 0.2 in master (#21191) 5 months ago
hugegraph.py multiple: langchain 0.2 in master (#21191) 5 months ago
kuzu.py [community][graph]: Update KuzuQAChain and docs (#21218) 4 months ago
nebulagraph.py multiple: langchain 0.2 in master (#21191) 5 months ago
neptune_cypher.py multiple: langchain 0.2 in master (#21191) 5 months ago
neptune_sparql.py multiple: langchain 0.2 in master (#21191) 5 months ago
ontotext_graphdb.py multiple: langchain 0.2 in master (#21191) 5 months ago
prompts.py [community][graph]: Update KuzuQAChain and docs (#21218) 4 months ago
sparql.py multiple: langchain 0.2 in master (#21191) 5 months ago