dify icon indicating copy to clipboard operation
dify copied to clipboard

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

Open xiaohuihuige opened this issue 1 year ago • 4 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.11

Cloud or Self Hosted

Cloud

Steps to reproduce

8ca1573336791f6e974d4242dbe47f6

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

xiaohuihuige avatar Jul 02 '24 13:07 xiaohuihuige

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.

dosubot[bot] avatar Jul 02 '24 13:07 dosubot[bot]

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

crazywoola avatar Jul 02 '24 13:07 crazywoola

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

xiaohuihuige avatar Jul 03 '24 06:07 xiaohuihuige

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

xiaohuihuige avatar Jul 03 '24 06:07 xiaohuihuige