Giter Site home page Giter Site logo

microsoft / botbuilder-calling Goto Github PK

View Code? Open in Web Editor NEW
8.0 10.0 12.0 12.91 MB

An extension of BotBuilder that communicate with PMA platform to perform IVR actions

License: MIT License

C# 64.56% Batchfile 0.19% ASP 0.05% HTML 1.93% PowerShell 0.03% CSS 3.52% JavaScript 16.36% TypeScript 13.36%

botbuilder-calling's People

Contributors

andrea-orimoto avatar brandonh-msft avatar carlosscastro avatar chrimc62 avatar crjens avatar dandriscoll avatar ejadib avatar elliatab avatar evnik avatar huan avatar ibrahimonat avatar jameslew avatar jmendiara avatar matthewshim-ms avatar mikehall-ms avatar mikkhait avatar msft-shahins avatar mulyoved avatar muzahmed avatar nwhitmont avatar pablocastro avatar pchoudhari avatar pcostantini avatar pshelton-skype avatar robstand avatar stevengum avatar stevenic avatar swfbarhr avatar tomlm avatar willportnoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

botbuilder-calling's Issues

[Feature Request] i18n support

System Information (Required)

  • SDK Language: NODE
  • SDK Version: 3.0.1
  • Development Environment: AZURE_BOT_SERVICE

Issue Description

Please add support for other cultures, only en-US is currently supported by Prompt.culture().
So my bot understands french language but only speaks english :(

Code Example

const calling = require('botbuilder-calling');
const playPrompt = new calling.PlayPromptAction(session).prompts([calling.Prompt.text(session, 'Je parle français').culture('fr-FR')]);
session.beginDialog('BotBuilder:Prompts', {
    promptType: calling.PromptType.record,
    action: playPrompt.toAction(),
    maxRetries: 1
});

Steps to Reproduce the Issue

  1. Make a Skype bot with calling enabled
  2. Use PlayPrompt with fr-FR culture
  3. Skype bot speaks in english

Expected Behavior

My bot speaks french.

Actual Results

My bot speaks english.

Microsoft BotBuilder-Calling : Taking input from user

I am working on Microsoft bot-builder calling with skype , And created an application on Node.JS Application. All basic functionality is working fine however there is a scenario to ask user input and store what user have answered with no prior choices available.Please check the code below :

function (session) {
        session.send("Welcome to the dinner reservation.Please tell ur name ?");
    },
    function (session, results) {
        console.log("result---->"+JSON.stringify(results));
}

I am trying to capture the user result for which i have asked the question in session.send.However I am getting {"resumed":0} in logs

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.