mirror of
https://github.com/yuruotong1/autoMate.git
synced 2026-03-22 13:07:17 +08:00
update role
This commit is contained in:
@@ -37,7 +37,8 @@ class Agent:
|
||||
response = openai.chat.completions.create(
|
||||
model="gpt-3.5-turbo", # GPT-3.5 model
|
||||
messages=[
|
||||
{"role": "user", "content": self.role +","+ input_text}
|
||||
{"role": "system", "content": self.role},
|
||||
{"role": "user", "content": input_text}
|
||||
],
|
||||
temperature=0.2
|
||||
)
|
||||
|
||||
@@ -2,4 +2,4 @@ from agent.agent import Agent
|
||||
|
||||
class ManagerAgent(Agent):
|
||||
def __init__(self):
|
||||
super().__init__("你是一名总经理,负责与用户沟通需求,制定OKR中的O,并对下属的工作成果进行评估")
|
||||
super().__init__("你是一名总经理,负责与用户沟通需求,制定OKR中的O,,并对下属的工作成果进行评估")
|
||||
|
||||
Reference in New Issue
Block a user