Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Docs: User-level memory is supported in v0.25.0 (#14259)

writinwaters779deadf765c
diff --git a/docs/guides/agent/agent_component_reference/message.md b/docs/guides/agent/agent_component_reference/message.md
index 45e9324dd5..f7254dfdfb 100644
--- a/docs/guides/agent/agent_component_reference/message.md
+++ b/docs/guides/agent/agent_component_reference/message.md
@@ -30,4 +30,12 @@ Click **+ Add message** to add message options. When multiple messages are suppl
Save the conversation to specified memories. Expand the dropdown list to either select all available memories or specified memories:
-![](https://raw.githubusercontent.com/infiniflow/ragflow-docs/main/images/save_to_memory.png)
\ No newline at end of file
+![](https://raw.githubusercontent.com/infiniflow/ragflow-docs/main/images/save_to_memory.png)
+
+### User ID
+
+Enabled by default, indicates whether to link the conversations with the agent app via a user ID. Once activated, you can target specific memories associated with that ID during retrieval.
+
+:::tip NOTE
+RAGFlow allows multiple users to share memory. This feature is therefore associated with **Save to memory**.
+:::
\ No newline at end of file
diff --git a/docs/guides/agent/agent_component_reference/retrieval.mdx b/docs/guides/agent/agent_component_reference/retrieval.mdx
index 2cf791d4d8..910369c577 100644
--- a/docs/guides/agent/agent_component_reference/retrieval.mdx
+++ b/docs/guides/agent/agent_component_reference/retrieval.mdx
@@ -78,12 +78,12 @@ The **Retrieval** component relies on query variables to specify its queries. Al
### Retrieval from
-Select the dataset(s) and memory to retrieve data from.
+Select the dataset(s) or memory to retrieve data from.
-- If no dataset is selected, meaning conversations with the agent will not be based on any dataset, ensure that the **Empty response** field is left blank to avoid an error.
- If you select multiple datasets, you must ensure that the datasets you select use the same embedding model; otherwise, an error message would occur.
-
-![](https://raw.githubusercontent.com/infiniflow/ragflow-docs/main/images/retrieve_from_memory.PNG)
+- If you select **Memory**, configure either of the following:
+ - **Memory**: Retrieve from specific existing memories.
+ - **User ID**: Retrieve from conversations associated with a User ID. See [User ID](./message.md#user-id) for further details.
### Similarity threshold