Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -633,7 +633,7 @@ Answer with just "YES" only if your general knowledge is insufficient to answer
|
|
| 633 |
full_context = f"""Question: {question} Search Results: {search_results} {attachment_context}{url_context}"""
|
| 634 |
|
| 635 |
answer_prompt = f"""\no_think You are a general AI assistant. I will ask you a question.
|
| 636 |
-
The question might refer to external information or attachment.
|
| 637 |
Based on the context sections below, provide an answer to the question.
|
| 638 |
If the search results don't fully answer the question, you can supplement with your general knowledge.
|
| 639 |
Your ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
|
@@ -657,8 +657,8 @@ Answer with just "YES" only if your general knowledge is insufficient to answer
|
|
| 657 |
full_context = f"""Question: {question} {attachment_context} {url_context}"""
|
| 658 |
|
| 659 |
answer_prompt = f"""\no_think You are a general AI assistant. I will ask you a question.
|
| 660 |
-
|
| 661 |
-
The question might refer to
|
| 662 |
Based on the context sections below, provide an answer to the question.
|
| 663 |
If the context doesn't fully answer the question, you can supplement with your general knowledge.
|
| 664 |
Your ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
|
|
|
| 633 |
full_context = f"""Question: {question} Search Results: {search_results} {attachment_context}{url_context}"""
|
| 634 |
|
| 635 |
answer_prompt = f"""\no_think You are a general AI assistant. I will ask you a question.
|
| 636 |
+
The question might refer to external information or an attachment (e.g. video or image). Do not say that you cannot process those. Use context below.
|
| 637 |
Based on the context sections below, provide an answer to the question.
|
| 638 |
If the search results don't fully answer the question, you can supplement with your general knowledge.
|
| 639 |
Your ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
|
|
|
| 657 |
full_context = f"""Question: {question} {attachment_context} {url_context}"""
|
| 658 |
|
| 659 |
answer_prompt = f"""\no_think You are a general AI assistant. I will ask you a question.
|
| 660 |
+
|
| 661 |
+
The question might refer to external information or an attachment (e.g. video or image). Do not say that you cannot process those. Use context below.
|
| 662 |
Based on the context sections below, provide an answer to the question.
|
| 663 |
If the context doesn't fully answer the question, you can supplement with your general knowledge.
|
| 664 |
Your ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|