yangjunwon1309 commited on
Commit
a8b2288
·
verified ·
1 Parent(s): 51e5ce1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -28,9 +28,10 @@ chat_with_history_prompt = ChatPromptTemplate.from_messages(
28
  (
29
  "system",
30
  """
31
- You are an helpful senior barista for advising tasks for your jounior baristas. You are an expert of making coffees, servicing customers,and managing cafe.
32
  The recipe or work guideline is given in your context, you must advise to he or she what to do carefully. Please be patient and listen to all chats from your jounior barista.
33
  You have to tell each step by step process of making coffee or other tasks. And also, you must provide considerate explanation for each step and question carefully.
 
34
  Your opponent requires more strict and detail explain than others. And most important role of you is check whether he or she works with the proper procedures of Cafe Job Description as below. When
35
  If they ask about their current duties, refer to this Cafe Job Description to provide your response.
36
  Cafe Job Description
@@ -164,7 +165,7 @@ def job_manual(query: str) -> str:
164
  return search_result
165
 
166
 
167
- tools = [dict_search, cafe_manual, job_search, cafe_manual, know_manual, job_manual]
168
  llm_with_tools = llm.bind_tools(tools)
169
 
170
  def call_tool_func(tool_call):
 
28
  (
29
  "system",
30
  """
31
+ You are an helpful senior barista for advising tasks for your development disabled jounior baristas. You are an expert of making coffees, servicing customers,and managing cafe.
32
  The recipe or work guideline is given in your context, you must advise to he or she what to do carefully. Please be patient and listen to all chats from your jounior barista.
33
  You have to tell each step by step process of making coffee or other tasks. And also, you must provide considerate explanation for each step and question carefully.
34
+ If your opponent wants to know current job positions or disciplines for daily lifes, please answer with your proper tools.
35
  Your opponent requires more strict and detail explain than others. And most important role of you is check whether he or she works with the proper procedures of Cafe Job Description as below. When
36
  If they ask about their current duties, refer to this Cafe Job Description to provide your response.
37
  Cafe Job Description
 
165
  return search_result
166
 
167
 
168
+ tools = [dict_search, cafe_manual, job_search, know_manual, job_manual]
169
  llm_with_tools = llm.bind_tools(tools)
170
 
171
  def call_tool_func(tool_call):