I don't know where of the cloud.dify.ai to find out the Dataset ID, Base URL, API Key and Content URL field name on the page /admin/config/search/search-api/add-server

Comments

fishfree created an issue. See original summary.

asterovim’s picture

Category: Support request » Task
Status: Active » Needs work

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

  1. Go to your Dify backend and navigate to your dataset (KNOWLEDGE)
  2. 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

Direct link: https://cloud.dify.ai/datasets?category=api

Look, the right corner, it will be : https://api.dify.ai

API Key

  1. Navigate to "Knowledge" then "API Access"
  2. Direct link: https://cloud.dify.ai/datasets?category=api
  3. Click "API key" in the top right corner
  4. Generate your API key

Content URL Field Name

If you want to add content URL functionality, follow these steps:

  1. Go to your dataset in Dify
  2. Click on "Metadata" in the top right corner
  3. Create a new "string" field with your chosen URL field identifier
  4. You can use any name you prefer, for example: content_url
  5. In the Dify server configuration, check "Add content URL metadata"
  6. Enter the field name you previously created
fishfree’s picture

Thank you very much!

  • asterovim committed 7019317e on 1.0.x
    docs: add cloud.dify.ai configuration steps
    
    Addresses issue #3545581 ('...
asterovim’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

asterovim’s picture

Status: Fixed » Closed (fixed)