logo
Browse Source

Update README

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
main
shiyu22 3 years ago
parent
commit
7dd3ebf2fc
  1. 4
      README.md

4
README.md

@ -25,7 +25,7 @@ and connected Milvus before loading the data.**
import towhee
towhee.dc(your_embeddings) \
.ann_insert.milvus(uri='tcp://localhost:19530/my_collection')
.ann_insert.milvus(uri='tcp://<milvus-host>:<milvus-port>/<collection-name>')
```
*Write a same pipeline with explicit inputs/outputs name specifications:*
@ -34,7 +34,7 @@ towhee.dc(your_embeddings) \
import towhee
towhee.dc['vec'](your_embeddings) \
.ann_insert.milvus['vec', 'results'](uri='tcp://localhost:19530/my_collection') \
.ann_insert.milvus['vec', 'results'](uri='tcp://<milvus-host>:<milvus-port>/<collection-name>') \
.show()
```

Loading…
Cancel
Save