Files
autoMate/main.py
yuruo 83d7bda8a9 new
2024-01-20 18:51:28 +08:00

21 lines
573 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from agent.manager_agent import ManagerAgent
from work_principle.okr_principle import OKR_Object
class AutoMate:
def __init__(self):
pass
def rule_define(self):
# o_kr = OKR_Object(input("请输入任务: "))
o_kr = OKR_Object("对比一下copilot和curson谁更好用比较提示词数量、安装易用性给出不少于100字的文章")
ManagerAgent().optimization_Object(o_kr)
if __name__ == "__main__":
automator = AutoMate()
automator.rule_define()
# print(automator.call_chatgpt_api("Hello"))