mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-02 08:17:48 +08:00
Feat: record user_id in memory (#13585)
### What problem does this PR solve? Get user_id from canvas and record it. ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -249,11 +249,13 @@ async def search_message():
|
||||
top_n = int(args.get("top_n", 5))
|
||||
agent_id = args.get("agent_id", "")
|
||||
session_id = args.get("session_id", "")
|
||||
user_id = args.get("user_id", "")
|
||||
|
||||
filter_dict = {
|
||||
"memory_id": memory_ids,
|
||||
"agent_id": agent_id,
|
||||
"session_id": session_id
|
||||
"session_id": session_id,
|
||||
"user_id": user_id
|
||||
}
|
||||
params = {
|
||||
"query": query,
|
||||
|
||||
Reference in New Issue
Block a user