From ece9238a414dfb8795d43a355295c0bbd3d4b458 Mon Sep 17 00:00:00 2001 From: shiyu22 Date: Wed, 14 Jun 2023 14:22:07 +0800 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54ae546..287a626 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ from towhee import pipe, ops, DataCollection query = {'match_all': {}} es_search = ( pipe.input('index_name', 'query') - .map(('index_name', 'query'), 'res', ops.elasticsearch.search_client( + .map(('index_name', 'query'), 'res', ops.elasticsearch.osschat_search( host='localhost', port=9200 )) .output('query', 'res')