Coder Social home page Coder Social logo

holobot's Introduction

HoloBotDemo

本项目使用 Bing Speech API, Bot Framework, LUIS 实现在Hololens端应用内的中文语音问答流程

本项目中使用到的LUIS及Bot Framework相关后端代码请参考 BotDemo 中的 VendingMachineBotDemo

文件说明

HoloBot 文件夹中包含HoloLens客户端Unity工程

准备工作

本工程可以直接使用Unity打开,编译并部署到HoloLens设备中运行 如需使用自定义Bot和LUIS后端,请下载 VendingMachineBotDemo 代码,订阅 Bot Framework, LUIS 的KEY,并在代码的相应位置进行替换 代码中提供的 Bing Speech 的KEY为免费订阅,可以自行申请并在代码的相应位置进行替换

Bing Speech API

1、进入 申请地址 ,点击创建,登陆并获取Subscription Key

2、修改 HoloBot\Assets\Scripts\SpeechToText.cs,添加Subscription Key

Bot Framework

1、进入 Bot管理后台 登陆并创建Bot,获取BotId, AppId, AppPassword

2、修改下载的BotDemo项目中的 BotDemo/VendingMachineBotDemo/Bot Application2/Web.config,添加BotId,AppId,AppPassword

3、添加Direct Line Channel

4、获取Direct Line Key

5、修改 HoloBot\Assets\Scripts\BotService.cs ,添加Direct Line Key

LUIS

1、进入 LUIS管理后台 ,新增LUIS App  

2、获取 LUIS App Id 和 LUIS Endpoint Key

3、修改下载的BotDemo项目中的 BotDemo/VendingMachineBotDemo/Bot Application2/LUIS.cs,添加Luis AppId和Key

参考资料

Bing Speech API文档
Bot Framework API文档

holobot's People

Contributors

chrisxinyu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.