@hivegpt/hiveai-angular 0.0.310 → 0.0.311
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hivegpt-hiveai-angular.umd.js +2 -1
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +3 -2
- package/fesm2015/hivegpt-hiveai-angular.js +2 -1
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -961,6 +961,7 @@ class ChatDrawerComponent {
|
|
|
961
961
|
});
|
|
962
962
|
}
|
|
963
963
|
submitFeedback(flag, message) {
|
|
964
|
+
console.log(message);
|
|
964
965
|
this.feedbackDone = true;
|
|
965
966
|
this.showFeedBackIconsIndex = null;
|
|
966
967
|
const conversation_id = this.conversationService.getKey(this.botId);
|
|
@@ -972,7 +973,7 @@ class ChatDrawerComponent {
|
|
|
972
973
|
'x-api-key': 'Conversation_WIz/qAm+EEmfOkFaUA/weA==',
|
|
973
974
|
'hive-bot-id': this.botId
|
|
974
975
|
},
|
|
975
|
-
body: JSON.stringify({
|
|
976
|
+
body: JSON.stringify({ messageId: message._id, isHelpful: flag }),
|
|
976
977
|
}).then(() => {
|
|
977
978
|
if (flag) {
|
|
978
979
|
this.chatLog.push({
|