import asyncio from metagpt.roles.di.data_interpreter import DataInterpreter async def main(): di = DataInterpreter() await di.run("Run data analysis on sklearn Iris dataset, include a plot") asyncio.run(main()) # or await main() in a jupyter notebook setting