AutoGen is a framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks.
base_url
to Portkey’s AI Gateway and then added default_headers
to enable Portkey specific features.
When we execute this script, it would yield the same results as without Portkey, but every request can now be inspected in the Portkey Analytics & Logs UI - including token, cost, accuracy calculations.