fiatrete / OpenDAN-Personal-AI-OS

OpenDAN is an open source Personal AI OS , which consolidates various AI modules in one place for your personal use.
https://opendan.ai
MIT License
1.64k stars 132 forks source link

Agent Jarvis has been refactored to use functions of ChatGPT #24

Open fiatrete opened 1 year ago

fiatrete commented 1 year ago

Check it out and have a play!

The introduction of functions in the ChatGPT 0613 updates has resulted in a significant productivity boost. I'm confident that many products based on ChatGPT will undergo major transformations as a result. Refactoring Jarvis with functions was a seamless process, and I anticipate that this will become the standard approach for developing Agents based on LLMs. I look forward to other open-source LLMs catching up quickly.

Post-refactoring, Jarvis has exhibited a notable improvement in response speed. Its selection of functional modules has become more accurate and stable, with fewer errors. Interestingly, token consumption has also decreased. This could likely be attributed to OpenAI employing a specialized method for compressing function schemas.

This is just the first version of the functions feature. Currently, ChatGPT can only choose between formatted returns and natural language returns. It would be even better if natural language descriptions could be included alongside formatted returns.

On a broader scale, the functions feature has simplified the development of Agents. However, this convenience ties developers ever more closely to OpenAI. I hope that open-source LLMs will keep pace to avoid a "Big Brother" situation in the AI world.