0.5.5 • Published 2 months ago

docsgpt-bot v0.5.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

DocsGPT react widget

This widget will allow you to embed a DocsGPT assistant in your React app.

Installation

npm install  docsgpt

Usage

    import { DocsGPTWidget } from "docsgpt";

    const App = () => {
      return <DocsGPTWidget />;
    };

To link the widget to your api and your documents you can pass parameters to the component.

    import { DocsGPTWidget } from "docsgpt";

    const App = () => {
      return <DocsGPTWidget 
             apiHost = 'http://localhost:7001',
             selectDocs = 'default', 
             apiKey = '',
             avatar = 'https://d3dg1063dc54p9.cloudfront.net/cute-docsgpt.png',
             title = 'Get AI assistance',
             description = 'DocsGPT\'s AI Chatbot is here to help',
             heroTitle = 'Welcome to DocsGPT !',
             heroDescription='This chatbot is built with DocsGPT and utilises GenAI, please review important information using sources.'
             />;
    };

Our github

DocsGPT

You can find the source code in the extensions/react-widget folder.

0.4.9

2 months ago

0.4.8

2 months ago

0.5.4

2 months ago

0.5.3

2 months ago

0.4.7

2 months ago

0.5.5

2 months ago

0.4.6

2 months ago

0.5.0

2 months ago

0.5.2

2 months ago

0.5.1

2 months ago

4.0.8

2 months ago

4.0.7

2 months ago

4.0.6

2 months ago

4.0.5

2 months ago

4.0.4

2 months ago

4.0.1

2 months ago

4.0.0

2 months ago

4.0.3

2 months ago

4.0.2

2 months ago

0.3.0

2 months ago

0.3.6

2 months ago

0.3.5

2 months ago

0.3.8

2 months ago

0.3.7

2 months ago

0.3.2

2 months ago

0.3.1

2 months ago

0.3.4

2 months ago

0.3.3

2 months ago

0.2.9

2 months ago

0.2.8

2 months ago

0.2.7

2 months ago

0.2.6

2 months ago

0.2.5

2 months ago