Swapnil-101 commited on
Commit
c4de2a2
·
verified ·
1 Parent(s): c672f84

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -4
main.py CHANGED
@@ -269,7 +269,7 @@ def get_course():
269
  content = request.json
270
  user_degree = content.get('degree')
271
  user_stream = content.get('stream')
272
- user_semester = content.get('semester')
273
 
274
  generate_kwargs = dict(
275
  temperature=temperature,
@@ -283,7 +283,6 @@ def get_course():
283
  You need to act like as recommendation engine for course recommendation for a student based on below details.
284
  Degree: {user_degree}
285
  Stream: {user_stream}
286
- Current Semester: {user_semester}
287
  Based on above details recommend the courses that relate to the above details
288
  Note: Output should be list in below format:
289
  [course1, course2, course3,...]
@@ -307,7 +306,7 @@ def get_mentor():
307
  content = request.json
308
  user_degree = content.get('degree')
309
  user_stream = content.get('stream')
310
- user_semester = content.get('semester')
311
  courses = content.get('courses')
312
 
313
  temperature = float(temperature)
@@ -327,7 +326,6 @@ def get_mentor():
327
  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.
328
  Degree: {user_degree}
329
  Stream: {user_stream}
330
- Current Semester: {user_semester}
331
  courses opted:{courses}
332
  Mentor list= {mentors_data}
333
  Based on above details recommend the mentor that realtes to above details
 
269
  content = request.json
270
  user_degree = content.get('degree')
271
  user_stream = content.get('stream')
272
+ #user_semester = content.get('semester')
273
 
274
  generate_kwargs = dict(
275
  temperature=temperature,
 
283
  You need to act like as recommendation engine for course recommendation for a student based on below details.
284
  Degree: {user_degree}
285
  Stream: {user_stream}
 
286
  Based on above details recommend the courses that relate to the above details
287
  Note: Output should be list in below format:
288
  [course1, course2, course3,...]
 
306
  content = request.json
307
  user_degree = content.get('degree')
308
  user_stream = content.get('stream')
309
+ #user_semester = content.get('semester')
310
  courses = content.get('courses')
311
 
312
  temperature = float(temperature)
 
326
  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.
327
  Degree: {user_degree}
328
  Stream: {user_stream}
 
329
  courses opted:{courses}
330
  Mentor list= {mentors_data}
331
  Based on above details recommend the mentor that realtes to above details