Has anyone used an A.i voice chat bot do have an interactive character yet?

Not favoritedFavorited Favorited 0 favourites
  • 10 posts
From the Asset Store
Chat with smart animals using the OpenAi Chat GPT 3 API
  • I was wondering if anyone has used an a.i chat bot as an interactive character yet?

    Seems to be a upcoming popular concept.

    Interested in hearing if anyone's played with this yet.

  • O.K got it working on my desktop but in IOS I get an error:

    An error occured

    Undefined is not an object (evaluating 'navigator.mediaDevices.getUserMedia')

    Here is the event code (Note I changed the agent id as I don't want folks reading this to burn through my credits:

    if (!document.getElementById("budo-voice")) {

    const convoDiv = document.createElement("elevenlabs-convai");

    convoDiv.setAttribute("agent-id", "jusandexample");

    convoDiv.id = "budo-voice";

    // ✨ Centering the widget in the screen

    convoDiv.style.position = "fixed";

    convoDiv.style.top = "50%";

    convoDiv.style.left = "50%";

    convoDiv.style.transform = "translate(-50%, -50%)";

    convoDiv.style.zIndex = "9999";

    convoDiv.style.width = "300px"; // optional

    convoDiv.style.height = "auto"; // optional

    document.body.appendChild(convoDiv);

    const script = document.createElement("script");

    script.src = "https://elevenlabs.io/convai-widget/index.js";

    script.async = true;

    script.type = "text/javascript";

    document.body.appendChild(script);

    }

  • wait u made an AI character that can talk back?

  • Yes. I was using eleven labs for the voice. You upload a character behavior template and its A.I uses that as its guidelines. For example if you tell it that it is an old wizard and is grumpy. It will behave that way.

  • wow do you need any addons to make it do that?

  • No, I just created an 'agent' with eleven labs which handles the conversation and open that with an iframe in construct.

  • wow u must be a pro dev

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • God no, I'm a newbie. It's not that hard.

  • u using event sheets or JS or TS?

    im too noob i use es

  • Undefined is not an object (evaluating 'navigator.mediaDevices.getUserMedia')

    Here is the event code (Note I changed the agent id as I don't want folks reading this to burn through my credits:

    if (!document.getElementById("budo-voice")) {

    const convoDiv = document.createElement("elevenlabs-convai");

    convoDiv.setAttribute("agent-id", "jusandexample");

    convoDiv.id = "budo-voice";

    // ✨ Centering the widget in the screen

    convoDiv.style.position = "fixed";

    convoDiv.style.top = "50%";

    convoDiv.style.left = "50%";

    convoDiv.style.transform = "translate(-50%, -50%)";

    convoDiv.style.zIndex = "9999";

    convoDiv.style.width = "300px"; // optional

    convoDiv.style.height = "auto"; // optional

    document.body.appendChild(convoDiv);

    const script = document.createElement("script");

    script.src = "https://elevenlabs.io/convai-widget/index.js";

    script.async = true;

    script.type = "text/javascript";

    document.body.appendChild(script);

    }

    this is the work of a pro

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)