71 lines
2.7 KiB
Properties
71 lines
2.7 KiB
Properties
# =============================================================================
|
||
# Dokumenten-Check Backend – Konfiguration
|
||
# =============================================================================
|
||
|
||
quarkus.application.name=dc-backend
|
||
quarkus.http.port=8090
|
||
|
||
# =============================================================================
|
||
# API-Key Absicherung (Env: DC_API_KEY)
|
||
# Leer = Auth deaktiviert (nur für lokale Entwicklung)
|
||
# =============================================================================
|
||
dc.api.key=${DC_API_KEY:}
|
||
|
||
# =============================================================================
|
||
# KI-Modelle (Ollama-kompatibler Endpunkt)
|
||
# =============================================================================
|
||
dc.ai.base-url=https://ollama.aquantico.de
|
||
dc.ai.api-key=324GF44-50AA-4B57-9386-K435DLJ764DFR
|
||
|
||
# Hauptmodell: Auswertung + Übersetzung
|
||
dc.ai.main.model=qwen3.6:35b-a3b-q4_K_M
|
||
dc.ai.main.timeout=300s
|
||
dc.ai.main.max-retries=2
|
||
dc.ai.main.temperature=0.1
|
||
|
||
# Katalog-Generierungsmodell: längerer Timeout für vollständige Katalog-Analyse
|
||
dc.ai.catalog.model=qwen3.6:35b-a3b-q4_K_M
|
||
dc.ai.catalog.timeout=1200s
|
||
dc.ai.catalog.max-retries=1
|
||
dc.ai.catalog.temperature=0.1
|
||
|
||
# OCR-Modell: Bildtext-Extraktion aus PDF-Seiten
|
||
dc.ai.ocr.model=qwen3.6:35b-a3b-q4_K_M
|
||
dc.ai.ocr.timeout=120s
|
||
dc.ai.ocr.max-retries=2
|
||
|
||
# =============================================================================
|
||
# ORDS REST Client
|
||
# =============================================================================
|
||
# Basis-URL des ORDS-Servers (Schema-Pfad anpassen)
|
||
quarkus.rest-client.ords-api.url=http://ords:8080/ords/ai_dev
|
||
quarkus.rest-client.ords-api.scope=jakarta.inject.Singleton
|
||
quarkus.rest-client.ords-api.connect-timeout=10000
|
||
quarkus.rest-client.ords-api.read-timeout=60000
|
||
|
||
# ORDS-Authentifizierung (OAuth2 Bearer Token – leer = kein Auth in Dev)
|
||
dc.ords.bearer-token=
|
||
|
||
# =============================================================================
|
||
# Logging
|
||
# =============================================================================
|
||
quarkus.log.level=INFO
|
||
quarkus.log.category."de.frigosped".level=DEBUG
|
||
|
||
# KI-Kommunikation mitloggen (nur in Dev)
|
||
%dev.dc.ai.log-requests=true
|
||
%dev.dc.ai.log-responses=true
|
||
%prod.dc.ai.log-requests=true
|
||
%prod.dc.ai.log-responses=true
|
||
|
||
# =============================================================================
|
||
# Jackson: snake_case für ORDS-Responses
|
||
# =============================================================================
|
||
quarkus.jackson.property-naming-strategy=SNAKE_CASE
|
||
|
||
# =============================================================================
|
||
# OpenAPI
|
||
# =============================================================================
|
||
quarkus.smallrye-openapi.path=/openapi
|
||
quarkus.swagger-ui.always-include=true
|