Repo for an example to build very simple chatbot UI using LangChain.
Install Ollama and install llama3
.
- Runtime: Python 3.10+
- Create virtual environment.
python3 -m venv .env
- Enter the LangChain project.
cd langchain
pip install -r requirements.txt
- Run the LangChain server (
http://localhost:8000
).
python main.py
- Web-Server: node 16+
- Web-Browser: latest version of Edge / Chrome / Firefox
- Start web server
cd ui
node server.js
- Visit
http://localhost:8001
.