ray-project / langchain-ray

Examples on how to use LangChain and Ray
Apache License 2.0
217 stars 47 forks source link

possible langchain prompt template error #17

Open allanwakes opened 1 year ago

allanwakes commented 1 year ago

Maybe I was wrong, but this line (line 72): result = self.chain({"input_documents": search_results, "question": query}) in example open_source_LLM_retrieval_qa/serve.py input_documents should be context, for context is the placeholder to use.