umair894 commited on
Commit
e23d059
·
1 Parent(s): 4c75768

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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: int):
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