MemoDocumentation
EN

Advanced Settings

Settings for power users who want fine-grained control over Memo's behavior.

Memory / RAG

Controls how the retrieval-augmented generation system fetches context.

Setting Default Description
Top-K 5 Number of most relevant memories to retrieve per query. Higher values provide more context at the cost of relevance and latency.
Similarity Threshold 0.7 Cosine similarity cutoff (0.0–1.0). Only memories scoring above this value are returned. Lower values return more results; higher values are stricter.
Min Similarity 0.4 Absolute minimum similarity. Memories below this are never returned regardless of Top-K. Acts as a hard floor.

Model Parameters

Fine-tune the LLM generation behavior.

Setting Default Description
Temperature 0.7 Controls randomness in output (0.0–2.0). Lower values produce deterministic, focused responses. Higher values increase creativity and variation.
Repeat Penalty 1.1 Penalizes token repetition (>1.0). Higher values reduce word and phrase repetition at the cost of coherence.
Top-P 0.9 Nucleus sampling threshold. Limits token selection to the most probable cumulative mass.
GPU Layers -1 Number of model layers to offload to GPU. -1 offloads all layers. Set to 0 for CPU-only inference. Adjust if VRAM is insufficient.

Network & Access

Control how other devices can connect to Memo.

Setting Default Description
Remote Access off Toggle to allow connections from other devices on the local network. When enabled, API and web UI bind to 0.0.0.0.
API Port 8080 Port for the Memo API server. Must be available and not blocked by a firewall.
Web UI Port 3000 Port for the React web frontend. Change if the default conflicts with other services.
Llama Port auto Port for the llama.cpp server. Set manually to pin a specific port, or use auto for dynamic assignment.

Port Configuration Notes

  • Ports must be unique across all Memo services and any other running applications.
  • If Remote Access is enabled, ensure your firewall allows inbound connections on these ports.
  • The llama server uses a random available port by default to avoid conflicts with parallel instances.