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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_skill_ddg-0.3.9a4.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.9a4.tar.gz
Algorithm Hash digest
SHA256 13120b6b16a16c104047b93df74a52509cdfe96fa2c1892609a3641e376766c5
MD5 93c20045f4161595a71e2d71d0b781e2
BLAKE2b-256 84f6ffd9374fcea46fe831eb032563170af0dc23ca3eaaa44f3fb53ab980c5ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_skill_ddg-0.3.9a4-py3-none-any.whl
Algorithm Hash digest
SHA256 8d562013d2ba486e3fb53342d04ca7bbdeafdca638ed1e55e8b5abb736fe8af1
MD5 f5c4363acdc4a54d060b3f572649ff23
BLAKE2b-256 19cd76a1a6dcfe7bba10160dd0dc4ac7984de19ea35a753479662907f9cd3a7f

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