Llama-Server Web Client (PHP)
OpenAI-compatible client for llama-server + MariaDB Vector RAG
Health: ?
Message
Send
Clear
Streaming
RAG
Temperature
Max tokens
RAG top-k
System prompt (optional)
Settings
Close
llama-server
Base URL
API prefix (optional)
API key (optional)
API key mode
both (Authorization + x-api-key)
Authorization only
x-api-key only
If llama-server runs with an API key, set it here. Otherwise leave blank.
Application
Require admin login for dangerous actions
Persist secrets to disk (NOT recommended)
Preferred embedding model (optional)
Pin embedding model (router mode)
Yes (recommended)
No
Pinning keeps the embed model loaded for RAG retrieval queries.
MariaDB Setup (Vector RAG)
Close
Connection
Host
Port
Database name
Credentials
User
Password
Persist secrets to disk
Requires a user with
CREATE DATABASE
/
CREATE TABLE
privileges.
Knowledge Base
Close
—
Refresh
Delete all
Debug Console
Close
Shows server-side JSONL logs (admin-only) and client diagnostics.
Load logs
Admin Login
Close
Password
Admin mode is required for DB init, KB deletion, and model switching when enabled.