Home

Awesome

Chatbot with Langchain, LangSmith.

Requirement

Description

PII for chatbot

How to use

Setup tracing with Langsmith

Running

  1. Download the models for the languages to use in anonymizer. PII support.
    1. python -m spacy download en_core_web_md
  2. RUN backend
    1. Clone repo: git clone https://github.com/btrcm00/chatbot-with-langchain.git
    2. Add google-cloud-platform credential file to secure/vertexai.json
    3. cd chatbot
    4. Install required packages: pip install -r requirements.txt
    5. Create MongoDB database and config environment variables to connect Mongo.
    6. Run: python app.py
  3. RUN frontend
    1. cd chatbot_frontend
    2. Install packages: npm i
    3. Start frontend: npm start dev