Welcome! Soba provides you with three main projects that work together to provide a solution for interacting with open-source LLM (Large Language Model) servers.
demo_v2.mp4
This soba-frontend project is built using React & Typescript to provide a responsive interface for interacting with a Local LLM server.
- Developed with
ReactandViteusingTypescript. - Utilizes
React Routerfor navigation. - Supports Markdown rendering with
marked.jsand syntax highlighting withhighlight.js.
- Install Node.js: Ensure you have Node.js installed. You can download it from Node.js official website.
- Clone the Repository:
git clone https://github.com/DoudouFanClub/soba-frontend.git cd soba-frontend - Install Dependencies:
npm install
- Run the Development Server:
npm run dev
The soba-server project is developed in Golang to handle database operations, runtime data caching, and communication between the Frontend and LLM Inferer.
- Developed using Golang.
- Uses
MongoDBfor database operations. - Uses
Redisfor caching runtime data.
- Install WSL (Windows Subsystem for Linux): Follow the instructions on the Microsoft WSL Documentation.
- Install MongoDB: Refer to the MongoDB installation guide for your specific operating system.
- Install Redis: Follow the installation instructions from the Redis official documentation.
- Clone the Repository:
git clone https://github.com/DoudouFanClub/soba-server.git cd soba-server - Install Golang: Download and install Go from the official website.
- Install Dependencies:
go mod tidy
- Run the Server:
go run .
This project connects open-source LLM models with the frontend, enabling users to interact with the models directly.
- Developed using Python to integrate with LLM models.
- Uses
ollamafor model management. - Uses
asynciofor asynchronous operations.
- Install Python: Ensure you have Python installed. You can download it from the Python official website.
- Clone the Repository:
git clone https://github.com/DoudouFanClub/soba-inferer.git cd soba-inferer - Install Dependencies:
pip install -r requirements.txt
- Run the Inferer:
python main.py