{"id":13650227,"url":"https://github.com/Azure-Samples/cognitive-services-language-understanding","last_synced_at":"2025-04-22T18:31:12.230Z","repository":{"id":33984882,"uuid":"161401956","full_name":"Azure-Samples/cognitive-services-language-understanding","owner":"Azure-Samples","description":"Samples for the Language Understanding Intelligent Service (LUIS)","archived":true,"fork":false,"pushed_at":"2022-12-09T06:27:39.000Z","size":3622,"stargazers_count":85,"open_issues_count":31,"forks_count":138,"subscribers_count":37,"default_branch":"master","last_synced_at":"2024-08-03T02:03:49.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Azure-Samples.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-11T22:29:46.000Z","updated_at":"2024-04-22T16:13:29.000Z","dependencies_parsed_at":"2022-08-17T20:00:40.197Z","dependency_job_id":null,"html_url":"https://github.com/Azure-Samples/cognitive-services-language-understanding","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fcognitive-services-language-understanding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fcognitive-services-language-understanding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fcognitive-services-language-understanding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fcognitive-services-language-understanding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure-Samples","download_url":"https://codeload.github.com/Azure-Samples/cognitive-services-language-understanding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223903071,"owners_count":17222485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T02:00:35.047Z","updated_at":"2025-04-22T18:31:12.200Z","avatar_url":"https://github.com/Azure-Samples.png","language":"C#","funding_links":[],"categories":["Azure"],"sub_categories":[],"readme":"# core-bot\r\nDemonstrate the core capabilities of the Microsoft Bot Framework\r\n\r\nThis bot has been created using [Bot Framework][1].\r\n\r\nThis samples shows how to:\r\n- Use [LUIS][11] to implement core AI capabilities\r\n- Implement a multi-turn conversation using Dialogs\r\n- Handle user interruptions for such things as Help or Cancel\r\n- Prompt for and validate requests for information from the user\r\n- Demonstrate how to handle any unexpected errors\r\n\r\n\r\n## Prerequisites\r\n- [Node.js][4] version 10.14 or higher\r\n    ```bash\r\n    # determine node version\r\n    node --version\r\n    ```\r\n# To run the bot locally\r\n- Download the bot code from the Build blade in the Azure Portal (make sure you click \"Yes\" when asked \"Include app settings in the downloaded zip file?\").\r\n    - If you clicked \"No\" you will need to copy all the Application Settings properties from your App Service to your local .env file.\r\n- Install modules\r\n    ```bash\r\n    npm install\r\n    ```\r\n- Run the bot\r\n    ```bash\r\n    npm start\r\n\r\n# Testing the bot using Bot Framework Emulator\r\n[Bot Framework Emulator][5] is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.\r\n\r\n- Install the Bot Framework Emulator version 4.3.0 or greater from [here][6]\r\n\r\n## Connect to the bot using Bot Framework Emulator\r\n- Launch Bot Framework Emulator\r\n- File -\u003e Open Bot\r\n- Enter a Bot URL of `http://localhost:3978/api/messages`\r\n\r\n# Deploy the bot to Azure\r\nAfter creating the bot and testing it locally, you can deploy it to Azure to make it accessible from anywhere.\r\nTo learn how, see [Deploy your bot to Azure][40] for a complete set of deployment instructions.\r\n\r\n\r\n# Further reading\r\n- [Bot Framework Documentation][20]\r\n- [Bot Basics][32]\r\n- [Azure Bot Service Introduction][21]\r\n- [Azure Bot Service Documentation][22]\r\n- [Deploying Your Bot to Azure][40]\r\n- [Azure CLI][7]\r\n- [msbot CLI][9]\r\n- [Azure Portal][10]\r\n- [Language Understanding using LUIS][11]\r\n- [Restify][30]\r\n- [dotenv][31]\r\n\r\n[1]: https://dev.botframework.com\r\n[4]: https://nodejs.org\r\n[5]: https://github.com/microsoft/botframework-emulator\r\n[6]: https://github.com/Microsoft/BotFramework-Emulator/releases\r\n[7]: https://docs.microsoft.com/cli/azure/?view=azure-cli-latest\r\n[8]: https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest\r\n[9]: https://github.com/Microsoft/botbuilder-tools/tree/master/packages/MSBot\r\n[10]: https://portal.azure.com\r\n[11]: https://www.luis.ai\r\n[20]: https://docs.botframework.com\r\n[21]: https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0\r\n[22]: https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0\r\n[30]: https://www.npmjs.com/package/restify\r\n[31]: https://www.npmjs.com/package/dotenv\r\n[32]: https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0\r\n[40]: https://aka.ms/azuredeployment\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAzure-Samples%2Fcognitive-services-language-understanding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAzure-Samples%2Fcognitive-services-language-understanding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAzure-Samples%2Fcognitive-services-language-understanding/lists"}