langchain-chatbot
Enrichment pendingThis code is an implementation of a chatbot using LLM chat model API and Langchain.
GraphCanon updated today · GitHub synced today
Trust & integrity
Full report- Maintenance
- Dormant (472d since push)
- As of today · Source: github_public_v1
- Provenance
- Not a fork · Personal account
- As of today · Source: github_public_v1
- Security (OSV)
- No lockfile
- As of today · Source: none
Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.
Overview
This code is an implementation of a chatbot using LLM chat model API and Langchain.
Capability facts
- Deploy
- Self-host
Source: dockerfile:Dockerfile · Jul 11, 2026
- Docker
- Dockerfile present
Source: dockerfile:Dockerfile · Jul 11, 2026
- Languages
- python
Source: github.language · Jul 11, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Jul 11, 2026)
1. Clone repo: `git clone https://github.com/btrcm00/chatbot-with-langchain.git`Source link
Source: README excerpt (regex_v1, Jul 11, 2026)
2. Install packages: `npm install`Source link
Source: README excerpt (regex_v1, Jul 11, 2026)
# Edit the .env file to add your OpenAI API keySource link
Source: README excerpt (regex_v1, Jul 11, 2026)
1. `python -m spacy download en_core_web_md`Source link
Tags
README
Quick Start with Setup Script
The easiest way to run the entire application is using our setup script:
-
Make the script executable:
chmod +x setup.sh -
Run the setup script:
./setup.sh -
Follow the prompts:
- The script will create necessary .env files if they don't exist
- Choose between Docker Compose deployment or local development
- The script will guide you through the rest of the setup process
For Windows users, use setup.bat instead.
Quick Start with Docker Compose Manually
If you prefer to run the commands manually:
-
Set up environment variables:
# For backend cp backend/.env.example backend/.env # Edit the .env file to add your OpenAI API key # For frontend cp frontend/.env.example frontend/.env -
Start the application:
docker-compose up -d -
Access the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8080
- API documentation: http://localhost:8080/docs
-
Stop the application:
docker-compose down
Running Locally (without Docker)
- Download the models for the languages to use in anonymizer. PII support.
python -m spacy download en_core_web_md
- RUN backend
- Clone repo:
git clone https://github.com/btrcm00/chatbot-with-langchain.git - Add google-cloud-platform credential file to
secure/vertexai.jsonor set up OpenAI API key cd backend- Install required packages:
pip install -r requirements.txt - Create MongoDB database and config environment variables to connect Mongo
- Run:
python -m uvicorn backend.main:app --reload --host 0.0.0.0 --port 8080
- Clone repo:
- RUN frontend
cd frontend- Install packages:
npm install - Start frontend:
npm run dev