logo
Browse Source

Add README

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
main
shiyu22 2 years ago
parent
commit
813d2ab78e
  1. 4
      README.md

4
README.md

@ -12,7 +12,7 @@
### **Create Milvus collection** ### **Create Milvus collection**
Before running the pipeline, please create Milvus collection first.
Before running the pipeline, please [create Milvus collection](https://milvus.io/docs/v2.0.x/create_collection.md) first.
> The `dim` is the dimensionality of the feature vector generated by the configured `model` in the `eqa-insert` pipeline. > The `dim` is the dimensionality of the feature vector generated by the configured `model` in the `eqa-insert` pipeline.
@ -22,7 +22,7 @@ from pymilvus import connections, FieldSchema, CollectionSchema, DataType, Colle
collection_name = 'chatbot' collection_name = 'chatbot'
dim = 384 dim = 384
connections.connect(host='172.16.70.4', port='19530')
connections.connect(host='127.0.0.1', port='19530')
fields = [ fields = [
FieldSchema(name='id', dtype=DataType.INT64, descrition='ids', is_primary=True, auto_id=True), FieldSchema(name='id', dtype=DataType.INT64, descrition='ids', is_primary=True, auto_id=True),

Loading…
Cancel
Save