OuroborosM commited on
Commit
0d29a46
·
1 Parent(s): 881af9d

update prompt

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -368,9 +368,9 @@ Text To Sound: Useful when you need to convert text into sound file."""
368
 
369
 
370
  PREFIX = """Answer the following questions as best you can with details. You must always check internal vector database first and try to answer the question based on the information in internal vector database only.
371
- Only when there is no information available from vector database, you can search information by using another tools.
372
- You have access to the following tools:
373
- """
374
 
375
  FORMAT_INSTRUCTIONS = """Use the following format:
376
 
@@ -438,7 +438,7 @@ def chathmi2(message, history):
438
  response = output
439
  yield response
440
  if len(Audio_output) > 0:
441
- time.sleep(0.5)
442
  yield Audio_output
443
  Audio_output = []
444
  print("History: ", history)
 
368
 
369
 
370
  PREFIX = """Answer the following questions as best you can with details. You must always check internal vector database first and try to answer the question based on the information in internal vector database only.
371
+ Only when there is no information available from vector database, you can search information by using other tools.
372
+ You can always use other tools to convert text to sound.
373
+ You have access to the following tools:"""
374
 
375
  FORMAT_INSTRUCTIONS = """Use the following format:
376
 
 
438
  response = output
439
  yield response
440
  if len(Audio_output) > 0:
441
+ # time.sleep(0.5)
442
  yield Audio_output
443
  Audio_output = []
444
  print("History: ", history)