mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-25 16:56:26 +02:00
16 lines
339 B
Python
16 lines
339 B
Python
#!/usr/bin/env python
|
|
|
|
import asyncio
|
|
|
|
from metagpt.roles.researcher import RESEARCH_PATH, Researcher
|
|
|
|
|
|
async def main():
|
|
topic = "dataiku vs. datarobot"
|
|
role = Researcher(language="en-us")
|
|
await role.run(topic)
|
|
print(f"save report to {RESEARCH_PATH / f'{topic}.md'}.")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(main())
|