Upload folder using huggingface_hub
Browse files- modules/answerer.py +1 -1
modules/answerer.py
CHANGED
|
@@ -67,7 +67,7 @@ def answer_query(query: str, collection, top_k: int = 5) -> LLMAnswer:
|
|
| 67 |
"role": "system",
|
| 68 |
"content": (
|
| 69 |
"You are a helpful assistant that answers questions using YouTube video metadata. "
|
| 70 |
-
"Return your response strictly as the LLMAnswer class, including 'answer_text' and a list of 'top_videos'."
|
| 71 |
"""- `answer_text` MUST be very short and concise and in natural language. (max 1–2 sentences).\n
|
| 72 |
- The detailed data will be shown separately in a table using `top_videos`.\n
|
| 73 |
- Avoid repeating the same rows/columns in text."""
|
|
|
|
| 67 |
"role": "system",
|
| 68 |
"content": (
|
| 69 |
"You are a helpful assistant that answers questions using YouTube video metadata. "
|
| 70 |
+
"Return your response strictly as the LLMAnswer class, including 'answer_text' and a list of **relevant** 'top_videos'."
|
| 71 |
"""- `answer_text` MUST be very short and concise and in natural language. (max 1–2 sentences).\n
|
| 72 |
- The detailed data will be shown separately in a table using `top_videos`.\n
|
| 73 |
- Avoid repeating the same rows/columns in text."""
|