feat(bots): remove confidence field

This commit is contained in:
GramingFoxTeam
2023-09-04 15:52:08 +03:00
parent 4589bc9a08
commit 29ba476d7b
3 changed files with 2 additions and 4 deletions

View File

@@ -27,8 +27,6 @@ export default {
if (!response.reply) return; if (!response.reply) return;
const embed = response.reply; const embed = response.reply;
embed.footer = { text: `Confidence: ${intent.confidence}` };
const feedbackRow = new ActionRowBuilder().addComponents( const feedbackRow = new ActionRowBuilder().addComponents(
new ButtonBuilder() new ButtonBuilder()
.setCustomId('fb-like') .setCustomId('fb-like')

View File

@@ -17,7 +17,7 @@ export default {
// there won't be markdown support for now. // there won't be markdown support for now.
bot.sendMessage( bot.sendMessage(
ids[0], ids[0],
`## ${response.reply.title}\n\n${response.reply.description}\n\n_Confidence: ${intent.confidence}_\n\nThis bot is currently being tested in production. Ignore it, if it's wrong.`, `**${response.reply.title}**\n\n${response.reply.description}\n`,
{ {
message_thread_id: ids[1], message_thread_id: ids[1],
reply_to_message_id: ids[2] reply_to_message_id: ids[2]

View File

@@ -10,7 +10,7 @@ export default {
// there won't be markdown support for now. // there won't be markdown support for now.
bot.sendMessage( bot.sendMessage(
ids[0], ids[0],
`## ${ocrReply.reply.title}\n\n${ocrReply.reply.description}\n\nThis bot is currently being tested in production. Ignore it, if it's wrong.`, `## ${ocrReply.reply.title}\n\n${ocrReply.reply.description}`,
{ {
message_thread_id: ids[1], message_thread_id: ids[1],
reply_to_message_id: ids[2] reply_to_message_id: ids[2]