langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
51.1k stars 7.36k forks source link

Knowledge page broken link and bug #6686

Closed 0xpili closed 3 months ago

0xpili commented 3 months ago

Self Checks

Provide a description of requested docs changes

The following screenshot is from the Knowledge database.

dosubot[bot] commented 3 months ago

Hey @pili-rod! I'm here to help you with any bugs, questions, or contributions you have. I'm an expert in software development and technical support, so feel free to ask me anything while you wait for a human maintainer.

To resolve the issue where the Knowledge page displays an unexpected message about association and the provided documentation link is not working, you need to check and update the links in the translation file. Specifically, ensure that the embeddingModelTipLink and retrievalSetting.learnMore links are correctly pointing to the appropriate documentation or settings page.

Here is the relevant part of the translation file that you need to verify and potentially update:

const translation = {
  // ... other translations
  form: {
    // ... other form fields
    embeddingModelTip: 'Change the embedded model, please go to ',
    embeddingModelTipLink: 'Settings', // Ensure this link is correct
    retrievalSetting: {
      title: 'Retrieval setting',
      learnMore: 'Learn more',
      description: ' about retrieval method.',
      longDescription: ' about retrieval method, you can change this at any time in the Knowledge settings.',
    },
    // ... other form fields
  },
  // ... other translations
}

export default translation

Make sure that the embeddingModelTipLink and retrievalSetting.learnMore are pointing to valid URLs or paths within your application. If these links are incorrect or broken, update them to the correct paths [1].

Additionally, the message "The Knowledge has not been associated, please go to the application or plug-in to complete the association" is triggered when the knowledge base has not been linked to an application or plug-in. This association process involves steps such as going to the application settings, adding the knowledge base, and configuring the necessary parameters and features [2].

To continue talking to Dosu, mention @dosu.

crazywoola commented 3 months ago

Hello this documentation is deprecated. If you would like to read the content there, please use this link.

https://github.com/langgenius/dify-docs/blob/235d2df858bda840017d47a59932b3fc1146896a/en/guides/application-orchestrate/prompt-engineering/prompt-engineering-expert-mode.md

In several releases ago, we replaced advanced mode with the new workflow.

And yes, this link goes to a wrong place, I will fix it later.

0xpili commented 3 months ago

Looks good now. Thank you!