Closed m1o9h9o9r closed 1 year ago
If I understand correctly, the default is set to search for 4 most relevant docs. Is it possible to change this somehow?
Yep, it is:
default is k=4, but you can change it:
chain = VectorDBQAWithSourcesChain.from_llm( llm=OpenAI(temperature=0, verbose=True), vectorstore=store, k=10)
If I understand correctly, the default is set to search for 4 most relevant docs. Is it possible to change this somehow?