anngvu / accent

AI-Assisted Curation/Content ENhancement Tool for Synapse (pre-alpha)
MIT License
0 stars 1 forks source link

Refactor to multi-agent system -> KGB agent #62

Open anngvu opened 1 month ago

anngvu commented 1 month ago

We currently have 6 tools but can expect to have between 10-20. Soon it would be desirable to refactor to a multi-agent setup for performance, scalability, and improved modularity. See https://platform.openai.com/docs/guides/function-calling/keep-the-number-of-functions-low-for-higher-accuracy

We recommend that you use no more than 20 functions in a single tool call. Developers typically see a reduction in the model’s ability to select the correct tool once they have between 10-20 tools.

If your use case requires the model to be able to pick between a large number of functions, you may want to explore fine-tuning (learn more) or break out the tools and group them logically to create a multi-agent system.

The current tools can be grouped into "Synapse agent" and "knowledge graph RAG agent".

Update: This will be scoped to Knowledge Graph Bot agent and a separate issue planned for Synapse agent.

anngvu commented 1 month ago

Aside for the modularity benefits and practical performance reason mentioned above, in the long run it may be better than having one same model with many tools/hats because:

However, there are a couple of things to think about: