Zuletzt aktiv 1728774611

MetaGPT-readme-5.py Orginalformat
1import asyncio
2from metagpt.roles.di.data_interpreter import DataInterpreter
3
4async def main():
5 di = DataInterpreter()
6 await di.run("Run data analysis on sklearn Iris dataset, include a plot")
7
8asyncio.run(main()) # or await main() in a jupyter notebook setting