Reference

Environment reference

Controls for endpoint access, retrieval, model loading, file roots, and bounded remote context.

Endpoint and model

VariableDefaultDescription
API_KEYOpenAI-compatible API key.
BASE_URLhttps://api.openai.com/v1LLM endpoint; remote endpoints require HTTPS.
LLM_MODELdeepseek-chatChat and query-decomposition model.
LLM_TEMPERATURE0.2Generation temperature.
EMBEDDING_MODEL_NAMEall-MiniLM-L6-v2Embedding model identifier.

Retrieval

VariableDefaultDescription
LLM_TOP_K_MIN12Minimum retrieved chunks.
LLM_TOP_K_MAX70Maximum retrieved chunks.
ALPHA0.7Graph RAG fusion weight.
RAG_WATCH_DIRDirectory watched by the TUI.

Safeguards

VariableDefaultDescription
MNEME_DOCUMENT_ROOTOptional allowed root.
MNEME_MAX_DOCUMENT_BYTES52428800Maximum document size, 50 MiB.
MNEME_MAX_PDF_PAGES2000Maximum PDF pages.
MNEME_MAX_REMOTE_CONTEXT_CHARS60000Maximum remote context.
MNEME_ALLOW_INSECURE_HTTPunsetExplicit non-local HTTP override.
Read with the product boundary

These controls do not make indexed documents trusted instructions. Mneme treats retrieved text as data and keeps source metadata in the answer context.

Search Mneme documentation