Back to Langflow

lfx-duckduckgo

src/bundles/duckduckgo/README.md

1.10.0.dev411.3 KB
Original Source

lfx-duckduckgo

DuckDuckGo Search component as a standalone Langflow Extension Bundle.

This is the LE-1023 (B1) pilot — the first provider extracted from lfx.components.<provider> into a separate distribution. The bundle ships a single component, DuckDuckGoSearchComponent, which performs DuckDuckGo web searches via langchain-community.

Install

bash
pip install lfx-duckduckgo

The bundle is registered automatically via the langflow.extensions entry-point. After install, restart your Langflow server; the DuckDuckGoSearchComponent will appear in the palette under the duckduckgo bundle group.

Develop

bash
cd src/bundles/duckduckgo
pip install -e .
lfx extension validate .

Manifest

The extension manifest is shipped at src/lfx_duckduckgo/extension.json and points at the bundle at components/duckduckgo. Components register under the canonical namespaced ID ext:duckduckgo:DuckDuckGoSearchComponent@official.

Migration

Saved flows referencing the legacy class name DuckDuckGoSearchComponent or the old import path lfx.components.duckduckgo.duck_duck_go_search_run.DuckDuckGoSearchComponent are rewritten to the new namespaced ID by the migration table in src/lfx/src/lfx/extension/migration/migration_table.json.