Skip to content

Instantly share code, notes, and snippets.

@bonadio
bonadio / autogen_chat.py
Last active August 28, 2024 11:48
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>"
}
]