|
|
@ -32,7 +32,7 @@ fields = [
|
|
|
|
FieldSchema(name="timestamp", dtype=DataType.VARCHAR, max_length=32),
|
|
|
|
FieldSchema(name="timestamp", dtype=DataType.VARCHAR, max_length=32),
|
|
|
|
FieldSchema(name="embedding", dtype=DataType.FLOAT_VECTOR, dim=MS_DIMENSION)
|
|
|
|
FieldSchema(name="embedding", dtype=DataType.FLOAT_VECTOR, dim=MS_DIMENSION)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
schema_description = "Chat records collection with document_id , user_input, and timestamp"
|
|
|
|
schema_description = "Chat records collection with tags , user_input, and timestamp"
|
|
|
|
|
|
|
|
|
|
|
|
# 6. 创建集合
|
|
|
|
# 6. 创建集合
|
|
|
|
print(f"正在创建集合 '{collection_name}'...")
|
|
|
|
print(f"正在创建集合 '{collection_name}'...")
|
|
|
|