Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: gen_den on April 02, 2020, 03:12:47 PM

Title: Genesys Intelligent Automation test
Post by: gen_den on April 02, 2020, 03:12:47 PM
Guys,

I have GIA up and running, I need to know how can I test with the existing application provided by GIA, also how can I use it with Google Dialogflow?
Genesys help document is not much of help.

if any pointers would be great.

Thanks
Title: Re: Genesys Intelligent Automation test
Post by: genesysguru on April 02, 2020, 07:28:41 PM
Is this the documentation you are referring to?

https://docs.genesys.com/Documentation/GAAP/Current/iaBots/DialogFlow
Title: Re: Genesys Intelligent Automation test
Post by: gen_den on April 03, 2020, 04:56:45 AM
Yes that's the one I am following .
Title: Re: Genesys Intelligent Automation test
Post by: hsujdik on April 03, 2020, 07:00:45 AM
Hi. What part are you struggling on?
Title: Re: Genesys Intelligent Automation test
Post by: gen_den on April 04, 2020, 05:39:53 AM
Hi,

I can see all the modules in GIA , can you please let me now how can i trigger these modules to verify if its working?
I assume from MCP i can trigger these right? but I cannot see any VXML file which I can use to trigger these modules in GIA.

Can you please suggest how to do that?
Title: Re: Genesys Intelligent Automation test
Post by: hsujdik on April 04, 2020, 08:09:45 PM
You need to point the VXML file in your IVR Profile to the GIA app. Check the link below:
https://docs.genesys.com/Documentation/GAAP/latest/iaBots/DeployingVoicebots

The example would be:
http://<GIA_VUI_SERVER>:<GIA_VUI_PORT>/fish-vui/start/GenesysGVP8_GoogleSR_GoogleSS.jsp?testsiteid=53&istestcall=true&authtoken=303a935e028b1aae234476fed4a591c3b21601b40d3d1351e23384bc0b99700d&mrcpversion=2

The "testsiteid" is the ID of your application in GIA. It is note really clear where you can get it in an easy way. I obtain it from the link I use to open/edit the application in the GIA administration page.

The "authtoken" you can get from the Company Details page, as described on the link I provided above.
Title: Re: Genesys Intelligent Automation test
Post by: gen_den on April 05, 2020, 01:21:05 PM
Hey,

Thanks I was able to trigger the application of GIA using site-id.
however I want to ask what about the Natural Language template and other modules, they don't have site-id parameter , how can I trigger those application?

Any idea?
Title: Re: Genesys Intelligent Automation test
Post by: gen_den on April 05, 2020, 04:56:43 PM
My Goal is to create a Voice bot using Google Dialogflow with a small use case.
If anyone has done it already , it would be great if they can share the details :).

I am trying to do it using documentation but it's not much of help.
Title: Re: Genesys Intelligent Automation test
Post by: hsujdik on April 06, 2020, 03:20:28 AM
The natural language is one of the modules... Unfortunately, my lab has expired its license so I cannot check exactly the steps I performed. If everything is set up properly, you will be able to see your Dialog Flow intents on the last tab of that module.
Title: Re: Genesys Intelligent Automation test
Post by: gen_den on April 06, 2020, 03:50:42 AM
Yes I can see intents and intents created in Dialogflow appears in  GIA :).
I am just trying to figure out to invoke the NLU module.

can you please let  know if you successfully  implemented VoiceBot with Google?
Title: Re: Genesys Intelligent Automation test
Post by: hsujdik on April 07, 2020, 12:51:55 AM
[quote author=AK link=topic=11574.msg52754#msg52754 date=1586145042]
Yes I can see intents and intents created in Dialogflow appears in  GIA :).
I am just trying to figure out to invoke the NLU module.

can you please let  know if you successfully  implemented VoiceBot with Google?
[/quote]
Yes, we did... how is your URL for the IVR Profile? Did you find the site-id for the Natural Language module?

Also, there are some things that are not on the documentation of GIA that I had to do by myself:

1. On the MCPs, you have to set the option [asr].defaultengine to nativegsr. Otherwise, you will be directed to an error application/prompt;
2. On the Configuration parameters of GIA, you have to set the option DialogEngine.Provider to "SlotBucket" (without the quotes).
Title: Re: Genesys Intelligent Automation test
Post by: gen_den on April 07, 2020, 03:46:08 AM
Hey Thanks for the suggestions :)
It works I can invoke the module from MCP using IVR profile. Also i made those changes as you suggested :).

I am able to invoke the Natural Language module. I just need to now focus on creating Intents and logic.

Thanks a lot for your help :) .
Title: Re: Genesys Intelligent Automation test
Post by: gen_den on April 07, 2020, 04:44:58 PM
Hi All,

I have issue in playing the final response to caller which I Have created in Dialogflow.

The final response I get from Google is under variable "NLTextResponse". The Genesys release notes says  that

"The default Text Responses from Google Dialogflow can now be accessed
using the NLTextResponse variable. (SPCHSTRM-2744) "


I am not sure how to access  text in this variable and in which block i have to do that , so I can play it back to caller.
has anyone come across same issue?

Appreciate your help in same.
Title: Re: Genesys Intelligent Automation test
Post by: cavagnaro on April 07, 2020, 06:58:59 PM
I think you need to enable shadow variables
Title: Re: Genesys Intelligent Automation test
Post by: gen_den on April 08, 2020, 04:31:57 AM
Ok I am not sure if I need to enable something in GIA level.
However will check what shadow variable is.
Title: Re: Genesys Intelligent Automation test
Post by: kirkie on July 06, 2020, 02:40:00 PM
Hi Gen_den

Can you give maybe some more information on how you integrated the Google STT and GIA with each other.
Im struggeling with it.

The integration with dialogflow works fine with chat but as a Voice Bot not.
Also how to configure the Google Stt Resource point on the MCP is not that good documented.
So if you can help me it would be great.
Thanks.
Greetings