[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.
|
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 |
)
|