Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -126,6 +126,7 @@ async def generate_roadmap(study_input: StudyInput):
|
|
126 |
Make Sure that you start the roadmap date from the date the roadmap is generated (Current Date : {study_input.currentDate})
|
127 |
Make Sure you newer leave any field empty
|
128 |
Make Sure that you take care of the year in the date entry for example you are generating a roadmap from 30-12-2024 for 8 days then you must chnage the year after 31-12-2024 to 2025.
|
|
|
129 |
"""
|
130 |
|
131 |
# Make OpenAI API call
|
@@ -157,11 +158,12 @@ async def generate_roadmap(study_input: StudyInput):
|
|
157 |
you created a very good roadmap {answer} but you make sure that you dont forget any subtopics from Physics : {phy}, Chemistry : {chem} and Maths : {maths}. ensure that the style is same as the previous roadmap.
|
158 |
MAKE SURE YOU VERY VERY STRUCTLY FOLLOW THE JSON STRUCTURE BECAUSE I WILL PARSE YOUR OUTPUT TO JSON.
|
159 |
DO not include json at the top of the answer
|
|
|
160 |
'''
|
161 |
},
|
162 |
{
|
163 |
"role": "user",
|
164 |
-
"content": "Generate"
|
165 |
}
|
166 |
]
|
167 |
)
|
|
|
126 |
Make Sure that you start the roadmap date from the date the roadmap is generated (Current Date : {study_input.currentDate})
|
127 |
Make Sure you newer leave any field empty
|
128 |
Make Sure that you take care of the year in the date entry for example you are generating a roadmap from 30-12-2024 for 8 days then you must chnage the year after 31-12-2024 to 2025.
|
129 |
+
|
130 |
"""
|
131 |
|
132 |
# Make OpenAI API call
|
|
|
158 |
you created a very good roadmap {answer} but you make sure that you dont forget any subtopics from Physics : {phy}, Chemistry : {chem} and Maths : {maths}. ensure that the style is same as the previous roadmap.
|
159 |
MAKE SURE YOU VERY VERY STRUCTLY FOLLOW THE JSON STRUCTURE BECAUSE I WILL PARSE YOUR OUTPUT TO JSON.
|
160 |
DO not include json at the top of the answer
|
161 |
+
|
162 |
'''
|
163 |
},
|
164 |
{
|
165 |
"role": "user",
|
166 |
+
"content": "Generate the roadmap, and follow the output format very very very strictly"
|
167 |
}
|
168 |
]
|
169 |
)
|