forked from janbanot/uefa_eu2024
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_prompt.py
37 lines (30 loc) · 942 Bytes
/
build_prompt.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
def build_prompt(
teamA,
teamA_latest_games,
teamA_quali_games,
teamB,
teamB_latest_games,
teamB_quali_games,
head_to_head_games,
additional_context=None,
):
prompt = f"""
Act as a footbal expert analyst. Provide analysis on the match between {teamA} and {teamB}.
Carefully analyze the historical achievements of both teams.
Take into consideration the following:
{teamA} 5 recent games:
{teamA_latest_games}
{teamA} qualification games:
{teamA_quali_games}
{teamB} 5 recent games:
{teamB_latest_games}
{teamB} qualification games:
{teamB_quali_games}
Last 5 head-to-head games:
{head_to_head_games}
Additional context:
{additional_context}
Analyze the data and provide the 3 most likely exact results with the probability level in percentage.
Be specific and provide short reasoning for each prediction.
"""
return prompt