The Microsoft Bot Builder SDK is one of three main components of the Microsoft Bot Framework. The Microsoft Bot Framework provides just what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Teams, Slack, Office 365 mail and other popular services.
yeze322 on main
Add flow uischema definitions i… (compare)
a-b-r-o-w-n on update-dri-readme
add note about enabling SSO for… (compare)
tsuwandy on main
Removed RoBERTa model from nlrv… (compare)
tsuwandy on tsuwandy-patch-3
tsuwandy on tsuwandy-patch-3
Update NLRModels.md Remove Rob… Merge branch 'tsuwandy-patch-4'… (compare)
tsuwandy on tsuwandy-patch-4
Update NLRModels.md Remove Rob… (compare)
I need to disable text to speech in chatbot. the link which I have referred,
https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/03.speech/g.hybrid-speech.
According to the above links we need to set speechSynthesis and SpeechSynthesisUtterance to null.
Please refer the attached index from the above link. In the index file below links are to be modified to disable text to speech:
Hey guys.
I am trying to understand how I can receive the Response from the channel.
What I want to achieve:
I want to get a response from the Telegram server when I send a custom message to the ChannelData.
Why: I want to be able to edit the telegram message that was just sent by the bot.
When you send a message Telegram responds with the object where you have message_id
.
Activity textPrompt = turnContext.Activity.CreateReply();
//code to set textPrompt.ChannelData
var response = await turnContext.SendActivityAsync(textPrompt, cancellationToken);
//here I need to access response from server to save message_id which is returned by telegram API
//https://core.telegram.org/bots/api#sendmessage
Can you please help me with it? Some documentation?
As far as I can see from Convesations.cs file in Bot framework. After the request to https://telegram.botframework.com/v3/conversations/xxxxxxxx/activities/281-xxxxxxx-f
Server responds with
{
"id": "287-xxxxxxxxx-f"
}
So as far as I understand there is no way to get Telegram response as far as it is not returned by "telegram.botframework.com".
:(
var response = await turnContext.SendActivityAsync(textPrompt, cancellationToken);
Activity updatePrompt = new Activity { Id = response.Id, Type = ActivityTypes.Message, Text = "updated text" };
var updateResponse = await turnContext.UpdateActivityAsync(updatePrompt, cancellationToken);
message_id
from the previous response.
Hi Team,Bot Info
Bot Framework SDK Version: 4.3.2
SDK Platform: .NET Core 3.1
Active Channels: Microsoft Teams Chatbot
Deployment Environment: Azure App Service (West Europe)
I am facing the below issue after migrated LUIS ,it changed appkey,appID and hostname , i have configured correctly and save. i was restart machine ,i am check local emulator not working,then i was deployed to azure server checked chatbot still showing some error message " Operation returned an invalid status code 'Gone'".
var luisApplication = new LuisApplication(
Environment.GetEnvironmentVariable("LuisAppId"),
Environment.GetEnvironmentVariable("LuisAPIKey"),
Environment.GetEnvironmentVariable("LuisAPIHostName")
);
Hi Team, Bot Info
Bot Framework SDK Version: 4.3.2
SDK Platform: .NET Core 3.1
Active Channels: Microsoft Teams Chatbot
Deployment Environment: Azure App Service (West Europe)
I am facing the below issue after migrated LUIS ,it changed appkey,appID and hostname , i have configured correctly and save. i was restart machine ,i am check local emulator not working,then i was deployed to azure server checked chatbot still showing some error message " Operation returned an invalid status code 'Gone'".
var luisApplication = new LuisApplication(
Environment.GetEnvironmentVariable("LuisAppId"),
Environment.GetEnvironmentVariable("LuisAPIKey"),
Environment.GetEnvironmentVariable("LuisAPIHostName")
); Can you please help on this issue. Thank you
Hello.
I'm using Bot Framework (botbuilder v4.5.1) and NodeJs with Restify, hosted on an Azure App Service, with the Skype (consumer Skype, not Skype for Business) channel registration.
My use case is trying to connect Call Center agents to random people that might message my bot.
I make heavy use of the continueConversation
feature, within loops:
for (let i = 0; i < allAvailableAgents.length; i++)
{
await adapter_reference.continueConversation(agentConversationReference, async turnContext => {
await turnContext.sendActivity(agentNotificationMessage);
});
}
Every one in a while, the adapter.onTurnError
error handler gets triggered, and i get a message that looks like:
"stack": "Error: connect ETIMEDOUT 52.114.15.98:443\n
at new RestError (D:\\home\\site\\wwwroot\\node_modules\\@azure\\ms-rest-js\\dist\\msRest.node.js:1397:28)\n
at AxiosHttpClient.<anonymous> (D:\\home\\site\\wwwroot\\node_modules\\@azure\\ms-rest-js\\dist\\msRest.node.js:1550:35)\n
at step (D:\\home\\site\\wwwroot\\node_modules\\tslib\\tslib.js:136:27)\n
at Object.throw (D:\\home\\site\\wwwroot\\node_modules\\tslib\\tslib.js:117:57)\n
at rejected (D:\\home\\site\\wwwroot\\node_modules\\tslib\\tslib.js:108:69)\n
at process._tickCallback (internal/process/next_tick.js:68:7)",
It's very sporadic, though. And looking up that IP, it seems to belong to the Microsoft servers that host the Skype service.
Is the problem that I'm trying to send too many messages at once?
on_conversation_update_activity
in a way, but it doesn't do this.