SitePal’s community support is here to offer support, solve problems, share ideas, and update our customers about the latest from SitePal!
+1
Answered

How long does it to process a refund invoice to work?

Winstone Choi 11 years ago in SitePal Platinum updated 11 years ago 2
The internet banking system for my credit card company still shows that I should pay for thoses mistakenly purchased invoices (538579,538580,538581) which were cancelled on your part. My account information shows that your published refund invoices for them (respectively 538635, 538634, 538633). Because the total amoun is not small, I am worried about if the cancellation for the invoices are on the process. Please let me know if you are properly working on them. Thanks for your kind support in advance!
0
Answered

CORS policy access for google cloud voices

Francisco Iacobelli 5 days ago in SitePal Platinum updated by Gil Sideman 4 days ago 2

In my application, whenever I call sayText with one of the traditional voices all works fine. Now, I have a platinum plan and I linked my google cloud api key. All voices work when I test them inside SitePal. However, when I try to call those voices from sayText in localhost:5000, I get the following chain of errors:

sitepal:1 Access to XMLHttpRequest at 'http://cache-a.oddcast.com/tts/genC.php?EID=91&LID=2&VID=11&TXT=Hello%20Alice%2C%20it%27s%20great%20to%20have%20you%20here.&EXT=mp3&FNAME=&ACC=8688641&SceneID=2756818&HTTP_ERR=' from origin 'http://localhost:5000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

VHSSEngine_R.js:24 GET http://cache-a.oddcast.com/tts/genC.php?EID=91&LID=2&VID=11&TXT=Hello%20Alice%2C%20it%27s%20great%20to%20have%20you%20here.&EXT=mp3&FNAME=&ACC=8688641&SceneID=2756818&HTTP_ERR= net::ERR_FAILED 503 (The server is temporarily unable to fulfill the request. OK to re-resubmit.)
load @ VHSSEngine_R.js:24
cf @ VHSSEngine_R.js:28
Aa @ VHSSEngine_R.js:28
FU @ VHSSEngine_R.js:2
cN @ VHSSEngine_R.js:2
sayUrlWithID3 @ VHSSEngine_R.js:7
sayUrl @ VHSSEngine_R.js:7
_playAudio @ sitepalPlayer_v1.js:1
playAudio @ sitepalPlayer_v1.js:1
(anonymous) @ sitepalPlayer_v1.js:1
setInterval
vhsshtml5_callAudiotoPlay @ sitepalPlayer_v1.js:1
handleProcessAudioRequestsCall @ sitepalPlayer_v1.js:1
vhssHTML_handleProcessAudioRequests @ sitepalPlayer_v1.js:1
sayText @ sitepalPlayer_v1.js:1
chatResponse @ sitepal.js:717
(anonymous) @ sitepal.js:656
Promise.then
startSystem @ sitepal.js:644
vh_sceneLoaded @ sitepal.js:743
vhssHTML5_loadedCallback @ sitepalPlayer_v1.js:1
(anonymous) @ sitepalPlayer_v1.js:1
(anonymous) @ sitepalPlayer_v1.js:1
Promise.then
checkUserInteraction @ sitepalPlayer_v1.js:1
characterFullyLoaded @ sitepalPlayer_v1.js:1
(anonymous) @ VM817 VHSSEngine_R.js:7
(anonymous) @ VM817 VHSSEngine_R.js:8
(anonymous) @ VM817 VHSSEngine_R.js:14
eH @ VM817 VHSSEngine_R.js:20
(anonymous) @ VM817 VHSSEngine_R.js:14
F9.req.onload @ VM817 VHSSEngine_R.js:7
XMLHttpRequest.send
F9 @ VM817 VHSSEngine_R.js:7
(anonymous) @ VM817 VHSSEngine_R.js:14
(anonymous) @ VM817 VHSSEngine_R.js:7
L5.load.image.onload @ VM817 VHSSEngine_R.js:13


sitepal:1 Access to XMLHttpRequest at 'http://cache-a.oddcast.com/tts/genC.php?EID=91&LID=2&VID=11&TXT=I%20understand%20you%20might%20be%20concerned%20due%20to%20the%20recent%20discovery%20of%20BRCA1%20gene%20mutation.%20In%20order%20to%20guide%20you%20appropriately%2C%20can%20you%20share%20with%20me%20whether%20you%20have%20had%20any%20breast%20screening%20tests%20such%20as%20a%...' from origin 'http://localhost:5000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

VHSSEngine_R.js:24 GET http://cache-a.oddcast.com/tts/genC.php?EID=91&LID=2&VID=11&TXT=I%20understand%20you%20might%20be%20concerned%20due%20to%20the%20recent%20discovery%20of%20BRCA1%20gene%20mutation.%20In%20order%20to%20guide%20you%20appropriately%2C%20can%20you%20share%20with%20me%20whether%20you%20have%20had%20any%20breast%20screening%20tests%20such%20as%20a%... net::ERR_FAILED 503 (The server is temporarily unable to fulfill the request. OK to re-resubmit.)

Answer
Gil Sideman 4 days ago

Hello Francisco!

The parameters you are using for the say text call appear to be invalid.

EID (the engine ID)  is 91 - there is no such engine. 

I think you have the EID and VID switched.  The Google 3rd party engine is 11.

If you switch those two values in the API call it should work fine.

Please check & let me know if I can further assist.

Regards,

Gil

The SitePal Team

