OuroborosM commited on
Commit
21c6a29
·
1 Parent(s): 103546a

update prompt

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -376,9 +376,10 @@ Calculator: Useful for when you need to answer questions about math.
376
  Text To Sound: Useful when you need to convert text into sound file."""
377
 
378
 
379
- PREFIX = """Answer the following questions as best you can with details.
 
380
  You can always use tools to convert text to sound.
381
- You must always check internal vector database first and try to answer the question based on the information in internal vector database only.
382
  Only when there is no information available from vector database, you can search information by using other tools.
383
  You have access to the following tools:"""
384
 
@@ -395,7 +396,7 @@ Final Answer: the final answer to the original input question"""
395
 
396
  SUFFIX = """Begin!
397
 
398
- Question: {input}
399
  Thought:{agent_scratchpad}"""
400
 
401
  SUFFIX2 = """Begin!
 
376
  Text To Sound: Useful when you need to convert text into sound file."""
377
 
378
 
379
+ PREFIX = """You are virtual assistant and you should try your best to answer the following Request.
380
+ Your response should have detail information and explanation like a teacher.
381
  You can always use tools to convert text to sound.
382
+ You must always check internal vector database first and try to answer based on the information in internal vector database only.
383
  Only when there is no information available from vector database, you can search information by using other tools.
384
  You have access to the following tools:"""
385
 
 
396
 
397
  SUFFIX = """Begin!
398
 
399
+ Request: {input}
400
  Thought:{agent_scratchpad}"""
401
 
402
  SUFFIX2 = """Begin!