zanderchase / botchat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Botchat 🤖💬

Contribute

To start clone the repo:

https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository

Once cloned set up your own branch:

git checkout -b {your-name}/{your-feature}

Make virtual environment and install necessary requirements:

python3 -m venv env (one time cmd)

source venv/bin/activate

pip install -r requirements.txt

Set environment variables:

export OPENAI_API_KEY={your-api-key}

export SERPAPI_API_KEY={your-api-key}

Run Flask:

make run

File overview

main.py

Main Flask wrapper endpoints

chains

Logic for LLM chains leveraging LangChain

templates

HTML files

static

CSS files

About

License:MIT License


Languages

Language:CSS 42.7%Language:HTML 30.1%Language:Python 27.0%Language:Makefile 0.1%