Web Interaction

Original Discord Post by uday_tople | 2024-10-08 06:23:56

I want the character should interact with website and able to play video

Reply by uday_tople | 2024-10-08 06:27:08

<@1023671043287699568>

Reply by k3kalinix | 2024-10-08 08:59:38

<@884749342949384203> what is the issue?

Reply by uday_tople | 2024-10-08 09:09:51

how should i integrate my character so that he can interact with my website

Reply by k3kalinix | 2024-10-08 09:11:48

Embedded Content:
Smart NPCs in your Web Browser Using PlayCanvas | Convai PlayCanvas…
In this tutorial, we’ll deep-dive into Convai’s integration with @playcanvas, and how virtual developers can leverage it to bring AI characters that can chat naturally, perceive their surroundings, and generate actions directly into the virtual worlds running on the browser. We’ll guide you step-by-step into setting up your first PlayCanvas proj…
Link: https://www.youtube.com/watch?v=Ck72gcSShVw

Reply by k3kalinix | 2024-10-08 09:12:05

Please follow this tutorial.

Reply by uday_tople | 2024-10-08 09:32:35

yes i follow but they didnt show how to use narrative design

Reply by saurav0037 | 2024-10-08 09:39:58

<@884749342949384203> For narrative design you can enable it through playground (convai website).
To invoke trigger you can call the trigger name from convai client:
convaiClient.invokeTrigger("Follow","");

Reply by uday_tople | 2024-10-08 09:40:35

you are from convai team?

Reply by saurav0037 | 2024-10-08 09:43:23

To get the current section :
convaiClient.setResponseCallback(function(response) { if(response.hasBtResponse()){ var btResponse = response.getBtResponse(); if(btResponse.array[2] === <section_id>){ // any code responding to it } } }

Replying to uday_tople’s Message

Reply by uday_tople | 2024-10-08 09:40:35
you are from convai team?

Reply by saurav0037 | 2024-10-08 09:43:32

Yes

Reply by uday_tople | 2024-10-08 09:44:25

okay

Reply by uday_tople | 2024-10-08 09:44:46

let me try

This conversation happened on the Convai Discord Server, so this post will be closed.