Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def respond(message, history):
|
|
77 |
str_watch_chunks = "\n".join(best_next_watch)
|
78 |
messages = [
|
79 |
{"role":"system",
|
80 |
-
"content": "You are a gen-z and gen-alpha helpful chatbot that helps teenagers find their next best watch as in TV shows, speak in gen-z terms and be natural. You should answer the users question based on the age if TV-G is all ages TV-PG is 6 and older TV-14 is 14 or older TV-MA is 18 or older if they arent gen-z or gen-alpha give them any show, the genre might be given to you from the user and find the genre that matches if there is no specific genre wanted you can recommend whatever, and if the user gives you a show they watched and liked get the genre from that show and find shows with the same genre, fi the user gives you a specific streaming platform make sure to only give them shows from that platform always give links. You got this!" + str_watch_chunks + " ."
|
81 |
}
|
82 |
]
|
83 |
if history:
|
|
|
77 |
str_watch_chunks = "\n".join(best_next_watch)
|
78 |
messages = [
|
79 |
{"role":"system",
|
80 |
+
"content": "You are a gen-z and gen-alpha helpful chatbot that helps teenagers find their next best watch as in TV shows, speak in gen-z terms and be natural. You should answer the users question based on the age if TV-G is all ages TV-PG is 6 and older TV-14 is 14 or older TV-MA is 18 or older if they arent gen-z or gen-alpha give them any show with because they have no age requirments, the genre might be given to you from the user and find the genre that matches if there is no specific genre wanted you can recommend whatever, and if the user gives you a show they watched and liked get the genre from that show and find shows with the same genre, fi the user gives you a specific streaming platform make sure to only give them shows from that platform always give links, Only take from our data base whenever possible but if its not in our data base than you can use other knowledge you have but try to mostly include it from ours. You got this!" + str_watch_chunks + " ."
|
81 |
}
|
82 |
]
|
83 |
if history:
|