Skip to content

Commit

Permalink
commented json.loads() inside log function
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Jan 31, 2024
1 parent cdae4ec commit 22314b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_ta_backend/nomic_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def log_convo_to_nomic(course_name: str, conversation) -> str:

print(f"in log_convo_to_nomic() for course: {course_name}")
print("type of conversation:", type(conversation))
conversation = json.loads(conversation)
#conversation = json.loads(conversation)
messages = conversation['conversation']['messages']
user_email = conversation['conversation']['user_email']
conversation_id = conversation['conversation']['id']
Expand Down

0 comments on commit 22314b5

Please sign in to comment.