Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

DuckDuckGo

This OVOS skill answers factual questions with DuckDuckGo Instant Answers. It uses ovos-ddg-plugin to query the API and extract facts from the results.

Install

pip install ovos-skill-ddg

Examples

  • "search DuckDuckGo for Stephen Hawking"
  • "who is Marie Curie"
  • "what is the Eiffel Tower"
  • "when was Albert Einstein born"
  • "Isaac Newton"

How it works

The skill takes part in three OVOS pipeline stages.

Pipeline Trigger Priority
Padacioso intent (search_duck.intent) Explicit "search DuckDuckGo for …" phrases High
Common Query Open factual questions routed by the common-query pipeline none
Fallback Any utterance not claimed by another skill 90 (last resort)

The skill sends queries to the DuckDuckGo Instant Answers API through ovos-ddg-plugin. The plugin handles:

  • Infobox field extraction: structured facts (birthdate, nationality, occupation, …) matched with locale-aware Padacioso intents
  • Abstract text: encyclopedic summary sentences
  • Keyword extraction fallback: when a conversational phrase returns no result, the skill extracts keywords and re-queries (this needs ovos-rake-keyword-extractor or a compatible plugin)

The skill detects blacklisted domains (weather, reminders, alarms, timers, music, calls) with per-locale vocabulary files and routes them to the matching skill instead.

Supported languages

37 locales cover all languages in the DuckDuckGo API locale mapping.

ar bg ca cs da de el en es et fi fil fr he hr hu id it ja ko lt lv ms nb nl pl pt ro ru sk sl sv th tr uk vi zh

Related projects

Category

Information

Tags

#duckduckgo #query #search-engine #searchengine

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_skill_ddg-0.3.9a3.tar.gz (64.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_skill_ddg-0.3.9a3-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

Details for the file ovos_skill_ddg-0.3.9a3.tar.gz.

File metadata

  • Download URL: ovos_skill_ddg-0.3.9a3.tar.gz
  • Upload date:
  • Size: 64.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_skill_ddg-0.3.9a3.tar.gz
Algorithm Hash digest
SHA256 3b8736ba9db5443e4acfec33b26dcaf1cda248cffc1b07ae652cbc4e3e323eb1
MD5 17085890b2c423c6c65c53eb2b936f10
BLAKE2b-256 011ecf949cc7f720ac3846920f89f5fb3ee5827769ec5120ab7a3412fd014324

See more details on using hashes here.

File details

Details for the file ovos_skill_ddg-0.3.9a3-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_ddg-0.3.9a3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e68d9b961ad888bc0c79408e6ef86111207c4a3178d252045154ae1cbc90623
MD5 30e40ea5e348a7632a07d239f680f10a
BLAKE2b-256 d0baa90c2bf776dfb78bd9f31da1e4131609e9c7cbffd6bd6e30c009a60f10e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page