Skip to content

exitNA/opensearch-dify-plugin

Repository files navigation

OpenSearch plugin for Dify

Author: mark
Version: 0.0.2
Type: tool
Github Repo: https://github.com/exitNA/opensearch-dify-plugin.git
Github Issues: issues


Description

This plugin is used to search data in OpenSearch.

opensearch_plugin

Usage

  1. setup your credential
  2. use tool in workflow

credential

credential

  • endpoint: The endpoint of OpenSearch, such as localhost:9200
  • user: The user of OpenSearch, such as xiaoming
  • password: The password of OpenSearch user

Query

query

  • index: The index of OpenSearch
  • query: The OpenSearch query dsl
  • from: The start index of OpenSearch
  • size: The size of OpenSearch

output output variable

  • total: number of total matched docs
  • message: inner status message for debug
  • result: the result document list

More information about OpenSearch query dsl and paginate https://opensearch.org/docs/latest/query-dsl/ https://opensearch.org/docs/latest/search-plugins/searching-data/paginate/#the-from-and-size-parameters

About

opensearch plugin for dify. 适用于dify的opensearch插件

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published