Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -30,7 +30,7 @@ app = FastAPI(docs_url="/", description=description)
|
|
30 |
# return output_list
|
31 |
|
32 |
@app.post("/get_questions")
|
33 |
-
async def getQuestions(job_description: str, no_of_questions:
|
34 |
response = client.chat.completions.create(
|
35 |
model="gpt-3.5-turbo-1106",
|
36 |
response_format={"type": "json_object"}, # To ENABLE JSON MODE
|
|
|
30 |
# return output_list
|
31 |
|
32 |
@app.post("/get_questions")
|
33 |
+
async def getQuestions(job_description: str, no_of_questions: str):
|
34 |
response = client.chat.completions.create(
|
35 |
model="gpt-3.5-turbo-1106",
|
36 |
response_format={"type": "json_object"}, # To ENABLE JSON MODE
|