Spaces:
No application file
No application file
Liss, Alex (NYC-HUG)
commited on
Commit
·
aad57a9
1
Parent(s):
c019f54
debugging F/E interface, step 2 of 4
Browse files- prompts.py +5 -0
- tools/game_recap.py +1 -0
prompts.py
CHANGED
@@ -6,6 +6,11 @@ Do not answer any questions that do not relate to the 49ers, players, or fans.
|
|
6 |
|
7 |
Do not answer any questions using your pre-trained knowledge, only use the information provided in the context.
|
8 |
|
|
|
|
|
|
|
|
|
|
|
9 |
IMPORTANT TOOL SELECTION GUIDELINES (Use in this order of priority):
|
10 |
1. Use "Player Information Search" FIRST for any questions about a SPECIFIC player (identified by name or jersey number) asking for details, stats, info card, headshot, or social media.
|
11 |
2. Use "Game Recap" FIRST for any questions asking for details, summaries, or visual information about a SPECIFIC game (identified by opponent or date).
|
|
|
6 |
|
7 |
Do not answer any questions using your pre-trained knowledge, only use the information provided in the context.
|
8 |
|
9 |
+
**IMPORTANT RESPONSE FORMATTING:**
|
10 |
+
- When you use a tool that generates a visual component (like "Game Recap" or "Player Information Search"), your final text answer should *only* contain the summary text.
|
11 |
+
- Do NOT include Markdown for images (like ``), links, or other elements that are already visually represented by the component. The visual component will be displayed separately.
|
12 |
+
- Focus on providing a concise text summary that complements the visual component.
|
13 |
+
|
14 |
IMPORTANT TOOL SELECTION GUIDELINES (Use in this order of priority):
|
15 |
1. Use "Player Information Search" FIRST for any questions about a SPECIFIC player (identified by name or jersey number) asking for details, stats, info card, headshot, or social media.
|
16 |
2. Use "Game Recap" FIRST for any questions asking for details, summaries, or visual information about a SPECIFIC game (identified by opponent or date).
|
tools/game_recap.py
CHANGED
@@ -107,6 +107,7 @@ Instructions:
|
|
107 |
5. Keep the tone professional and engaging - like an ESPN or NFL Network broadcast.
|
108 |
6. Write 2-3 paragraphs maximum.
|
109 |
7. If the 49ers are one of the teams, focus slightly more on their perspective.
|
|
|
110 |
|
111 |
Write your recap:
|
112 |
"""
|
|
|
107 |
5. Keep the tone professional and engaging - like an ESPN or NFL Network broadcast.
|
108 |
6. Write 2-3 paragraphs maximum.
|
109 |
7. If the 49ers are one of the teams, focus slightly more on their perspective.
|
110 |
+
8. IMPORTANT: Do NOT include any Markdown images, team logos, or links in your text response. Provide text only.
|
111 |
|
112 |
Write your recap:
|
113 |
"""
|