- Issue created by @fishfree
- 🇫🇷France Asterovim Paris
Note: We need to update the module's help page, the README, and add a notice in each section of the module to clarify this configuration process.
For the Dify Search API module:
Until we update the module documentation, here are the configuration steps for
/admin/config/search/search-api/add-server
:Dataset ID
- Go to your Dify backend and navigate to your dataset (KNOWLEDGE)
- Copy the dataset ID from the URL
Example:
If the link is:https://cloud.dify.ai/datasets/fakedataset-bfde-4f7c-9327-4956f7ef62ae/documents
The dataset ID will be:fakedataset-bfde-4f7c-9327-4956f7ef62ae
Base URL
Use:
https://cloud.dify.ai
API Key
- Navigate to "Knowledge" then "API Access"
- Direct link: https://cloud.dify.ai/datasets?category=api
- Click "API key" in the top right corner
- Generate your API key
Content URL Field Name
If you want to add content URL functionality, follow these steps:
- Go to your dataset in Dify
- Click on "Metadata" in the top right corner
- Create a new "string" field with your chosen URL field identifier
- You can use any name you prefer, for example:
content_url
- In the Dify server configuration, check "Add content URL metadata"
- Enter the field name you previously created