1.17.0 • Published 1 year ago
docs2anschatbot v1.17.0
Docs2AnswerChatbot
Note
This repository created for:
- To embedd llm to your react,next.js.
- Written in typescript to provide typesafety.
Intro
Features
-UI interface for llm -Typescript for type-safety
Getting started
- Copy over the template by cloning this repository and install its dep# Docs2AnswerChatbot
Note
This repository created for:
- To embedd llm to your react,next.js.
- Written in typescript to provide typesafety.
Intro
Features
-UI interface for llm -Typescript for type-safety
Getting started
- Copy over the template by cloning this repository and install its dependencies:
git clone https://github.com/Docs2ans/docs2anschatbot
cd docs2anschatbot
npm install
Rollup watch and build:
for Local development run rollup to watch your src/ module and automatically recompile it into dist/ whenever you make changes.
```bash npm run dev # runs rollup with watch flag ```
-Linking with local react app for testing
npm link "./pathto the docs2answer repositiory"
Scripts:
npm run build
: builds the library todist
npm run dev
: builds the library, then keeps rebuilding it whenever the source files change.npm test
: tests the library and show the coverage.npm run lint
: runs eslint.
registry=https://registry.npmjs.org/
@YOUR_GITHUB_USERNAME:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_AUTH_TOKEN
Tutorials and inspirations used to create this boilerplate
- big thanks to this tuto and his author : https://dev.to/alexeagleson/how-to-create-and-publish-a-react-component-library-2oe#adding-scss
License
MIT. endencies:
git clone https://github.com/Docs2ans/docs2anschatbot
cd docs2anschatbot
npm install
Rollup watch and build:
for Local development run rollup to watch your src/ module and automatically recompile it into dist/ whenever you make changes.
```bash npm run dev # runs rollup with watch flag ```
-Linking with local react app for testing
npm link "./pathto the docs2answer repositiory"
Scripts:
npm run build
: builds the library todist
npm run dev
: builds the library, then keeps rebuilding it whenever the source files change.npm test
: tests the library and show the coverage.npm run lint
: runs eslint.
registry=https://registry.npmjs.org/
@YOUR_GITHUB_USERNAME:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_AUTH_TOKEN
Tutorials and inspirations used to create this boilerplate
- big thanks to this tuto and his author : https://dev.to/alexeagleson/how-to-create-and-publish-a-react-component-library-2oe#adding-scss
License
MIT.