Skip to content

Instantly share code, notes, and snippets.

@bonadio
bonadio / autogen_chat.py
Last active May 5, 2024 06:02
Very basic implementation of Autogen with FastApi using websocket to interact with user_proxy in a web app
import autogen
from user_proxy_webagent import UserProxyWebAgent
import asyncio
config_list = [
{
"model": "gpt-3.5-turbo",
# "api_key": "<YOUR KEY HERE>"
}
]