Send intent to the bot over sendBotMessage()

Hi
I am using an external LLM model to recognize intents. Is there a way to send a recognized intent to the bot using sdk.sendBotMessage(payload, callback)?
In the documentation I dont see any parameter to pass an intent to the bot.

payload – A JSON response payload as follows:
{
“message”:“Message sent by the user”,
“channel”:“Channel name”,
“context”:
}

is it somehow possible?

thanks
Bayardo

Hello @bayardo-javier.cerda,

Welcome to Kore.ai Community.
Could you please elaborate more on this and share the relevant screenshots ?

Also, please share the external LLM Model details.

Thank you,
Srujan Madderla
Kore.ai Community Team

Hi @srujan.madderla

We have just a mocked call to a LLM extenal model. Right now is not really important the connection to the external LLM.
My question was how to pass an intent to the bot.
I am trying like this (see below), I am not sure if that works. There is no documentation about passing intents to the bot.

const recognizedIntent = “myIntent”; // coming from external LLM
data.metaInfo = {
‘intentInfo’ : {
‘intent’ : recognizedIntent
}
};
sdk.sendBotMessage(data, callback);

Best regards,
Bayardo