How to connect IBM Voice Gateway or voice agent to other APIs [closed] - watson

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am working on voice agent solution by IBM. I need to understand how can I connect it to database to do verification example policy number. When I created voice agent service it bind it-self with other services like speech to text, text to speech, conversation. Now how can I create a layer in between to get the intent and invoke outside API or connect to database. Is there any way to connect and get data from other api with conversation dialogs. it would be great if some one can guide. I want voice agent to connect to other api to retrieve insurance values and so-forth. Please advise. Thanks S

The architecture you're looking for is the following:
Service Orchestration Engine (SOE)
Essentially its a sort of proxy that stands between the Voice Gateway and the Watson Conversation service.
We have a few samples on our Github repository that will help you get started: https://github.com/WASdev/sample.voice.gateway/tree/master/soe
In the Voice Agent service there should be an option to choose a Service Orchestration Engine - https://console.bluemix.net/docs/services/voice-agent/managing.html#managing

Related

MQTT Broker Without internet [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 months ago.
Improve this question
How can I use a broker of MQTT like mosquitto, for example, without internet?
I've downloaded mosquitto, but I really don't know how to use it in my code.
I'm programming in python, so an answer in python is better for me to understand and use in my project.
We can't really answer your question without knowing what you intend to actually do with MQTT.
What I will say is the following:
A MQTT broker doesn't require "The Internet". They will (normally) require a TCP/IP network, but this can be as simple as just a TCP/IP stack on a single machine.
The broker runs on it's own, you do not (again usually) embed the broker into your application, it is used so multiple applications can pass messages to each other.
For working with any MQTT broker in Python there is the Paho Python library. It's documentation includes examples to get you started.
I suggest you start the broker and then write a couple of test Python applications (one to subscribe to a topic and one to publish to that topic) to get a feel for how things work and if you get stuck you can ask a new question about a specific problem (explaining what you tried, what you expected it to do and how it didn't work).

Bot Framework LUIS on Teams OnPrem [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I'm new in BotFramework and maybe you can help me.
I need to create a bot with LUIS and vinculate it to a MS Teams channel. As far I see, there are not any problem in making this approach directly on Azure, but because of the elevated price I'm looking for the possibily to make it onPrem due to costs reduction.
I have seen that deploy a BOT with a Docker container OnPrem is possible. There are any restriction I should know before start?
Microsoft allow the pages which are publicly available. You can able to access the Public HTML pages. Also You can create and upload a bot to teams. Could you please check this docs.

Bot for Teams with Graph API [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I wanted to develop a Bot for Teams with Graph API.
I referred many documentations , but still didn't get clear picture about this.
Can I build a bot with Graph API (in Teams) without explicit sign in. Since most of the articles are provided with Login option, I want something like single sign on when a bot is deployed in Teams.
If I build a bot in Azure with Graph API, how do i deploy it in Teams?
Please someone shed some light on this.
Thanks in Advance,
Sendil M
With specific to building bot, adding SSO with Teams/tabs, you can get it started using the following documentation and you can see the Node.js, C# samples.
To deploy/distribute the Bot in Microsoft Teams you can get it started from here.

How to connect to a websocket API with Rails? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm trying to connect to a websocket API with Rails 5.1.4 but I don't really know where to start.
I read some tutorials and discovered that Action Cable can suit my need but all the examples are about internal use of websocket (chat, notifications etc) and not to connect to an external API.
My goal is to establish the connection / subscribe to the service and receive the feed in real time. If I can do that, I would be able to continue my project.
I am more looking for a general methodology that the detailed code for my need but I'm trying to connect to this API: https://docs.gdax.com/?ruby#websocket-feed
ActionCable is for setting up websocket servers. It sounds like you are looking for a websocket client. You could check out this gem as a starting point: https://github.com/shokai/websocket-client-simple

IVR setup in PSTN [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to build a IVR system, where the IVR will receive the dial tones from user and reads messages from the database based on the dial tones. I am fairly new in this kind of matter and i have researched about solutions like asterisk but i would like to have detailed information on how to setup this system. I have the simple PSTN RJ-11 line in my office and the customer would dial the number of this line to get connected with the IVR system.
What are the hardware required and how will they be connected?
Is it possible to accept multiple calls?
To accept multiple incoming calls in parallel you need either multiple individual lines from your service provider or a 'trunk' connection (either traditional digital trunk or an IP based SIP trunk).
There are quite a few good detailed Asterix IVR guides - some links from an answer to a similar question are:
http://www.asterisk.org/get-started/applications/ivr
http://www.freepbx.org/support/documentation/administration-guide/creating-an-ivr
setup an IVR with Asterisk
On the hardware side, it depends what connection you end up getting from your service provider, but you will need some sort of line card to terminate the telephony if it is traditional analogue or digital. See this Asterix page for more information:
http://www.asterisk.org/products/telephony-interface-cards
Note that your service provider (or an alternative provider in your area) may be able to provide you SIP / IP based 'trunks' in which case you would not need this extra hardware. It might be worth checking this out depending on your specific requirements and the price etc.

Resources