I am quite new to the Microsoft Bot Framework, I would like to use BOT to translate user input to the language user specifies, how to get started with this? please share your thoughts.
In Bot Builder V4,
you can use System.Globalization.CultureInfo("en-US");
Here is a link to the official answer regarding this https://github.com/Microsoft/BotBuilder/issues/1156
Related
I need to add Speech to text feature in RASA, where user can ask questionsusing his voice and bot will answer him by chat. Does anyone know how can I do it in RASA?
As my front-end will be an Android Application. Kindly do tell me how to do it.
Thanks in Advance.
You can build a voice bot with Rasa Open Source as long as you use a Speech to Text (STT) API, since Rasa will only process text. This would involve building a custom channel that takes the voice as input, sends it to a STT API and returns the text to Rasa.
You can find some detailed examples on the Rasa blog:
https://blog.rasa.com/how-to-build-a-voice-assistant-with-open-source-rasa-and-mozilla-tools/
https://blog.rasa.com/how-to-build-a-mobile-voice-assistant-with-open-source-rasa-and-aimybox/
If you don't mind using something closed source, integrating the Google Speech API is also an option.
We are planning to add existing bot which is V4 to our Universal Bot which is in Virtual Assistant template.
For this we have come up with the Skill based approach via which we can add skills to existing VA.
The challenge which we are facing now is that we couldn't find link which was there earlier to convert existing V4 bot to skill (https://microsoft.github.io/botframework-solutions/skills/tutorials/convert-v4-bot/csharp/2-add-packages/).
and the link which there in FAQ section(https://microsoft.github.io/botframework-solutions/help/faq/ ) under "How do I convert an existing v4 Bot to a Bot Framework Skill?" redirects me to a Microsoft page implementing a skill (https://learn.microsoft.com/en-us/azure/bot-service/skill-implement-skill?view=azure-bot-service-4.0&tabs=cs)
The current document has section of migrating Virtual Assistant to Bot framework Skill(Migrate existing Virtual Assistant to Bot Framework Skills GA).
but I cannot find any page in updated document which can guide me to convert existing V4 Bot to skill.
Please help us with the same.
Looks like your problem is solved on GitHub in this issue. For others with a similar issue, here is the explanation.
The link https://learn.microsoft.com/en-us/azure/bot-service/skill-implement-skill?view=azure-bot-service-4.0&tabs=cs described how to implement a skill. If your bot is based on the BotBuilder SDK greater than or equals to 4.7.0, then your bot is automatically a skill. Virtual Assistant that's created based on the Virtual Assistant Template that's greater than or equals to the 0.7 release will be able to connect to a skill without extra work.
Hope this helps.
Would like to know how Microsoft Bot Service Provision Skype bot , Need to check the underline code how microsoft bot service is using Skype API to create skype bot. Please provide the reference and source code.
The code you are asking for is not open source. Bot Framework has many pieces open source (like the SDKs, the Emulator, the WebChat control among others) but the piece you are asking is not.
I suspect you have another issue; so I would recommend either to post a new question with the specific problem or clarify this one.
If you want to learn how Skype works with BotFramework, pleas read https://dev.skype.com/bots.
The first version of the Bot Framework advertised automatic language translation as a major Bot Connector feature as outlined in the v1 Bot Framework Overview page.
However, the v3 documentation doesn't mention it. I was wondering if this feature is no longer available or should we use the Cognitive Services Text APIs instead?
Here's what I tried with a Skype Bot:
I would like to speak in German
May I speak in French
fr-FR
Everything I've tried hasn't worked.
This is something which I've looked into while building my own bot as well. The feature is no longer available in V3 and will have to call the Translator API directly. https://github.com/Microsoft/BotBuilder/issues/1156
In V4, you can use the code as below
Resources.Global.Culture = new System.Globalization.CultureInfo("en-US");
I'm building a chatbot that will need to be launched on Kik, Facebook, and Slack. I'm unsure of where to start in terms of using a bot framework or whether I should create something custom myself.
I don't believe I will need any NLP. The user is going to be pushed down a very structured path, that will use buttons to guide the users to the next prompts and will also share with the user links and media.
Microsoft Bot Framework seems like the main framework I should look at, but its unclear to me how useful it will be if I end up wanting to deliver responses that are custom to each messaging platform. Meaning, on Facebook I may want to take advantage of a custom feature that they have like buttons or templates and on Kik I will want to take advantage of suggested keyboards.
Any suggestions or guidance is appreciated.
BotFramework will do the translation for you. Write to the BotFramework schema and it will using buttons for Facebook and keyboards for Kik.