Spaces:
Runtime error
Runtime error
Commit
·
2e6d65c
1
Parent(s):
7206363
prompt update
Browse files
app.py
CHANGED
@@ -300,10 +300,7 @@ index = pinecone.Index(index_name)
|
|
300 |
# print(pinecone.whoami())
|
301 |
# print(index.describe_index_stats())
|
302 |
|
303 |
-
|
304 |
-
Only when there is no information available from vector database, you can search information by using another tools.
|
305 |
-
You have access to the following tools:
|
306 |
-
|
307 |
Vector Database Search: This is the internal database to search information firstly. If information is found, it is trustful.
|
308 |
Duckduckgo Internet Search: Useful to search information in internet when it is not available in other tools.
|
309 |
Wikipedia Search: Useful to search a topic, country or person when there is no availble information in vector database
|
@@ -311,6 +308,13 @@ Python REPL: Useful when you need python to answer questions. You should input p
|
|
311 |
Calculator: Useful for when you need to answer questions about math.
|
312 |
Text To Sound: Useful when you need to convert text into sound file."""
|
313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
FORMAT_INSTRUCTIONS = """Use the following format:
|
315 |
|
316 |
Question: the input question you must answer
|
|
|
300 |
# print(pinecone.whoami())
|
301 |
# print(index.describe_index_stats())
|
302 |
|
303 |
+
"""
|
|
|
|
|
|
|
304 |
Vector Database Search: This is the internal database to search information firstly. If information is found, it is trustful.
|
305 |
Duckduckgo Internet Search: Useful to search information in internet when it is not available in other tools.
|
306 |
Wikipedia Search: Useful to search a topic, country or person when there is no availble information in vector database
|
|
|
308 |
Calculator: Useful for when you need to answer questions about math.
|
309 |
Text To Sound: Useful when you need to convert text into sound file."""
|
310 |
|
311 |
+
|
312 |
+
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.
|
313 |
+
Only when there is no information available from vector database, you can search information by using another tools.
|
314 |
+
You have access to the following tools:
|
315 |
+
|
316 |
+
"""
|
317 |
+
|
318 |
FORMAT_INSTRUCTIONS = """Use the following format:
|
319 |
|
320 |
Question: the input question you must answer
|