jgravelle / AutoGroq

AutoGroq is a groundbreaking tool that revolutionizes the way users interact with Autogen™ and other AI assistants. By dynamically generating tailored teams of AI agents based on your project requirements, AutoGroq eliminates the need for manual configuration and allows you to tackle any question, problem, or project with ease and efficiency.
https://autogroq.streamlit.app/
1.21k stars 423 forks source link

headsup: newest autogenstudio changes the db tables #37

Closed scruffynerf closed 4 weeks ago

scruffynerf commented 1 month ago

@jgravelle in trying to track down a bug in AutogenStudio, I updated to the very latest code

https://pypi.org/project/autogenstudio/0.0.56rc12/ pip install autogenstudio==0.0.56rc12

ignore that current code claims to be 0.0.56, but is dated March 21st, the above is May30th

This stuff is all related to the new changes from this issue: https://github.com/microsoft/autogen/pull/2425 which went live 3 weeks ago, but the code hasn't been updated for pip/etc yet (due to the version issue above)

The database.sqlite tables changed, which confused the hell out of me, cause the old tables were there, but unused. (ie autogenstudio suddenly lost all of my data, but it was in db still)

Tables changed quite a bit, not merely the names (which went from multiples like skills to skill) so you'll have to change it all soonish.

Best answer: unless they write a conversion from old to new, export everything to json files and then blow your old db away (or move/rename it, if you don't live on the edge), and then update and run autogenstudio and let it make the new db with just the new tables. The effect of running the new code with a older DB is it makes a mess, and you end up both old and new tables.

jgravelle commented 1 month ago

Well, I mean, if I'll HAVE to... 😎

-jjg

On Sun, Jun 2, 2024 at 6:18 PM scruffynerf @.***> wrote:

@jgravelle https://github.com/jgravelle in trying to track down a bug in AutogenStudio, I updated to the very latest code

https://pypi.org/project/autogenstudio/0.0.56rc12/ pip install autogenstudio==0.0.56rc12

ignore that current code claims to be 0.0.56, but is dated March 21st, the above is May30th

This stuff is all related to the new changes from this issue: microsoft/autogen#2425 https://github.com/microsoft/autogen/pull/2425 which went live 3 weeks ago, but the code hasn't been updated for pip/etc yet (due to the version issue above)

The database.sqlite tables changed, which confused the hell out of me, cause the old tables were there, but unused. (ie autogenstudio suddenly lost all of my data, but it was in db still)

Tables changed quite a bit, not merely the names (which went from multiples like skills to skill) so you'll have to change it all soonish.

— Reply to this email directly, view it on GitHub https://github.com/jgravelle/AutoGroq/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ6GXDTPL6RY5E7J45AZVLZFOR4RAVCNFSM6AAAAABIVOLP3OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDSOJQHE3DIOA . You are receiving this because you were mentioned.Message ID: @.***>

scruffynerf commented 1 month ago

Suggestion (I'm working thru the above needed changes and doing research into improvements):

I've been having issues with the autogen chatgroup not correctly handling the workflow of who should be next, etc.

Looking at https://microsoft.github.io/autogen/blog/2023/12/29/AgentDescriptions The description field of the agent should be an objective ("this agent is", not "you are") short idea/summary the workflow mod can use to decide who to call on. It defaults to the system message, which is bad, as that's usually 'You are' style prompts.

Your autogroq moderator bot is similar.

jgravelle commented 1 month ago

Looking at https://microsoft.github.io/autogen/blog/2023/12/29/AgentDescriptions The description field of the agent should be an objective ("this agent is", not "you are") ...

Good call. Done... -jjg

PS: https://discord.gg/Yp77yCU3

scruffynerf commented 1 month ago

Good call. Done... -jjg

Um, not sure that's right (given the commit I just saw to the prompts)... will discuss. It's important to realize that "system prompt" is the prompt for the model "You are..." and prompts the LLM to do XYZ tasks, but description should be a simple summary like "This agent, XYZ doer, is responsible for X, Y, and Z tasks."

I'm trying to work on pieces so I can do separate PRs, so you making changes to main branch is a bit difficult. Hazards of one dev vs inviting others to help.

jgravelle commented 1 month ago

If the impact turns out to be negative, I'll roll it back. In beta, every user is a g̶u̶i̶n̶e̶a̶ p̶i̶g̶ quality control analyst...

On Wed, Jun 5, 2024 at 1:38 PM scruffynerf @.***> wrote:

Good call. Done... -jjg

Um, not sure that's right (given the commit I just saw to the prompts)... will discuss. It's important to realize that "system prompt" is the prompt for the model "You are..." and prompts the LLM to do XYZ tasks, but description should be a simple summary like "This agent, XYZ doer, is responsible for X, Y, and Z tasks."

I'm trying to work on pieces so I can do separate PRs, so you making changes to main branch is a bit difficult. Hazards of one dev vs inviting others to help.

— Reply to this email directly, view it on GitHub https://github.com/jgravelle/AutoGroq/issues/37#issuecomment-2150712566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ6GXGRAUEXUIARUI5EZ23ZF5LJ5AVCNFSM6AAAAABIVOLP3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJQG4YTENJWGY . You are receiving this because you were mentioned.Message ID: @.***>