Browse Source
update readme
Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
1 changed files with
3 additions and
2 deletions
-
README.md
|
|
@ -8,7 +8,8 @@ |
|
|
|
|
|
|
|
## Desription |
|
|
|
|
|
|
|
Search embedding in [Faiss](https://github.com/facebookresearch/faiss), **please make sure you have inserted data to Faiss before search**. |
|
|
|
|
|
|
|
Only for local test. If you want to use a vector database in a production environment, you can use Milvus(https://github.com/milvus-io/milvus). |
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
@ -23,7 +24,7 @@ Search embedding in [Faiss](https://github.com/facebookresearch/faiss), **please |
|
|
|
*Write a same pipeline with explicit inputs/outputs name specifications:* |
|
|
|
|
|
|
|
```python |
|
|
|
from towhee.dc2 import pipe, ops |
|
|
|
from towhee import pipe, ops |
|
|
|
|
|
|
|
p = pipe.input('vec') \ |
|
|
|
.flat_map('vec', 'rows', ops.ann_search.faiss('./data_dir', 5)) \ |
|
|
|