darshan8950 commited on
Commit
5abdf22
·
verified ·
1 Parent(s): ccb7aa0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +6 -6
main.py CHANGED
@@ -51,9 +51,9 @@ def recommend():
51
  Stream: {user_stream}
52
  Current Semester: {user_semester}
53
  Based on above details recommend the courses that relate to the above details
54
- Note: Output should be valid json format in below format:
55
- {{"course1:course_name, course2:course_name, course3:course_name,...}}
56
- Return only answer not prompt and unnecessary stuff
57
  """
58
  formatted_prompt = format_prompt(prompt)
59
 
@@ -94,9 +94,9 @@ def mentor():
94
  courses opted:{courses}
95
  Mentor list= {mentors_data}
96
  Based on above details recommend the mentor that realtes to above details
97
- Note: Output should be valid json format in below format:
98
- {{"mentor1:mentor_name,mentor2:mentor_name,mentor3:mentor_name,...}}
99
- Return only answer not prompt and unnecessary stuff
100
  """
101
  formatted_prompt = format_prompt(prompt)
102
 
 
51
  Stream: {user_stream}
52
  Current Semester: {user_semester}
53
  Based on above details recommend the courses that relate to the above details
54
+ Note: Output should be list in below format:
55
+ [course1, course2, course3,...]
56
+ Return only answer not prompt and unnecessary stuff, also dont add any special characters or punctuation marks
57
  """
58
  formatted_prompt = format_prompt(prompt)
59
 
 
94
  courses opted:{courses}
95
  Mentor list= {mentors_data}
96
  Based on above details recommend the mentor that realtes to above details
97
+ Note: Output should be list in below format:
98
+ [mentor1,mentor2,mentor3,...]
99
+ Return only answer not prompt and unnecessary stuff, also dont add any special characters or punctuation marks
100
  """
101
  formatted_prompt = format_prompt(prompt)
102