Spaces:
Running
Running
Upload llm_services.py
Browse files- app/llm_services.py +7 -6
app/llm_services.py
CHANGED
@@ -24,17 +24,18 @@ Focus on:
|
|
24 |
|
25 |
### Response Format (in markdown):
|
26 |
|
27 |
-
1. Start with a
|
28 |
|
29 |
2. Then, for each recommendation, use the following format (repeat for each title). At the end of each movie recommendation block, insert the token: <!-- END_MOVIE -->:
|
30 |
|
31 |
```
|
32 |
### <Number>. <Movie Title>
|
33 |
-
|
34 |
-
-
|
35 |
-
-
|
36 |
-
-
|
37 |
-
|
|
|
38 |
<!-- END_MOVIE -->
|
39 |
```
|
40 |
|
|
|
24 |
|
25 |
### Response Format (in markdown):
|
26 |
|
27 |
+
1. Start with a concise 2 sentences **opening paragraph** that contextualizes the theme and the overall viewing experience the user is seeking. At the end of this paragraph, insert the token: <!-- END_INTRO -->.
|
28 |
|
29 |
2. Then, for each recommendation, use the following format (repeat for each title). At the end of each movie recommendation block, insert the token: <!-- END_MOVIE -->:
|
30 |
|
31 |
```
|
32 |
### <Number>. <Movie Title>
|
33 |
+
- POSTER_PATH: /abc123.jpg
|
34 |
+
- GENRES: Genre1, Genre2, ...
|
35 |
+
- IMDB_RATING: X.X
|
36 |
+
- ROTTEN_TOMATOES_RATING: XX%
|
37 |
+
- TRAILER_KEY: abc123
|
38 |
+
- WHY_YOU_MIGHT_ENJOY_IT: <Short paragraph explaining the appeal based on character, themes, tone, and relevance to the user's intent.>
|
39 |
<!-- END_MOVIE -->
|
40 |
```
|
41 |
|