IBM components (Db2 Vector Store + watsonx.ai LLM and embeddings) as a standalone Langflow Extension Bundle.
Project description
lfx-ibm
IBM components — Db2 Vector Store plus watsonx.ai LLM and embeddings — as a standalone Langflow Extension Bundle.
This bundle ships three components:
DB2VectorStoreComponent— wraps theDB2VSLangChain-compatible vector store and exposes Db2's native vector search through Langflow's standard vector-store palette entry.WatsonxAIComponent— chat/text-generation against IBM watsonx.ai foundation models vialangchain-ibm'sChatWatsonx.WatsonxEmbeddingsComponent— embeddings via watsonx.ai'sWatsonxEmbeddingsmodel.
It follows the documented porting recipe in
src/bundles/PORTING.md.
Install
pip install lfx-ibm
The bundle is registered automatically via the langflow.extensions
entry-point. After install, restart your Langflow server; the three
components appear in the palette under the ibm bundle group.
Platform notes:
- The
ibm-dbdriver does not ship a prebuilt wheel forlinux/aarch64; the dep is gated with a marker sopip installsucceeds on that architecture, butDB2VectorStoreComponentwill fail to build the vector store at runtime there. Use an x86_64 image or installibm-dbfrom source if you need Db2 on aarch64.ibm-watsonx-aiandlangchain-ibmupstream pin<3.14. The marker gates both deps the same way, so the watsonx components are only importable on Python 3.13 and below until upstream lifts the cap.
Develop
cd src/bundles/ibm
pip install -e .
lfx extension validate src/lfx_ibm
Manifest
The extension manifest is shipped at src/lfx_ibm/extension.json and
points at the bundle at components/ibm. Components register under the
canonical namespaced IDs:
ext:ibm:DB2VectorStoreComponent@officialext:ibm:WatsonxAIComponent@officialext:ibm:WatsonxEmbeddingsComponent@official
Migration
Saved flows referencing the legacy bare class names
(DB2VectorStoreComponent, WatsonxAIComponent,
WatsonxEmbeddingsComponent) or the old import paths
(lfx.components.ibm.<module>.<Class> and the package-level
lfx.components.ibm.<Class> forms) are rewritten to the new namespaced
IDs by the migration table in
src/lfx/src/lfx/extension/migration/migration_table.json.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lfx_ibm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lfx_ibm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d9ee293c3588f8c09b7b4d653320671f1357830fe759d9cd3326c7574430deb
|
|
| MD5 |
e700f0d16e764b1376ce168fdb1292db
|
|
| BLAKE2b-256 |
20c2b28124671b7b42dedf04385857eebfc5161c3329b2668c6d60c381e715f6
|