mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #6556] [CLOSED] fix: fix memory collection name handling for milvus #21908
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/6556
Author: @jasonpnnl
Created: 10/29/2024
Status: ❌ Closed
Base:
dev← Head:6550-fix-memory-creation-for-milvus📝 Commits (1)
6c80c3ffix memory collection name handling for milvus📊 Changes
2 files changed (+19 additions, -5 deletions)
View changed files
📝
backend/open_webui/apps/webui/routers/memories.py(+6 -5)📝
backend/open_webui/apps/webui/utils.py(+13 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This adds a utility function that sets the collection name for collections created by the Memories feature depending on whether the vector db in use is Milvus or not. If it is Milvus it replaces any dashes with underscores as Milvus does not support dashes in collection names.
Fixed
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.