Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

Added ibm watsonx ai and langchain ibm to Langflow image (#1989)

Lucas Oliveira6d8a4b484a49
diff --git a/Dockerfile.langflow b/Dockerfile.langflow
index 878d9f85d..71f099a66 100644
--- a/Dockerfile.langflow
+++ b/Dockerfile.langflow
@@ -12,11 +12,14 @@ RUN microdnf install -y \
&& microdnf clean all
# Install Langflow with targeted extras and CPU-only wheels for PyTorch/Docling
+# ibm-watsonx-ai and langchain-ibm are needed because they are not included in the pip installation of langflow when python version is 3.14
RUN pip install --no-cache-dir \
--extra-index-url https://download.pytorch.org/whl/cpu \
torch==2.10.0 \
torchvision==0.25.0 \
"langflow-base[docling,openai,anthropic,google,ollama,opensearch,langfuse]==0.9.6" \
+ "ibm-watsonx-ai>=1.3.1,<2.0.0" \
+ "langchain-ibm~=1.1.0" \
uv \
&& pip uninstall -y clickhouse-connect \
&& pip uninstall -y ragstack-ai-knowledge-store