Back to Langflow

lfx-openai

src/bundles/openai/README.md

1.11.0.dev18732 B
Original Source

lfx-openai

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

Install

bash
pip install lfx-openai

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 openai group with the namespaced IDs ext:openai:<Class>@official.

Develop

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

Migration

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