diff --git a/backend/open_webui/apps/webui/routers/memories.py b/backend/open_webui/apps/webui/routers/memories.py index 4680f27ab..d659833bc 100644 --- a/backend/open_webui/apps/webui/routers/memories.py +++ b/backend/open_webui/apps/webui/routers/memories.py @@ -81,7 +81,7 @@ async def query_memory( request: Request, form_data: QueryMemoryForm, user=Depends(get_verified_user) ): results = VECTOR_DB_CLIENT.search( - name=f"user-memory-{user.id}", + collection_name=f"user-memory-{user.id}", vectors=[request.app.state.EMBEDDING_FUNCTION(form_data.content)], limit=form_data.k, )