0
Under review

TTS ocassionally fails when using SSML

Amogh Lele 4 months ago in SitePal Platinum updated by Gil Sideman 4 months ago 1

When SSML is included in the text, TTS functionality will ocassionally fail.

A simple way to replicate this is to use the TTS demo at ttsdemo.com with the following text:

Shop opening times in Tokyo vary, but most department stores and malls open around <say-as interpret-as="time" format="hms24">10:00</say-as> or <say-as interpret-as="time" format="hms24">11:00</say-as> and close by <say-as interpret-as="time" format="hms24">20:00</say-as> or <say-as interpret-as="time" format="hms24">21:00</say-as>. Smaller shops and shopping streets may have different hours. Is there a specific shop or area youre interested in?

I believe it's due to the SDK chunking text into 2 separate chunks, which I saw in the API requests being made
Here are the two API requests made below. If you look closely, the first one gets cut off at <say-as interpret-as="time" format=, and the next request continues from where it was cut off ("hms24").
 

Image 256

Image 257


The API documentation for the sayText() function mentions that two streams would be used for 900 characters, but this is well below the 900 character limit as can be seen. Even if it exceeds 900 characters, we would like it to seamlessly be able to use SSML since it's an important part of our application.

Thank you in advance for any help you can provide.

0
Under review

XMLHttpRequest blocked by CORS policy

pavel cernocky 1 year ago in SitePal Platinum updated by Gil Sideman 1 year ago 3

Hello Gil,

we have a problem, that sometimes we get this error in browser console, when calling sayText().

Image 250

It happens unpredictable, once in a while. When this happen, the avatar does not say anything.

Are we doing something wrong or is it a problem on your side?

Thank you,

Pavel

0
Fixed

Problems using stopSpeach() function

pavel cernocky 2 years ago in SitePal Platinum updated by Gil Sideman 2 years ago 19

Hi.

We would like to use repeatibly sayText() and stopSpeech(), but we are encountering problems.

After few calls, the sayText() does not start speaking.


My colleague created a Github repo based on your Vue.js example and added a sequence of sayText() and stopSpeech() commands to demonstrate this problem.
This link points to commit with our changes to your example:

https://github.com/dominikbrno/Sitepal-vue/commit/c719d1aabbb0f5c62c1bdf2e1b78067ae78ff70a


If I run the example on my computer (3d photoface -> sayText() button), then it always skips the third sentence.

Could you please guide us how to fix this problem?

Thank you.

Answer
Gil Sideman 2 years ago

Hi Pavel - this issue should now be fixed. Please clear your browser cache and let me know if you still see the problem.

Best,

Gil

0
Started

CORS error - React JS

Krusho 2 years ago in SitePal Platinum updated by Gil Sideman 2 years ago 4

Access to XMLHttpRequest at 'http://cache-a.oddcast.com/tts/genB.php"from origin has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

We have added our domain in the licensed domains and still facing the above error


Enviroment React JS

0
Completed

i tried to change the avtr but after saving the avatar did not changed

rajeev854180 2 years ago in SitePal Platinum updated by Gil Sideman 2 years ago 2
0
Answered

How to connect to the MS TTS?

tayswix13 2 years ago in SitePal Platinum updated by Gil Sideman 2 years ago 2

How do I connect to the Microsoft Azure TTS service? The API References documentation currently only includes Google as the TTS engine.

Answer
Gil Sideman 2 years ago

Hello! 

This feature is not yet officially introduced, still in Beta review.

Send us an email to support@sitepal.com if you would like to receive the provisional voice list & API instructions.

Regards,

Gil

The SitePal Team

0
Fixed

Error when upload custom loader

AND ITALIA 3 years ago in SitePal Platinum updated by Gil Sideman 3 years ago 4

I'm try to upload my custom loader,

but i get back from backend an error with invalid column when saving to DB.

Image 212

Answer
Gil Sideman 3 years ago

Hello!


This issue has been fixed & verified. Apologies for the inconvenience.

Please try again to upload your custom loader & let us know if any problem is encountered.


Best regards,

Gil

The SitePal Team

0
Answered

say function to avatar

AND ITALIA 3 years ago in SitePal Platinum updated by Gil Sideman 3 years ago 4

Hello,

I'm try to send an method to the scene, but JS say me is not a function.

This is an example: https://jsfiddle.net/moku23/05ycdsvr/5/

Answer
Gil Sideman 3 years ago

Hello!

There is no function called say me or sayme or say.

There are three main speech functions that you should become familiar with - 

1. sayAudio - to speak previously uploaded or recorded audios

2. sayText - for realtime Text-to-Speech audio

3. sayAI - for user interaction with your SitePal Bot (or 3rd party bot)

To become more familiiar with using our API I recommend reading the introduction section in our Client API reference document on our support page.

Here is a direct link - 

https://www.sitepal.com/docs/vhost_API_Reference.pdf


On our support page - www.sitepal.com/support - you will also find links to dozens of technical examples demonstrating how to use our API. Please peruse those examples, and feel free to copy their source code to your own page to get started.

Regarding the test page you shared above - In your page you are trying to call the function saySilent (please look un in the reference doc what it does). But it will not work before your character has loaded. 

You should use the callback function vh_sceneLoaded to find out when it is safe to call the API.

Finally, if you have specific questions - please send us a note to support@sitepal.com - and we will be happy to look into and advise.

I hope this helps,

Gil

ps. great character!