Steven Calderon

Results 2 comments of Steven Calderon

I'm getting same error, but running: ``` from langchain.chains import RetrievalQA qa = RetrievalQA.from_chain_type( llm=llm, chain_type="stuff", retriever=index.vectorstore.as_retriever() ) query = "De que se trata el decreto 4927?" qa.run(query) ``` I...

Try this walk-around, passing the `search_kwargs={"k": MIN_DOCS}` force the doc search to use only one document, I realize that the error happens when there is only one document loaded for...