https://github.com/fiveisprime/azurebot
Translation bot built with the Microsoft bot framework, LUIS, and Google translate.
https://github.com/fiveisprime/azurebot
bot luis
Last synced: 4 months ago
JSON representation
Translation bot built with the Microsoft bot framework, LUIS, and Google translate.
- Host: GitHub
- URL: https://github.com/fiveisprime/azurebot
- Owner: fiveisprime
- License: mit
- Created: 2017-03-16T21:27:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-08T16:13:00.000Z (over 8 years ago)
- Last Synced: 2025-03-29T12:47:23.385Z (7 months ago)
- Topics: bot, luis
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# azurebot
Translation bot built with the Microsoft bot framework, LUIS, and Google
translate.### How it works
This uses the Microsoft Bot Framework as a front-end that connects to LUIS
(Language Understanding Intelligent Services) to transform conversational text
into commands and parameters (intent and entities) that are then passed to Google
translate.You can test it out using Skype by clicking this ugly button 👉
### Usage
Want to run this for yourself?
* Create a bot on the [Microsoft Bot Framework](https://dev.botframework.com/)
* Create a LUIS App in the [LUIS dashboard](https://www.luis.ai/)Once you have those pieces, you'll need to train your LUIS app to recognize
utterances that relate to a `Translate` intent along with the following entities* Text (_text to be translated_)
* FromLanguage (_language to translate from_)
* ToLanugage (_language to translate to_)For example
> Translate hey girl from English to German
Maps to
`[$Translate] $[Text] from [$FromLanguage] to [$ToLanguage]`
---
Make sure to deploy your LUIS app and copy the keys for the bot and LUIS to
environment variables and you're set.