ruturajgh

Results 2 comments of ruturajgh

hey thanks, your solution works, but i made some changes with the conversational chain imports and passed the filter arguments along with the inputs object, incase i have to search...

> Try this > > ``` > chain = ConversationalRetrievalChain.from_llm( > OpenAI(temperature=0), > docsearch.as_retriever(search_kwargs={'filter': {'source':'pdfname'}}), > memory=memory > ) > print(chain({'question':query})) > ``` hey thanks, your solution works, but i...