Autogen and front interface #4617
-
I am beguinner on autogen and look for creating a simple chatbot to manage conversation with the human user, I create two agent assisstant and user proxy, I think the user proxy will paly the role of taking human input and assitant the agent that will answrer the human user. it works on terminal but my issue is I don't know how to display the conevsration on the interface as streamlit. I tried assisstant.get_replay but doens't work ,... any idea |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
@peterychang didn't you do a streamlit demo? @ggae2 I'm not super familiar with streamline but I tagged one of our team members that I think has some experience with it. You might also look at how autogen studio leverages user_proxy to see more of how it might be integrated with a UI |
Beta Was this translation helpful? Give feedback.
-
I used the stable version of autogen 0.2.35 to build an Agents orchestration chat system for production environments. |
Beta Was this translation helpful? Give feedback.
-
can someone share example for autogent 0.4 with streamlit. |
Beta Was this translation helpful? Give feedback.
-
Thanks @ekzhu Sharing this example as i could not find any example. This is my first github upload as well. |
Beta Was this translation helpful? Give feedback.
@sand-stratlytics You can see my example shared below. It is 2 agent interaction flow.
Whenever user intervention is required, Flow comes to Streamlit UI and then again team resume by taking input.
Summary:
Assitant handoff to "User". There is no actual user agent under team.
termination = HandoffTermination(target="user") | TextMentionTermination("TERMINATE")
https://github.com/cbsingh05iitkgp/AutoGenWithStreamLit/blob/main/SwarmwithAssitantv8Simple.py