Spaces:
Paused
Paused
netman19731
commited on
Commit
•
90a4da1
1
Parent(s):
0c248c0
Update app.py
Browse files
app.py
CHANGED
@@ -26,8 +26,8 @@ model = ChatOpenAI(model="gpt-3.5-turbo-1106",api_key="sk-euL5je1PHBubW4xNio3hT3
|
|
26 |
|
27 |
|
28 |
prompt = ChatPromptTemplate.from_messages([
|
29 |
-
("system", "
|
30 |
-
("
|
31 |
])
|
32 |
@tool(return_direct=True)
|
33 |
def chushi(query: str)->str:
|
|
|
26 |
|
27 |
|
28 |
prompt = ChatPromptTemplate.from_messages([
|
29 |
+
("system", "你是一个餐厅经理,你叫唐僧,能为顾客提供服务,你有三个员工,分别是:厨师八戒,侍者沙僧,收银悟空,你需要根据顾客的需求,分别向员工下达指令,你和员工的对话也要同步显示给顾客,当收银结束后,服务全部结束。除了顾客关于食物的问题,其他问题你要委婉的拒绝回答"),
|
30 |
+
("human", "{input}")
|
31 |
])
|
32 |
@tool(return_direct=True)
|
33 |
def chushi(query: str)->str:
|