You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/guide/configuration.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,12 +35,16 @@ See [Database Options](/en/guide/database) for backend guidance.
35
35
|`num_pairs`| Conversation rounds required before automatic summarization. |`5`|
36
36
|`top_k`| Number of memories returned by retrieval. |`3`|
37
37
|`contexts_memory_len`| Number of long-term memories injected into context. |`3`|
38
-
|`memory_injection_method`|Inject memory into the user prompt or system prompt. |`user_prompt`|
38
+
|`memory_injection_method`|Use the user prompt, the LLM system prompt, or a separate system message. |`user_prompt`|
39
39
|`memory_injection_position`| Inject before or after the active prompt. |`prepend`|
40
+
|`summary_fallback_provider_id`| Retry with this provider when the primary summarizer fails or returns empty text. | Empty |
41
+
|`summary_speaker_mapping_prompt`| Constrain `user`, `assistant`, and first-person ownership with session and speaker variables. | Built-in mapping |
40
42
|`score_threshold`| Filter out memories below this similarity score. |`0.0`|
41
43
42
44
If memories become too noisy, lower `top_k`, increase `score_threshold`, or reduce `contexts_memory_len`.
43
45
46
+
`memory_injection_position` controls placement for both `user_prompt` and `system_prompt`. `insert_system_prompt` creates a separate system message and may reduce prompt-cache hits on some models; prefer the first two modes when cache stability matters.
Copy file name to clipboardExpand all lines: docs/en/reference/troubleshooting.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,14 @@ nc -vz localhost 19530
39
39
40
40
For Milvus Lite, make sure `milvus_lite_path` points to a writable path.
41
41
42
+
If the log contains `No module named 'pkg_resources'`, an outdated Milvus Lite build is relying on legacy setuptools behavior. Do not downgrade AstrBot's setuptools; upgrade the optional dependency instead:
New Milvus collections use a `session_id` field length of 500. For existing standard Milvus collections, Mnemosyne attempts to expand the old 72-character field online at startup; if the server cannot alter it, upgrade PyMilvus and Milvus and reload the plugin. Milvus Lite does not currently support online field alteration, so use a new collection name or export the old collection and migrate it into a new one. Mnemosyne never drops or rebuilds existing collections automatically.
49
+
42
50
## Memories Disappear After Switching Databases
43
51
44
52
Different vector backends do not share data automatically. After switching, initialize the new backend and rebuild memories over time, or export records from the old backend and import them into the new one.
0 commit comments