I've previously built a pdf searching tool in LangChain which uses the
chain.run(input_documents=, question=)
syntax to ask the model questions along with context from that pdf.
I want to integrate this with the agents provided by langchain.
I am using the syntax agent.run('Question')
I am not able to find links to integrate the two methods.