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

Question for sayText

nextexchange 4 weeks ago in SitePal Gold updated by Gil Sideman 4 weeks ago 2

1. When I call sayText to make the avatar speak a text, can I store the audio returned from the SitePal server?

2. When I call sayText to make the avatar speak a text, can I monitor the start and end of avatar speaking?

Answer
Gil Sideman 4 weeks ago

Hello!

1.

If you are looking to improve performance - there is no need to store the audio because our built-in caching system already does that for you. We cache over 20M audios on the cloud to ensure that subsequent calls for the same audio take less time.

If your intention is different - please send us a note to support@sitepal.com and explain what you have in mind, we will advise.

2.

Yes, when you call sayText or sayAudio or sayAI - you can use out callbacks to know when audios start speaking & end speech. You can also receive progress callbacks if you want to.

See this example for reference - https://sitepal.com/api/examples/syc_classic.html

And checkout the "callbacks" section in the Client API reference for more information.


Note: Start & End audio callbacks are always sent - all you need to do is setup the JS callback functions to receive them.

To receive progress callbacks you need to turn ON progress attribute using the 'setStatus' call.

Hope this helps!

Regards,

Gil

The SitePal Team

0
Answered

Help with Edu Avatars

americantesol 4 weeks ago in SitePal Gold updated by Gil Sideman 3 weeks ago 6

Hello, we have this page running to help students: https://americantesol.com/tesol-teacher-bethany.html  However recently the teach button stopped working.  Today, I reuploaded a code to fix it, and it seems to be working, however, there is no audio, just the text.  https://americantesol.com/tesol-i-tools.html 

Any recommendations to fix these two pages? Thanks in advance. 

Answer
Gil Sideman 3 weeks ago

Yes, ChatGPT is pre-integrated with SitePal. 

Please review this document & let us know if any questions.

https://sitepal.com/docs/Implementing_Your_AI_Agent.pdf

Regards,

Gil

0
Under review

Uncaught SyntaxError: Unexpected token '<' (at vhost_embed_functions_v4.php?acc=5626448&js=1:1:1)

mustafa abdelkawy16 4 weeks ago updated by Gil Sideman 3 weeks ago 6

Uncaught SyntaxError: Unexpected token '<' (at vhost_embed_functions_v4.php?acc=5626448&js=1:1:1)
I get an error when adding sitepal in nextjs app.
it did work and suddenly not works

Image 237

0
Not a bug

sayTexnot working

mustafa abdelkawy16 3 months ago in SitePal Gold updated by Gil Sideman 3 months ago 4

sayText("Hello my dear friend", 3, 1, 3); doesn't work 
despite it enters the function

Image 232

Answer
Gil Sideman 3 months ago

Hello Mustafa!

I think you are misunderstanding the functionality of our callbacks.  


I suggest to use our technical example as a guide - 

https://sitepal.com/api/examples/saytext_classic.html

copy the source code of the example to your own test page, then replace the embed code in the example with your own, and update your licensed domain - without making any other changes to the page.

This will allow you to get it working with minimum effort - and then you can further adapt to your needs.


Our technical note (mentioned above) guides you step by step in getting started with using dynamic TTS - and that's the best way to start.

Note: there is no need to define any callback function to get sayText to work.


Hope this helps,

Gil

0
Answered

Hi, is it possible to integrate Sitepal avatar into AR headset Microsoft Hololens 2?

maria luisa campanini97 4 months ago updated by Gil Sideman 4 months ago 2
Answer
Gil Sideman 4 months ago

Hello Maria,

We have not explored this & it is not on our current priority list.

If the human interface supports displaying web based content, then that should be possible. 

I'm sorry I cannot provide any definitive answer.

If you look into it further & find out more, pls share your insight.
Regards,

Gil

The SitePal Team

0
Answered

How to connect to the MS TTS?

tayswix13 4 months ago in SitePal Platinum updated by Gil Sideman 4 months 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 4 months 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

Answer
Gil Sideman 4 months ago

Yes, there is. It is an AWS related outage - and we are expecting it to be resolved soon.

For now - please send a note to support@sitepal.com and ask for your new signup to be activated.

We'll take care of it asap.

Regards,

Gil

The SitePal Team

0
Answered

sayText in iframe

info 4 months ago in SitePal Silver updated by Gil Sideman 4 months ago 6

Hello,


how can I trigger the sayText function if i added the avatar with iframe?

Answer
Gil Sideman 4 months ago

We put together a simple React code example that demonstrates loading the SitePal character in an iframe and using API calls. As long as both host page and frame page are loaded from the same domain, this should work fine.

Download code example here - 

www.workboy.com/examples/react-iframe/IframeExample.zip

Hope this helps,

Gil

The SitePal Team

0
Fixed

bug playing audio

jordi 6 months ago in SitePal Gold updated by Gil Sideman 6 months ago 2


Hi, i have a problem when i try to play an audio uploaded manually to your platform, it plays correctly on PC but not on mobile devices where it gives this error. This only happens in mobile devices

Image 227