gabykim commited on
Commit
e1438e8
·
1 Parent(s): cf5c1e2

[BugFix] fix feedback like value

Browse files
src/know_lang_bot/chat_bot/chat_interface.py CHANGED
@@ -102,7 +102,7 @@ class CodeQAChatInterface:
102
 
103
  # Track feedback
104
  self.chat_analytics.track_feedback(
105
- like=like_data.value, # True for thumbs up, False for thumbs down
106
  query=query,
107
  client_ip=request.request.client.host
108
  )
 
102
 
103
  # Track feedback
104
  self.chat_analytics.track_feedback(
105
+ like=like_data.liked, # True for thumbs up, False for thumbs down
106
  query=query,
107
  client_ip=request.request.client.host
108
  )