bstraehle commited on
Commit
e55f593
·
1 Parent(s): d798c18

Update rag_langchain.py

Browse files
Files changed (1) hide show
  1. rag_langchain.py +1 -1
rag_langchain.py CHANGED
@@ -130,6 +130,6 @@ class LangChainRAG(BaseRAG):
130
  )
131
 
132
  with get_openai_callback() as callback:
133
- completion = rag_chain({"question": prompt})
134
 
135
  return completion, rag_chain, callback
 
130
  )
131
 
132
  with get_openai_callback() as callback:
133
+ completion = rag_chain({"query": prompt})
134
 
135
  return completion, rag_chain, callback