Trying to have the agent use 2 vector stores as tools during its run. The files are in different folders out of necessity and they are different formats one is text and one is pdf. Thus why I need to somehow combine or tell the agent to use both.
I tried different things but none work.Im looking for ideas. Below most logical failed attempt.
Create vectorstore info object - metadata repo?
vectorstore_info = VectorStoreInfo(
name="Guidelines",
description="QA Analysis Guidelines",
vectorstore=store
)
vectorstore_info2 = VectorStoreInfo(
name="Transcript",
description="Transcript of Call Center Agent Call",
vectorstore=call
)
Convert the document store into a langchain toolkit
toolkit = VectorStoreToolkit(vectorstore_info=[VectorStoreInfo,vectorstore_info2])
Add the toolkit to an end-to-end LC
agent_executor = create_vectorstore_agent(
llm=llm,
toolkit=toolkit,
verbose=True
)