Gallama UI is a companion frontend for gallama. It doesn't aim to replace existing frontend libraries but instead provides a UI to interact with unique features that gallama offers, such as thinking and artifacts.
Note: Gallama UI is still a work in progress. Feel free to report any bugs you encounter.
- Support for the "thinking" feature, where users can define chain-of-thought thinking in XML format
- Support for the Artifact feature
- Interaction with Gallama backend for model loading/unloading
- Customization of model loading with options such as:
- GPU split
- Tensor parallel
- Draft model for speculative decoding
- Install gallama by following the instructions in the gallama repository.
- Install Node.js (version 20 or above recommended) for your platform.
- Install MongoDB Community. We recommend using Docker.
-
Clone this repository and install dependencies:
git clone https://github.com/yourusername/gallamaui.git cd gallamaui npm install npm run gallama
-
Recommend models:
- Top choices:
Qwen-2.5-32B and Qwen-2.5-72B, Mistral Large
- Second Choices:
Qwen-2-72B, Llama-3.1-70B
- Third Choices:
Yi-34B, Codestral, Gemma-29B
- For more models and how to download them, check out this readme:
https://github.com/remichu-ai/gallama/blob/main/README.md
-
Set up MongoDB using Docker:
docker run --name mongodb -d -p 27017:27017 -v /path/to/your/data:/data/db mongodb/mongodb-community-server:latest
Replace
/path/to/your/data
with the path on your system where you want to store the database.For subsequent runs, you can simply restart the container:
docker restart mongodb
-
Run the UI:
npm run start
-
Access the UI at http://localhost:5173/
Gallama UI interacts with Gallama at port 8000 and with MongoDB at port 27017.
We welcome contributions! Please feel free to submit a Pull Request.
GNU General Public License v3
If you encounter any problems or have any questions, please open an issue in this repository.