Remove "entity_type" and "weight" from the schema

This commit is contained in:
okxuewei 2025-07-17 12:06:49 +08:00 committed by GitHub
parent fc60b902e5
commit a896e78969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,12 +44,6 @@ class MilvusVectorDBStorage(BaseVectorStorage):
max_length=512,
nullable=True,
),
FieldSchema(
name="entity_type",
dtype=DataType.VARCHAR,
max_length=128,
nullable=True,
),
FieldSchema(
name="file_path",
dtype=DataType.VARCHAR,
@ -67,7 +61,6 @@ class MilvusVectorDBStorage(BaseVectorStorage):
FieldSchema(
name="tgt_id", dtype=DataType.VARCHAR, max_length=512, nullable=True
),
FieldSchema(name="weight", dtype=DataType.DOUBLE, nullable=True),
FieldSchema(
name="file_path",
dtype=DataType.VARCHAR,