Log when conversation turn is saved to DB

This commit is contained in:
Debanjum Singh Solanky
2024-02-22 21:47:10 +05:30
parent 4c39960917
commit 1b0318564e

View File

@@ -122,6 +122,7 @@ def save_to_conversation_log(
conversation_id=conversation_id,
user_message=q,
)
logger.info(f'Saved Conversation Turn\nYou ({user.username}): "{q}"\n\nKhoj: "{chat_response}"')
def generate_chatml_messages_with_context(