JJTsao commited on
Commit
7da9455
·
verified ·
1 Parent(s): 7fb371e

Upload llm_services.py

Browse files
Files changed (1) hide show
  1. 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 brief 2 sentences **opening paragraph** that contextualizes the theme and the overall viewing experience the user is seeking.
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
- ![<Movie Title>](<Poster URL>)
34
- - **Genres:** Genre1, Genre2, ...
35
- - **IMDB Rating:** X.X
36
- - **Rotten Tomatoes Rating:** XX%
37
- **Why You Might Enjoy It:** <Short paragraph explaining the appeal based on character, themes, tone, and relevance to the user's intent.>
 
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