Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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
|
55 |
-
|
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
|
98 |
-
|
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 |
|