Spaces:
Running
Running
- Updated the system prompt to ask user to use different scraper if scraping has issue.
Browse files- llm_inference_service.py +3 -1
llm_inference_service.py
CHANGED
|
@@ -69,7 +69,9 @@ def extract_page_info_by_llm(user_query: str, scraped_markdown_content: str, mod
|
|
| 69 |
So always read the user query carefully and extract information accordingly.
|
| 70 |
|
| 71 |
If you do not find or know the answer, do not hallucinate, do not try to generate fake answers.
|
| 72 |
-
If no Context is given or you can't find or generate any relevant information to answer the question, simply state "No relevant information found to answer your question.
|
|
|
|
|
|
|
| 73 |
Please do not respond with empty string / answer.
|
| 74 |
|
| 75 |
Context:
|
|
|
|
| 69 |
So always read the user query carefully and extract information accordingly.
|
| 70 |
|
| 71 |
If you do not find or know the answer, do not hallucinate, do not try to generate fake answers.
|
| 72 |
+
If no Context is given or you can't find or generate any relevant information to answer the question, simply state "No relevant information found to answer your question.
|
| 73 |
+
If you think scraping was not done properly, **please select a different scraper (FireCrawl or Crawl4AI) from the Select Scraper Dropdown and try again.**"
|
| 74 |
+
|
| 75 |
Please do not respond with empty string / answer.
|
| 76 |
|
| 77 |
Context:
|