INNER CODE UNIT · JavaScript

dialog

Picovoice/picollm · demo/web/chat/src/main.js:105

      dialog = picoLLM.getDialog();

      initBlock.style.display = "none";
      chatBlock.style.display = "flex";
      status.innerText = "Loading complete.";
    } catch (e) {
      writeError(e.message);
    } finally {
      stopDot();
    }
  };

  message.onkeydown = (ev) => {
    if (ev.key === "Enter") {
      ev.preventDefault();
    }
  };

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…