How can I use my data sources, whether files or databases, with an AI agent? I always encounter problems. Is there an easy local method?
Hello @ayman2011a,
One trick with AI agents is to pass a value into a tool connected to the agent. Much of the time, the tool is simply a sub workflow copied into the tool.
Here’s an agent that references files in a google drive. the get_document tool is simply a workflow with two nodes an execution and a google doc tool.
Hope this helps!
Robert
If this answer helped solve your issue, feel free to mark it as the solution so others can benefit from it too!
Thanks @rbreen for the suggestion, That’s a clever approach. Unfortunately, I tried this with Gemini, but it didn’t work as expected. It seems like the model doesn’t handle this setup well.
Appreciate your input!
By the way, have you tried a workflow with Gemini and PostgreSQL that works without issues? I’d love to know if you have any insights on that!
Appreciate your input!
Hi @ayman2011a,
I havent used gemini, but let me give it a try! Just signed up for gemini the other day. I’ll publish it here as a workflow if I get it to work.
Best,
Robert
I got this to work with gemini. Here’s the same flow. It can be tricky to implement. Upload your workflow if you are having errors.
Best,
Robert
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.