CONTROL PLANE
AI Operations
Manage the isolated inference service without exposing its model API.
Service health
A timeout or failed model call falls back in the main LawLens app.
The console checks the sidecar privately.
Quick actions
Common model operations, kept behind operator authentication.
MODEL LIBRARY
Models
Download only models your server can support. Downloads persist across restarts.
nomic-embed-text for local embeddings. Public chat uses Groq GPT-OSS-20B; Ollama is reserved for embeddings and OCR support.Download a model
Enter a model from the Ollama library, such as nomic-embed-text.
Downloads are streamed to persistent storage.
Installed models 0
Model names marked “in use” are protected from accidental removal.
VECTOR SEARCH
Embedding lab
Verify that your selected local model creates the expected vector shape.
Run an embedding test
Text stays on your private server. Only vector size and timing are shown.
VISION INFERENCE
Vision & OCR
Test the real LawLens OCR pipeline: Gemini keys first, Tesseract offline fallback last.
Gateway OCR pipeline
LawLens document OCR: Gemini keys first, Tesseract offline fallback last.
Checking gateway OCR fallback…
Test a document image
JPEG, PNG or WebP · up to 10 MB · images are processed and not stored by the console.
PROVIDER CONTROL
API Providers
Manage Groq and Gemini credentials here; keys are encrypted at rest and never shown again.
LawLens API credentials
Checking gateway credential status…
Generate a client key, a separate knowledge-sync admin key, and the signing secret used for per-user limits. The gateway activates them automatically; no sidecar Compose environment edits are needed.
The console routes requests under /v1/ to the sidecar public-api service on port 8090.
Provider models
These settings are used by LawLens and the public API gateway.
Add a provider key
Groq runs a small chat test. Gemini runs a synthetic image OCR test against the selected OCR model. No user document is sent; the raw key is never returned after saving.
Stored keys 0
Only masked metadata is displayed. Disable a key to remove it from failover without deleting it.