logo
Browse Source

Update README

main
shiyu22 2 years ago
parent
commit
6d6598189b
  1. 6
      README.md

6
README.md

@ -58,9 +58,7 @@ config.es_host = '127.0.0.1'
config.es_port = '9200'
p = AutoPipes.pipeline('osschat-insert', config=config)
res = p('https://github.com/towhee-io/towhee/blob/main/README.md',
milvus_collection='osschat',
es_index='osschat')
res = p('https://github.com/towhee-io/towhee/blob/main/README.md', 'osschat', 'osschat')
```
Then you can run `collection.flush() ` and `collection.num_entities` to check the number of the data in Milvus as a knowledge base.
@ -151,7 +149,7 @@ The collection name for Milvus vector database, is required when inserting data
***es_index***: str
The index name of elasticsearch.
<br />
**Returns:** MutationResult

Loading…
Cancel
Save