aboutsummaryrefslogtreecommitdiffstats
path: root/tools/search_duckduckgo.sh
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-07-05 19:49:26 +0800
committerGitHub <noreply@github.com>2024-07-05 19:49:26 +0800
commit74789b5a72cd8e3261f196f4e7197ddba92947d0 (patch)
treed9029079d8368e4a35a8556aeea50ba40c9939e3 /tools/search_duckduckgo.sh
parentc7e027c6c3176a7684f4e901b8ddb9a0916c5cd8 (diff)
downloadllm-functions-docker-74789b5a72cd8e3261f196f4e7197ddba92947d0.tar.gz
feat: add search tools (#58)
Diffstat (limited to 'tools/search_duckduckgo.sh')
-rwxr-xr-xtools/search_duckduckgo.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/search_duckduckgo.sh b/tools/search_duckduckgo.sh
index c5ab565..a04b1b0 100755
--- a/tools/search_duckduckgo.sh
+++ b/tools/search_duckduckgo.sh
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
set -e
-# @describe Takes in a query string and returns search result from DuckDuckGo.
-# Use it to answer user questions that require dates, facts, real-time information, or news.
-# This ensures accurate and up-to-date answers.
+# @describe Perform a web search using DuckDuckGo API to get up-to-date information or additional context.
+# Use this when you need current information or feel a search could provide a better answer.
# @meta require-tools ddgr
# @env DDG_MAX_RESULTS=5 The max results to return.