docs2anschatbot
TypeScript icon, indicating that this package has built-in type declarations

1.17.0 • Public • Published

Docs2AnswerChatbot

Note

This repository created for:

  1. To embedd llm to your react,next.js.
  2. 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:

  1. To embedd llm to your react,next.js.
  2. 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 to dist
  • 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

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 to dist
  • 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

License

MIT.

Package Sidebar

Install

npm i docs2anschatbot

Weekly Downloads

1

Version

1.17.0

License

MIT

Unpacked Size

115 kB

Total Files

55

Last publish

Collaborators

  • suyashlade