feat(llm): lokales llama.cpp-Modell (va_llm) als zentrale, sprachoptimierte KI
- scripts/llm-server/: start/stop/status fuer llama.cpp-Server (Port 8001, GPU 1, Modell Qwen3.6-35B-A3B-Uncensored, Alias va_llm) - alles per ENV ueberschreibbar - Defaults auf den lokalen Server umgestellt (config.py, .example-Configs, .env.example) - Provider local-openai-compatible sprachoptimiert: Reasoning aus (chat_template_kwargs.enable_thinking=false) + knapper Sprach-System-Prompt, optional max_tokens/temperature - Antwort ~9x schneller, kurze vorlesbare Texte - Makefile-Targets llm-up/llm-down/llm-status - Doku (README, BEDIENUNGSANLEITUNG) auf llama.cpp statt Ollama aktualisiert Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
cd7aef852d
commit
28c729f1d4
11 changed files with 323 additions and 31 deletions
13
Makefile
13
Makefile
|
|
@ -6,7 +6,7 @@ endif
|
|||
PORT ?= 8080
|
||||
HOST ?= 0.0.0.0
|
||||
|
||||
.PHONY: ensure-env install run test smoke docker-build
|
||||
.PHONY: ensure-env install run test smoke docker-build llm-up llm-down llm-status
|
||||
|
||||
ensure-env:
|
||||
@if [ ! -f .env ] && [ -f .env.example ]; then \
|
||||
|
|
@ -30,3 +30,14 @@ smoke: ensure-env
|
|||
|
||||
docker-build:
|
||||
docker build -t voice-assistant-gateway .
|
||||
|
||||
# --- Lokales LLM (llama.cpp-Server, zentrale unzensierte KI) -----------------
|
||||
# Konfig per ENV ueberschreibbar, z. B.: GPU_DEVICE=2 HOST_PORT=8101 make llm-up
|
||||
llm-up:
|
||||
bash scripts/llm-server/start-llm-server.sh
|
||||
|
||||
llm-down:
|
||||
bash scripts/llm-server/stop-llm-server.sh
|
||||
|
||||
llm-status:
|
||||
bash scripts/llm-server/status-llm-server.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue