@isartech/chat
v0.0.6
Published
A reusable native webcomponent that can be initiated with parameters such as an endpoint url and styles in any environment based on web technologies.
Downloads
18
Maintainers
Readme
IsarTech Chat Component
The IsarTech Chat Component is a reusable library for creating chat assistants based on Large Langauge models. It can be used for chat completions of multi turn conversations between an assistant and a user.
Getting started
The easiest way to get started using the chat component in your application is by importing it as a esm module. This can be done as seen in the following example:
<html lang="en">
<head>
<!-- ...... -->
<script type="module" src="https://esm.sh/@isartech/chat" defer></script>
</head>
<body>
<!-- ...... -->
<isartech-chat id="chat-element" url="https://isartech.io/api">
<!-- ...... -->
</body>
</html>
Attributes
Isartech Chat currently exposes the url
attribute. This attribute can be used to set the base URL of the respective API backend.
Attribution
Isartech Chat is built on the following libraries: