@memori.ai/memori-webcomponent
Version:
WebComponent to integrate a Memori in your app or website
35 lines (32 loc) • 2.39 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Memori WebComponent Example</title>
<!-- Dev: load from source so Parcel bundles it (avoids "exports undefined" with pre-built dist). -->
<script defer="" src="/index.2d3ace14.js"></script>
<!-- Production / published demo:
<script defer type="module" src="../dist/memori-webcomponent.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@memori.ai/memori-webcomponent/dist/memori-webcomponent.js"></script>
-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@memori.ai/memori-react@8.28.0/dist/styles.min.css">
</head>
<body style="box-sizing: border-box; margin: 0; padding: 0; position: relative">
<div id="demo-disclaimer" style="width: calc(100% - 1rem); z-index: 1000; box-sizing: border-box; background: #ffffffbf; border-radius: 10px; margin: .5rem; padding: 1rem; font-family: "Exo 2", sans-serif; position: fixed">
<button style="cursor: pointer; background: none; border: 0; padding: .5rem; font-size: 1rem; position: absolute; top: .5rem; right: .5rem" onclick="document.getElementById('demo-disclaimer').remove()">
X
</button>
<p style="margin: 0 0 .5rem">
This is a demo, some functionalities as STT and TTS depend on additional
subscription keys so they might not work.
</p>
<nav>
<a href="https://aisuru.com/en" target="_blank" style="margin-right: .5rem; display: inline-block">AIsuru</a>
<a href="https://github.com/memori-ai/memori-webcomponent" target="_blank" style="margin-right: .5rem; display: inline-block">GitHub</a>
</nav>
</div>
<memori-client memoriname="Layout Storybook" ownerusername="Andrea-Patini" memoriid="ae20fc5a-cc15-4db9-b7dd-2cd4a621b85e" owneruserid="91dbc9ba-b684-4fbe-9828-b5980af6cda9" tenantid="aisuru-staging.aclambda.online" engineurl="https://engine-staging.memori.ai/memori/v2" apiurl="https://backend-staging.memori.ai/api/v2" baseurl="http://localhost:3000" layout="WEBSITE_ASSISTANT" avatar3dhidden="true" uilang="IT" spokenlang="IT" showclear="false" showonlylastmessages="true" integrationid="716f4728-919c-4015-aae1-88998a081c6f">
</memori-client></body>
</html>