mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
ADD FAT WARNING
This commit is contained in:
parent
1773a4d4b8
commit
0e99c43495
1 changed files with 7 additions and 0 deletions
|
|
@ -62,6 +62,13 @@ class MilvusClient(VectorDBBase):
|
||||||
def _get_collection_and_resource_id(self, collection_name: str) -> Tuple[str, str]:
|
def _get_collection_and_resource_id(self, collection_name: str) -> Tuple[str, str]:
|
||||||
"""
|
"""
|
||||||
Maps the traditional collection name to multi-tenant collection and resource ID.
|
Maps the traditional collection name to multi-tenant collection and resource ID.
|
||||||
|
|
||||||
|
WARNING: This mapping relies on current Open WebUI naming conventions for
|
||||||
|
collection names. If Open WebUI changes how it generates collection names
|
||||||
|
(e.g., "user-memory-" prefix, "file-" prefix, web search patterns, or hash
|
||||||
|
formats), this mapping will break and route data to incorrect collections.
|
||||||
|
POTENTIALLY CAUSING HUGE DATA CORRUPTION, DATA CONSISTENCY ISSUES AND INCORRECT
|
||||||
|
DATA MAPPING INSIDE THE DATABASE.
|
||||||
"""
|
"""
|
||||||
resource_id = collection_name
|
resource_id = collection_name
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue