Swapnil-101 commited on
Commit
84ceaf6
·
verified ·
1 Parent(s): 2ed835b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +10 -6
main.py CHANGED
@@ -153,12 +153,16 @@ def get_mentor():
153
  )
154
 
155
  prompt = f""" prompt:
156
- You need to act like as recommendataion engine for mentor recommendation for student based on below details also the list of mentors with their experience is attached.
157
- Stream: {user_stream}
158
- Mentor list= {mentors_data}
159
- Based on above details recommend the mentor that realtes to above details
160
- Note: Output should be list in below format with only name and corresponding id dont give other details ouput should be valid list:
161
- [[mentor1id,mentor1name],[mentor2id,mentor2name],[mentor3id,mentor3name],...]
 
 
 
 
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