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.9a5.tar.gz (64.8 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.9a5-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_skill_ddg-0.3.9a5.tar.gz
  • Upload date:
  • Size: 64.8 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.9a5.tar.gz
Algorithm Hash digest
SHA256 9cbcddca5d64f6e6b009af73dbdc8ba710d7a6a0876d72064e2cdea4b5298318
MD5 57e85c7193643a271e8888be15f0ebdd
BLAKE2b-256 be17d0b6416edf9edfca5c2b342e55e089030a5ece1d1ed5d8398f469100668e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_skill_ddg-0.3.9a5-py3-none-any.whl
Algorithm Hash digest
SHA256 f61c792c8c8a39cf7a7c7a7a4a7e57c0026dbfaf70cc699ef8d3834633a1d921
MD5 14eb47539ba566d88ccf4687b76acd77
BLAKE2b-256 f95fddbdab1e459216c04d384d312a91a74aa1fcc1bd7f49aab434d17f5c9a62

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