mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
40d7e5089d
commit
db0c576f48
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue