Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: How am I able to group agents together like the travel agent example #1273

Closed
TheMindExpansionNetwork opened this issue Jan 16, 2024 · 10 comments
Labels
group chat/teams group-chat-related issues proj-studio Related to AutoGen Studio.

Comments

@TheMindExpansionNetwork

Describe the issue

I have myself a team of agents that are ready to be used but I am unable to make them inside of a workflow together.

not sure what I am missing it it how I can deploy the group like I see in the examples below.

image

this is what I see

image

Just the single-page

image

image

these are my agents.

what am I missing family

Steps to reproduce

Attempted to restart>same issue
Attempted to change the stuff in travel agent>unable to change

Just need to group them you know

Screenshots and logs

Put them between

Additional Information

Newest Studio with my local machine windows 10

@qingyun-wu
Copy link
Contributor

qingyun-wu commented Jan 16, 2024

Thanks for raising this issue! @victordibia is group chat supported in AutoGen Studio?

@victordibia
Copy link
Collaborator

victordibia commented Jan 16, 2024

Support for GroupChat is currently in development.
Expected ETA is end of this week. I'll update here once that is available.
The current travel example is predefined, however the coming updates will provide the ability to compose multiple agents into group chat (i.e. switch between basic two agents to group chat).

Roadmap for autogenstudio #737
Dedicated issue for GroupChat support #1285

@techguydev
Copy link

Thanks, I am also waiting for this, just got stuck in some test

@TheMindExpansionNetwork
Copy link
Author

Sweetness really looking forward to this amazing project

@sonichi sonichi added the group chat/teams group-chat-related issues label Jan 16, 2024
@darkness198
Copy link

For those wondering how to get group chatting to work with local models(should work fine with gpt4 also), this is how I did it after some failed tests you all seemed to run into also(note: seems to still be in development but to me seems to be working well enough now this way):

  1. Go to where autogenstudio is installed and find the "dbdefaults.json" file in the utils folder(this is what autogenstudio seems to use to initialize the sqlite db upon first startup)

  2. Copy the travel agent example object in it's entirety in the "workflows" array, add it to the array of workflows and change the name so you can identify it(I just added "Copy" to the end)

  3. Go to the "web" folder and rename "database.sqlite" to "database.sqlite.bak"(you can also delete the file I think, but this is just for safety if you already have things defined, you can switch back by just renaming the file again)

  4. restart autogenstudio and it should reload with the "Copy" workflow that was added into the dbdefaults file as a new database.sqlite file is created on startup

  5. Add your agents and edit the workflow correctly as you've probably tried to do already

  6. I kept getting an OPENAI_API_KEY error even after configuring everything correctly, this was solved by adding a "dummy" value to the OPENAI_API_KEY variable in my conda environment( in my case running on windows this was: conda env config vars set OPENAI_API_KEY=dummy) - I got this idea from a comment on a youtube video

  7. Try out the workflow in the playground

If I'm doing something weird or wrong, please excuse me devs - I just started using autogenstudio today and probably missed a lot as I was sifting through docs trying to figure it out. But this seems to work for me, as I get multiple agents seemingly replying to one another in the playground mostly as I'd expect though the delegation may not be perfect. Hope this helps.

@victordibia
Copy link
Collaborator

victordibia commented Jan 18, 2024

@darkness198 ,

Thanks for sharing your process and the feedback so far.
There is some progress on Creating new GroupChat and adding agents in autogenstudio 0.0.28a.

pip install -U autogenstudio
autogenstudio ui --appdir newdir

The expected workflow is

  • New workflow -> GroupChat
  • Modify the properties of the default group chat, add agents from the list of agenst created in the previous step
groupchatnew.mp4

Note: You might need to delete your database.sqlite file (due to some schema changes)

@techguydev
Copy link

@darkness198 ,

Thanks for sharing your process and the feedback so far. There is some progress on Creating new GroupChat and adding agents in autogenstudio 0.0.28a.

pip install -U autogenstudio

groupchatnew.mp4
Note: You might need to delete your database.sqlite file (due to some schema changes)

Thanks a lot for the hard work Victor I will try it right away.
Thanks a lot @darkness198 for the workaround, nice to have alternatives.

@victordibia
Copy link
Collaborator

@TheMindExpansionNetwork ,

Does the groupchat UI update address this issue?
If so, please feel free to close this out!

Thanks again for providing feedback and ideas towards resolution.

@TheMindExpansionNetwork
Copy link
Author

@TheMindExpansionNetwork ,

Does the groupchat UI update address this issue?
If so, please feel free to close this out!

Thanks again for providing feedback and ideas towards resolution.

Most def you all doing amazing work thanks for blessing to give me more time with my family and creating

I'll post some tutorials as progresses closing ticket

@BGW1001
Copy link

BGW1001 commented Jan 22, 2024

I have upgraded Autogen Studio - it installed autogenstudio-0.0.33a0 and the group chat manager in workflow is not there.

@victordibia victordibia added the proj-studio Related to AutoGen Studio. label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group chat/teams group-chat-related issues proj-studio Related to AutoGen Studio.
Projects
None yet
Development

No branches or pull requests

7 participants