Skip to content

Web UI for Ollama, OpenAI, Anthropic, Google, Deepseek, OpenRouter, Mistral.ai, Together.ai, Groq.com

License

Notifications You must be signed in to change notification settings

mmo80/alpaca-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpaca WebUI

Alpaca WebUI is a chat conversation interface for working with LLMs, originally built for Ollama and now supporting a wide range of AI providers. It features markup formatting, code syntax highlighting, and lets you use models from providers like OpenAI, Anthropic, Google, Deepseek, OpenRouter, Mistral.ai, Together.ai, Groq.com, and your local or remote Ollama server.

You can upload documents (PDF, TXT, DOCX) for Retrieval-Augmented Generation (RAG), and also attach images or PDFs for LLMs with vision support. The app keeps track of your chat history with automatic title generation, and allows you to modify the system prompt for chat, RAG, and title generation. It lists available models from each provider so you can easily try out different models and see which works best for your needs.

Alpaca WebUI works well on both mobile and desktop devices. You can also generate images using OpenAI’s gpt-image-1 (new), dall-e-3, and dall-e-2 models by setting the image context from the "More" menu.

For added security, API keys used in the app are encrypted and stored in the database. You can set your own secret key for encryption in the environment file.

Docker Pulls

Has

  • Support for your local or remote Ollama server
  • Providers supported:
  • Upload document (pdf, txt, docx) for RAG usage
  • Attach images and PDF files to the chat for LLMs that support it. (which is primarily used for vision interpretation by the LLM)
  • Chat History (with auto title generation)
  • Modify System Prompt for Chat, RAG and title generation
  • Markup Formatting
  • Code Syntax Highlighting
  • List available models for supported api providers
  • Mobile-Friendly and Desktop-Friendly Layout
  • Generate images with OpenAI gpt-image-1(new), dall-e-3 and dall-e-2 models (choose model and click on More-menu to set context for image generation)

Pending Implementation

  • MCP Support
  • Create chat groups with set context/system prompts
  • Web Search
  • Modify Parameters (like temperature, mirostat ...)

Env

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Run the development server:

  1. git clone https://github.com/mmo80/alpaca-webui.git
  2. Setup and install your Weaviate database or just use the docker-compose weaviate file in the repository with the following command docker-compose -f docker-compose.weaviate.yaml up --build --detach.
  3. Check the environment variables in .env.development
  4. Then just run npm install followed by npm run dev 😎

Open http://localhost:3000 with your browser to start using the app.

Docker Compose

This command sets up two containers: one for the app and another for the Weaviate vector database. Remember to change the environment variable CRYPTO_SECRET_KEY in the docker compose file or else it will throw error!

docker compose up --detach

Then Open http://localhost:3033 with your browser to start using the app.

The official Alpaca WebUI Docker Image forloopse/alpaca-webui is available on Docker Hub.

YouTube Overview

v0.7

(Coming soon...)

v0.5

Alpaca WebUI on YouTube

About

Web UI for Ollama, OpenAI, Anthropic, Google, Deepseek, OpenRouter, Mistral.ai, Together.ai, Groq.com

Resources

License

Stars

Watchers

Forks