logo
Browse Source

update

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 2 years ago
parent
commit
8c2d4c0ed2
  1. 6
      README.md

6
README.md

@ -17,7 +17,7 @@ Search embedding in [Milvus](https://milvus.io/), **please make sure you have in
```python
from towhee.dc2 import pipe, ops, DataCollection
from towhee import pipe, ops, DataCollection
p = pipe.input('text') \
.map('text', 'vec', ops.sentence_embedding.transformers(model_name='all-MiniLM-L12-v2')) \
@ -32,10 +32,10 @@ DataCollection(p('cat')).show()
```
```python
from towhee.dc2 import pipe, ops
from towhee import pipe, ops
# search additional info url:
from towhee.dc2 import pipe, ops, DataCollection
from towhee import pipe, ops, DataCollection
p = pipe.input('text') \
.map('text', 'vec', ops.sentence_embedding.transformers(model_name='all-MiniLM-L12-v2')) \

Loading…
Cancel
Save