Actually I think I may have it, if I write it to be an assistant like this
agent = OpenAIAssistantAgent.from_new(
name="Test Assistant",
instructions="You are a QA assistant designed to answer the question",
tools=query_engine_tools, gmail
instructions_prefix="x",
verbose=True,
run_retrieve_sleep_time=1.0,
)
and init query engine tools with my current vector store and docs
testengine = index.as_query_engine(chat_mode="condense_question", verbose=True)
query_engine_tools = [
QueryEngineTool(
query_engine=testengine,
metadata=ToolMetadata(
name="testenginequery",
description=(
"Provides information for test engine "
),
),
)]
The agent should be access the vector story (as a query engine) as well as any other agent tools in a sense?