VRSEN / agency-swarm

The only reliable agent framework built on top of the latest OpenAI Assistants API.
https://vrsen.github.io/agency-swarm/
MIT License
2.64k stars 696 forks source link

Agents ability to read file using retrieval tool and file upload with Assistants API #21

Closed TerminalGravity closed 10 months ago

TerminalGravity commented 10 months ago

I've tried to run a swarm with a DeveloperAgent to access a JSON file. I initialized the swarm and ran the gradio demo from a colab notebook. Before i started the Gradio demo with the agency I uploaded the files to the DeveloperAgent on the OpenAI assistants API playground as well as turning on retrieval. I realize that's not exactly how 'agency-swarm' is designed to operate however, how can the Assistants API be utilized fully in a swarm?

Has anyone got their agents to read files?

VRSEN commented 10 months ago

You need to add clear instructions, for example "Make sure to answer all AI related questions using your knowledge base from myfiles_browser tool"