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
36.36k stars 4.92k forks source link

The AI agent uses the SearXNG tool to search for information. The information has been found, but the model responded incorrectly. #5885

Open 13428116504 opened 3 days ago

13428116504 commented 3 days ago

Self Checks

Dify version

0.6.11

Cloud or Self Hosted

Cloud

Steps to reproduce

8ca1573336791f6e974d4242dbe47f6

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

dosubot[bot] commented 3 days ago

Hello @13428116504! 👋 I'm here to assist you with bug reports, answer questions, and help you become a contributor. Feel free to ask me anything while waiting for a human maintainer.

The model responds incorrectly despite the correct information being found when querying the weather in Shenzhen using the "searxng_search" tool in Dify version 0.6.11 because the tool does not have a specific handling mechanism for weather-related queries. It performs general searches and returns results based on the search type (page, news, image) and result type (link, text) without parsing or interpreting the content to extract specific information like weather data [1].

To continue talking to Dosu, mention @dosu.

crazywoola commented 3 days ago

Please check the agent log to see if you have used a proper prompt.

13428116504 commented 2 days ago

Please check the agent log to see if you have used a proper prompt. how to check the agent log? thanks

13428116504 commented 2 days ago

Please check the agent log to see if you have used a proper prompt.

yes, you are right,it is prompt problem, thanks,you can close this issue