Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -153,12 +153,16 @@ def get_mentor():
|
|
153 |
)
|
154 |
|
155 |
prompt = f""" prompt:
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
|
|
|
|
|
|
|
|
162 |
"""
|
163 |
formatted_prompt = format_prompt(prompt)
|
164 |
|
|
|
153 |
)
|
154 |
|
155 |
prompt = f""" prompt:
|
156 |
+
You need to act as a recommendation engine for mentor recommendations based on the student's stream and a list of available mentors.
|
157 |
+
|
158 |
+
Stream: {user_stream}
|
159 |
+
Mentor list: {mentors_data}
|
160 |
+
|
161 |
+
Based on the provided details, recommend the mentors that relate to the student's stream.
|
162 |
+
|
163 |
+
Note: The output should be a valid list in the following format, containing only the mentor's ID and name. Dont give unnecessary explanations or additional details:
|
164 |
+
[[mentor1_id, mentor1_name], [mentor2_id, mentor2_name], [mentor3_id, mentor3_name], ...]
|
165 |
+
|
166 |
"""
|
167 |
formatted_prompt = format_prompt(prompt)
|
168 |
|