Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -75,7 +75,7 @@ async def generate_report(request: Request, query: QueryModel):
|
|
| 75 |
|
| 76 |
# Prepare the prompt for generating the report
|
| 77 |
additional_context = limit_tokens(str(all_text_with_urls))
|
| 78 |
-
prompt = f"#### COMPLETE THE TASK: {
|
| 79 |
|
| 80 |
else:
|
| 81 |
prompt = f"#### COMPLETE THE TASK: {query_str} #### IN THE CONTEXT OF ### CONTEXT: {description}"
|
|
|
|
| 75 |
|
| 76 |
# Prepare the prompt for generating the report
|
| 77 |
additional_context = limit_tokens(str(all_text_with_urls))
|
| 78 |
+
prompt = f"#### COMPLETE THE TASK: {description} #### IN THE CONTEXT OF ### CONTEXT: {query_str} #### ADDITIONAL CONTEXT:{additional_context}"
|
| 79 |
|
| 80 |
else:
|
| 81 |
prompt = f"#### COMPLETE THE TASK: {query_str} #### IN THE CONTEXT OF ### CONTEXT: {description}"
|