Skip to content

Commit

Permalink
investigate data
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Sep 11, 2023
1 parent dc28ca9 commit f60e876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ai_ta_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,10 @@ def logToNomic():
f"Missing one or more required parameters: 'course_name' and 'conversation' must be provided. Course name: `{course_name}`, Conversation: `{conversation}`"
)

conversation_json = json.loads(conversation)
#conversation_json = json.loads(conversation)

# background execution of tasks!!
response = executor.submit(log_convo_to_nomic, course_name, conversation_json)
response = executor.submit(log_convo_to_nomic, course_name, data)
response = jsonify(response)
response.headers.add('Access-Control-Allow-Origin', '*')
return response
Expand Down

0 comments on commit f60e876

Please sign in to comment.