diff --git a/README.md b/README.md index 414786e..e04b10c 100644 --- a/README.md +++ b/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. - +
**Returns:** MutationResult