Skip to content

jina-ai/docsQA-ui

Repository files navigation

<qa-bot>

<qa-bot> is the UI part of DocQA. It's a web component built with Lit.

<qa-bot> is just a HTML element. You can have it anywhere you can use HTML!

<qa-bot></qa-bot>

Configure with attributes

<qa-bot> can be configured with attributes in plain HTML.

<qa-bot 
    server="https://jina-ai-jina.docsqa.jina.ai" 
    open
    site="https://docs.jina.ai" 
    target="_blank"
    avatar-src="https://jina.ai/assets/images/logo.svg"
    >
</qa-bot>

Install

<qa-bot> is distributed on npm, so you can install it locally or use it via npm CDNs like jsdelivr.

<script src="https://cdn.jsdelivr.net/npm/qabot"></script>