Spaces:
Sleeping
Sleeping
Update app.py
Browse filesLonger context
app.py
CHANGED
@@ -596,9 +596,9 @@ SEARCH IS NOT NEEDED for:
|
|
596 |
|
597 |
Question: "{question}"
|
598 |
|
599 |
-
{f"Attachment Context Available: {attachment_context[:
|
600 |
|
601 |
-
{f"URL Content Available: {url_context[:
|
602 |
|
603 |
If you cannot provide an answer, reply with "NO_SEARCH". Respond with only "SEARCH" or "NO_SEARCH" followed by a brief reason (max 20 words).
|
604 |
|
|
|
596 |
|
597 |
Question: "{question}"
|
598 |
|
599 |
+
{f"Attachment Context Available: {attachment_context[:1000]}..." if attachment_context else "No attachment context available."}
|
600 |
|
601 |
+
{f"URL Content Available: {url_context[:1000]}..." if url_context else "No URL content available."}
|
602 |
|
603 |
If you cannot provide an answer, reply with "NO_SEARCH". Respond with only "SEARCH" or "NO_SEARCH" followed by a brief reason (max 20 words).
|
604 |
|