docs: describe the context window, the identity and the live transcription
The three things that decide whether the assistant remembers anything are not obvious from the code: the system prompt carries the identity and the fact that the history is its memory, the replayed context is bounded per project, and the requested context window decides how much of it survives Ollama's truncation. Record the measured numbers, the acoustic rules of the live capture, and the known limit that a 3B model still mishandles a recap question about the very first message.
This commit is contained in:
6 files changed
+89
-9
No files matched your search
@@ -27,4 +27,10 @@ OLLAMA_URL=http://localhost:11434
|
||||
OLLAMA_MODEL=qwen2.5:3b
|
||||
# Durée pendant laquelle Ollama garde le modèle en mémoire après le dernier appel
|
||||
OLLAMA_KEEP_ALIVE=30m
|
||||
# Fenêtre de contexte demandée à Ollama. Son défaut (souvent 4096 jetons) supprime
|
||||
# silencieusement les messages LES PLUS ANCIENS d'une longue conversation :
|
||||
# l'assistant répond alors comme s'il n'avait pas d'historique.
|
||||
OLLAMA_NUM_CTX=16384
|
||||
# Remplace le prompt système par défaut (qui porte l'identité et le rappel que
|
||||
# l'historique est sa mémoire) :
|
||||
# JARVIS_SYSTEM_PROMPT=Tu es Jarvis...
|
||||
Reference in new issue
Block a user