0.0.7 • Published 10 months ago

avalant-piece-dify v0.0.7

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

Dify

Description

This piece provides integration with Dify's knowledgebase search functionality. It allows you to search through your Dify knowledgebases and retrieve relevant information.

Authentication

This piece requires the following authentication parameters:

  • API Endpoint: Your Dify API endpoint URL
  • API Key: Your Dify API key

Actions

Search Knowledgebase

Search through a Dify knowledgebase using a query and get relevant results.

Input Parameters

  • Search Query: The query to search for in the knowledgebase
  • Knowledgebase: The ID of the knowledgebase to search in
  • Number of Results: Number of top results to return (default: 3, range: 1-10)
  • Score Threshold: Minimum similarity score threshold for results (default: 0.5, range: 0.0 to 1.0)

Output

Returns a JSON object containing the search results from Dify API.

Example Usage

const searchResults = await actions.search_knowledgebase({
  query: "How to get started?",
  knowledgebase: "kb_123456",
  topK: 3,
  scoreThreshold: 0.5
});
0.0.5

10 months ago

0.0.4

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago