Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ouonline committed Nov 12, 2024
1 parent 53827a0 commit b67d5d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lazyllm/tools/rag/milvus_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def __init__(self, group_embed_keys: Dict[str, Set[str]], embed: Dict[str, Calla
if self._fields_desc:
for key, desc in self._fields_desc.items():
field_list.append(pymilvus.FieldSchema(name=self._gen_field_key(key),
dtype=self._type2milvus[desc.data_type],
max_length=desc.max_length,
default_value=desc.default_value))
dtype=self._type2milvus[desc.data_type],
max_length=desc.max_length,
default_value=desc.default_value))

schema = pymilvus.CollectionSchema(fields=field_list, auto_id=False, enable_dynamic_fields=False)
self._client.create_collection(collection_name=group, schema=schema,
Expand Down

0 comments on commit b67d5d8

Please sign in to comment.