Remove "entity_type" and "weight" from the schema
This commit is contained in:
parent
fc60b902e5
commit
a896e78969
1 changed files with 0 additions and 7 deletions
|
|
@ -44,12 +44,6 @@ class MilvusVectorDBStorage(BaseVectorStorage):
|
||||||
max_length=512,
|
max_length=512,
|
||||||
nullable=True,
|
nullable=True,
|
||||||
),
|
),
|
||||||
FieldSchema(
|
|
||||||
name="entity_type",
|
|
||||||
dtype=DataType.VARCHAR,
|
|
||||||
max_length=128,
|
|
||||||
nullable=True,
|
|
||||||
),
|
|
||||||
FieldSchema(
|
FieldSchema(
|
||||||
name="file_path",
|
name="file_path",
|
||||||
dtype=DataType.VARCHAR,
|
dtype=DataType.VARCHAR,
|
||||||
|
|
@ -67,7 +61,6 @@ class MilvusVectorDBStorage(BaseVectorStorage):
|
||||||
FieldSchema(
|
FieldSchema(
|
||||||
name="tgt_id", dtype=DataType.VARCHAR, max_length=512, nullable=True
|
name="tgt_id", dtype=DataType.VARCHAR, max_length=512, nullable=True
|
||||||
),
|
),
|
||||||
FieldSchema(name="weight", dtype=DataType.DOUBLE, nullable=True),
|
|
||||||
FieldSchema(
|
FieldSchema(
|
||||||
name="file_path",
|
name="file_path",
|
||||||
dtype=DataType.VARCHAR,
|
dtype=DataType.VARCHAR,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue