PyChat is a simple Chatbot running on open-source LLMs accessed through Google Colab.
Demo Video URL: https://youtu.be/ruk9odCxLr0
- Clone the repo
git clone
- Install requirements
cd client && npm install
- Run the app
npm run dev
- Open http://localhost:5173 to view it in the browser.
- navigate to server
cd server
in another terminal - add websocket url to
app.py
asURI = <websocket url>
source ./env/bin/activate
to activate virtual environment
- Run the server
uvicorn app:app --reload
- React
- TailwindCSS
- TypeScript
- Google Colab
- Python
- FastAPI
- Websockets
├── client
│ ├── public
│ │ └── vite.svg
│ ├── src
│ │ ├── components
│ │ │ ├── chat
│ │ │ │ ├── TextChatBox.tsx
│ │ │ │ └── TextMessage.tsx
│ │ │ └── layout
│ │ │ ├── Header.tsx
│ │ │ └── LabeledInput.tsx
│ │ ├── pages
│ │ │ ├── Home.tsx
│ │ │ ├── Login.tsx
│ │ │ └── Register.tsx
│ │ ├── app
│ │ │ ├── store.ts
│ │ │ └── historySlice.ts
│ │ ├── App.tsx
│ │ ├── index.css
│ │ ├── main.tsx
│ │ └── typings.d.ts
│ ├── .env
│ ├── .gitignore
│ ├── package.json
│ ├── index.html
│ ├── tsconfig.json
│ └── README.md
├── server
│ └── app.py
├── APIExampleChatStream.py
├── APIExampleStream.py
├── README.md
└── SampleAPI_URLS.png
- Add Text to Speech
- Add Speech to Text