Docs2Answer Logo

    Docs2Answer

    Client

    Embedding chatbot in your react / Next project is simple through our docs2Answer Chatbot package .

    npm install docs2anschatbot

    Importing component

    import {chatbot}from 'docs2answer'

    Usage

    <Chatbot url="server.url.com"/>

    Server

    • 1.DocBot utilizes state-of-the-art Large Language Models to comprehend and respond to user queries with high accuracy, providing a more natural and intuitive interaction.
    • 2.The system processes and comprehends extensive documentation, allowing users to extract relevant information through context-aware conversations.
    • 3.DocBot generates dynamic responses, adapting to the user's questions and providing detailed explanations, examples, or references within the documentation.

    Prequsites

    Python version 3.10.0 needed to run this

    Cloning Repository

    We have seprate Repository for traning Pdf files and Markdown files

    Installing pytorch.bin

    Link
    Download file from above link in /LaMini-T5-738M/

    Directory Creation

    • Creating db folder
    • Creating docs folder
    • Place your documents within the docs folder

    Create vector Embeddings

    To create vector embeddings by running injest.py

    python injest.py

    Start the Server

    To start uvicorn server

    uvicorn server:app --reload