0.3.7 • Published 2 months ago
docsgpt v0.3.7
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
You can find the source code in the extensions/react-widget folder.
0.3.7
2 months ago
0.3.6
2 months ago
0.3.5
2 months ago
0.3.4
2 months ago
0.3.3
2 months ago
0.3.0
2 months ago
0.3.2
2 months ago
0.3.1
2 months ago
0.2.4
8 months ago
0.2.3
8 months ago
0.2.2
8 months ago
0.2.1
8 months ago
0.2.0
8 months ago
0.1.9
8 months ago
0.1.8
8 months ago
0.1.7
8 months ago
0.1.6
8 months ago
0.1.5
8 months ago
0.1.4
8 months ago
0.1.3
8 months ago
0.1.2
8 months ago
0.1.1
8 months ago
0.1.0
8 months ago