Naposledy aktivní 1728774611

Revize b904d19a7bb75408a68f1f3e0d2689b0769f1786

MetaGPT-readme-5.py Raw
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