Find answers from the community

Updated 7 months ago

Chat

Also, does anybody know if I can load react tools inside as_chat_engine()?
L
Y
3 comments
Uhhh no (not sure what this means really πŸ˜…)

You can give tools when creating the agent using from_tools()

as_chat_engine is just for quickly creating an agent with a single tool (the index)
Okay I’m understanding now. If I’m using react.from_tools, how do I load the index?
you can create a QueryEngineTool and give it to the agent (or you can wrap any function into a FunctionTool)
Add a reply
Sign up and join the conversation on Discord