Browse Source
Update README
Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
main
1 changed files with
2 additions and
2 deletions
-
README.md
|
@ -25,7 +25,7 @@ and connected Milvus before loading the data.** |
|
|
import towhee |
|
|
import towhee |
|
|
|
|
|
|
|
|
towhee.dc(your_embeddings) \ |
|
|
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:* |
|
|
*Write a same pipeline with explicit inputs/outputs name specifications:* |
|
@ -34,7 +34,7 @@ towhee.dc(your_embeddings) \ |
|
|
import towhee |
|
|
import towhee |
|
|
|
|
|
|
|
|
towhee.dc['vec'](your_embeddings) \ |
|
|
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() |
|
|
.show() |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|