Back to Langflow

lfx-cohere

src/bundles/cohere/README.md

1.11.0.dev18732 B
Original Source

lfx-cohere

Cohere component(s) as a standalone Langflow Extension Bundle.

Install

bash
pip install lfx-cohere

The bundle is registered automatically via the langflow.extensions entry-point. After install, restart your Langflow server; the bundle's components will appear in the palette under the cohere group with the namespaced IDs ext:cohere:<Class>@official.

Develop

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

Migration

Saved flows referencing the legacy class name(s) or the old import paths under lfx.components.cohere.* are rewritten to the new namespaced IDs by the migration table in src/lfx/src/lfx/extension/migration/migration_table.json.