Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -110,7 +110,6 @@ def get_mentor():
|
|
110 |
|
111 |
content = request.json
|
112 |
user_stream = content.get('stream')
|
113 |
-
courses = content.get('courses')
|
114 |
|
115 |
session = Session()
|
116 |
|
@@ -142,7 +141,6 @@ def get_mentor():
|
|
142 |
prompt = f""" prompt:
|
143 |
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.
|
144 |
Stream: {user_stream}
|
145 |
-
courses opted:{courses}
|
146 |
Mentor list= {mentors_data}
|
147 |
Based on above details recommend the mentor that realtes to above details
|
148 |
Note: Output should be list in below format:
|
|
|
110 |
|
111 |
content = request.json
|
112 |
user_stream = content.get('stream')
|
|
|
113 |
|
114 |
session = Session()
|
115 |
|
|
|
141 |
prompt = f""" prompt:
|
142 |
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.
|
143 |
Stream: {user_stream}
|
|
|
144 |
Mentor list= {mentors_data}
|
145 |
Based on above details recommend the mentor that realtes to above details
|
146 |
Note: Output should be list in below format:
|