Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
92debb1
add control over openrag ingestion params
matanor Dec 10, 2025
32dd774
Merge remote-tracking branch 'remotes/origin/main' into openrag_bench…
matanor Dec 14, 2025
bf716b4
mcp
edwinjosechittilappilly Dec 24, 2025
cf8750d
Add Chat mcp using sdk
edwinjosechittilappilly Dec 26, 2025
a6a473a
update mcp tools
edwinjosechittilappilly Dec 26, 2025
91f90d9
update to add tool registry
edwinjosechittilappilly Dec 26, 2025
86f78c7
Merge tag 'v0.2.0' into openrag_benchmarking_baseline
matanor Dec 28, 2025
24fa7a9
support changes to the index name
matanor Dec 28, 2025
7a372d1
a script for reading and writing to the text splitter component in th…
matanor Dec 29, 2025
9181522
update split text component with the option to choose a text splitter…
matanor Dec 31, 2025
5436f16
add the option to control the splitter_type with the settings endpoint
matanor Dec 31, 2025
f457890
remove not working imports, replace with string for class names
matanor Dec 31, 2025
560ec04
support tokenization with tiktoken for OpenAI models
matanor Dec 31, 2025
1992632
fix validate_enum_str and its use
matanor Dec 31, 2025
579ba6e
add an update of the model_id in the text split component, when a new…
matanor Jan 1, 2026
8c27821
recover for too long prefixes in _chunk_document
matanor Jan 4, 2026
7fdbb80
remove recovery of LineBasedTextSplitter init
matanor Jan 6, 2026
b228629
Optionally delete the index when doing onboarding.
matanor Jan 7, 2026
d3d19ae
fix index exists check
matanor Jan 7, 2026
ac01a4a
remember the index is deleted after deletion
matanor Jan 7, 2026
737249e
control over use_document_title flag
matanor Jan 7, 2026
d123b0e
add handling of use_document_title and fixed list of titles
matanor Jan 7, 2026
078b0a3
print index name in debu message
matanor Jan 7, 2026
556597d
fix use_document_title use
matanor Jan 7, 2026
dd4662f
when updating the index_name also update it in the agent retrieval tool
matanor Jan 7, 2026
41838bf
Add OpenRAG MCP documentation and sequence diagrams
edwinjosechittilappilly Jan 16, 2026
e566a1a
add the option of deleting an existing index during onboarding
matanor Jan 19, 2026
a4693d0
remove redundant f-string
matanor Jan 19, 2026
8fa0cc5
support a custom openai api base
matanor Jan 20, 2026
4252050
Merge branch 'main' into delete_existing_index_in_onboarding
matanor Jan 24, 2026
2f94ac7
adding jwt from env
ajithreji Jan 28, 2026
f34299a
Update search_service.py
ajithreji Jan 28, 2026
14ce0c9
Update pyproject.toml to v0.2.3.0.1
ajithreji Jan 28, 2026
29d2ad2
Update search_service.py with new index search
ajithreji Jan 29, 2026
f21f8a6
Update pyproject.toml
ajithreji Jan 29, 2026
c02e16c
Merge branch 'main' into delete_existing_index_in_onboarding
matanor Jan 29, 2026
90f8b04
Merge remote-tracking branch 'remotes/upstream/main' into custom_open…
matanor Jan 29, 2026
cc2187b
fix merge
matanor Jan 29, 2026
1794b0d
further changes to support custom endpoints
matanor Jan 29, 2026
16a1ad4
add missing field
matanor Jan 29, 2026
c72358e
fix env var name
matanor Jan 29, 2026
e200f6b
openai providers startwith 'openai'
matanor Feb 1, 2026
830271f
revert to a single openai provider
matanor Feb 1, 2026
fe55622
revert to a single openai provider
matanor Feb 1, 2026
7f6ebe6
revert to a single openai provider
matanor Feb 1, 2026
787e5da
fix LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT
matanor Feb 1, 2026
371029f
throw if api_base is not in request or in configuration (as done for …
matanor Feb 1, 2026
13f9dd7
Merge branch 'main' into openrag_benchmarking_baseline
matanor Feb 5, 2026
846cd4b
Merge branch 'main' into delete_existing_index_in_onboarding
matanor Feb 5, 2026
a9a1c7c
make the index name configurable
matanor Feb 5, 2026
1d8b690
additional replacements of INDEX_NAME with get_index_name()
matanor Feb 5, 2026
8466dc4
also update the index nae in the chat flow
matanor Feb 5, 2026
6ccffb8
Merge branch 'main' into custom_openai_api_base
matanor Feb 8, 2026
4241f31
add OPENAI_API_BASE to add_provider_credentials_to_headers() and buil…
matanor Feb 8, 2026
6d2e809
add OPENAI_API_BASE as default for the api_base field of the OPENAI e…
matanor Feb 9, 2026
73ab1b3
add OPENAI_API_BASE to embedder and agent
matanor Feb 9, 2026
6624c4c
when updating an openai api_base, use the OPENAI_API_BASE
matanor Feb 9, 2026
9fbb7cc
add claude-opus to OpenAI allowed LLMs
matanor Feb 9, 2026
9b3429c
Merge branch 'custom_openai_api_base' into openrag_benchmarking_baseline
matanor Feb 9, 2026
e062b69
update openai_api_base when updating the template
matanor Feb 10, 2026
93c07a6
Merge remote-tracking branch 'remotes/upstream/main' into configurabl…
matanor Feb 11, 2026
bd9db6f
revert frontend changes pertaining to index_name
matanor Feb 11, 2026
aa18ef4
Merge branch 'main' into fix_orag_workable
edwinjosechittilappilly Feb 11, 2026
f28b6ab
updated flows service to update global variable instead of flows
lucaseduoli Feb 11, 2026
241ed94
Update search_service.py
ajithreji Feb 12, 2026
cf7101b
Merge branch 'main' into fix_orag_workable
ajithreji Feb 12, 2026
b0940fe
Add MCP settings/models tools and models API
edwinjosechittilappilly Feb 12, 2026
9a25a31
Merge branch 'main' into configurable_index_name
matanor Feb 12, 2026
805bf2c
Merge remote-tracking branch 'remotes/origin/configurable_index_name'…
matanor Feb 12, 2026
7f45721
updates following merge
matanor Feb 12, 2026
cd1bf20
set modify=true when updating langflow index name
matanor Feb 12, 2026
8062138
fix: refactor connectors api and state to show skeleton and store cac…
lucaseduoli Feb 12, 2026
a1199ac
set modify=true when updating langflow index name
matanor Feb 12, 2026
49f423c
remove added newline
matanor Feb 12, 2026
c875d25
Merge branch 'configurable_index_name' into openrag_benchmarking_base…
matanor Feb 12, 2026
14cbdc8
feat: Implement the ability to scale up Langflow and Docling workers...
mpawlow Feb 4, 2026
9f463f1
(bug): Ingesting folder doesn't seem to work
mpawlow Feb 5, 2026
3d5e189
(bug): Ingesting folder doesn't seem to work
mpawlow Feb 10, 2026
58fc15c
fix: Ingesting folder doesn't seem to work
mpawlow Feb 10, 2026
26f06f4
fix: Ingesting folder doesn't seem to work
mpawlow Feb 12, 2026
82e5abb
Add GitHub Action to publish MCP to PyPI
edwinjosechittilappilly Feb 12, 2026
1070bc6
fix: Ingesting folder doesn't seem to work
mpawlow Feb 12, 2026
c5a19b5
Merge pull request #907 from langflow-ai/mp_821
mpawlow Feb 12, 2026
0dfa36a
Merge pull request #956 from langflow-ai/openrag-mcp-ui
edwinjosechittilappilly Feb 12, 2026
648f11b
Configurable index name (#906)
matanor Feb 12, 2026
e61e25b
Bump version to 0.2.4
edwinjosechittilappilly Feb 13, 2026
184eaac
Merge branch 'main' into openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
14871b7
Temporarily disable document tool registrations
edwinjosechittilappilly Feb 13, 2026
1c05abf
Update MCP README: clarify usage & quickstart
edwinjosechittilappilly Feb 13, 2026
4fb52d3
remove not relevant docs
edwinjosechittilappilly Feb 13, 2026
a15c283
Adjust package versions and MCP description
edwinjosechittilappilly Feb 13, 2026
efa5cbc
Update sdks/mcp/src/openrag_mcp/server.py
edwinjosechittilappilly Feb 13, 2026
05e66d2
Merge branch 'main' into fix_orag_workable
edwinjosechittilappilly Feb 13, 2026
f1fdf06
replace PDF
aimurphy Feb 13, 2026
c02de22
Merge pull request #964 from langflow-ai/docs-pre-release-pdf-13-feb-26
aimurphy Feb 13, 2026
a4b3c14
revert change to version
lucaseduoli Feb 13, 2026
bdd8ea7
Merge branch 'main' into fix_orag_workable
edwinjosechittilappilly Feb 13, 2026
ba26c26
Merge branch 'main' into openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
afd91f9
Merge pull request #950 from langflow-ai/fix_orag_workable
edwinjosechittilappilly Feb 13, 2026
4619a09
Merge branch 'main' into openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
0c08270
Remove openrag-sdk dependency
edwinjosechittilappilly Feb 13, 2026
598fe64
Merge branch 'openrag-mcp-test' of https://github.com/langflow-ai/ope…
edwinjosechittilappilly Feb 13, 2026
e2bb04a
Add MCP HTTP client config and apply to client
edwinjosechittilappilly Feb 13, 2026
e9099c2
Merge branch 'main' into release-rc-0.2.4
edwinjosechittilappilly Feb 13, 2026
7a73f54
fix: create env var to skip sample data ingestion, fix bugs on onboar…
lucaseduoli Feb 13, 2026
9a605b3
Merge branch 'main' into openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
321c76e
Merge branch 'main' into release-rc-0.2.4
edwinjosechittilappilly Feb 13, 2026
5a57840
Mark ingest tools as disabled
edwinjosechittilappilly Feb 13, 2026
b829d01
Merge pull request #729 from langflow-ai/openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
6cce1a3
Merge branch 'main' into release-rc-0.2.4
edwinjosechittilappilly Feb 13, 2026
5545a7e
Trigger MCP publish on main and bump version
edwinjosechittilappilly Feb 13, 2026
481e000
Merge branch 'main' into openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
91de150
Merge pull request #965 from langflow-ai/openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
a795955
Use uv for build/publish and add version check
edwinjosechittilappilly Feb 13, 2026
36f12ab
Merge branch 'openrag-mcp-test' of https://github.com/langflow-ai/ope…
edwinjosechittilappilly Feb 13, 2026
e35487e
Merge branch 'main' into openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
b1a428e
Merge pull request #966 from langflow-ai/openrag-mcp-test
edwinjosechittilappilly Feb 13, 2026
63b5d8d
Merge branch 'main' into release-rc-0.2.4
edwinjosechittilappilly Feb 13, 2026
4e8509b
Merge pull request #960 from langflow-ai/release-rc-0.2.4
edwinjosechittilappilly Feb 13, 2026
edd3df2
changes to docker compose to support benchmarking
matanor Feb 15, 2026
6f7db11
Merge remote-tracking branch 'remotes/upstream/main' into delete_exis…
matanor Feb 15, 2026
ff59505
update to use get_index_name() instead of INDEX_NAME
matanor Feb 15, 2026
fff8b75
Merge branch 'delete_existing_index_in_onboarding' into openrag_bench…
matanor Feb 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,26 @@
# If unset or false, Langflow pipeline will be used (default: upload -> ingest -> delete)
DISABLE_INGEST_WITH_LANGFLOW=false

# Set to false to skip ingesting sample data (pdfs) on startup
# Default: true
INGEST_SAMPLE_DATA=true

# Langflow HTTP timeout configuration (in seconds)
# For large documents (300+ pages), ingestion can take 30+ minutes
# Increase these values if you experience timeouts with very large PDFs
# Default: 2400 seconds (40 minutes) total timeout, 30 seconds connection timeout
# LANGFLOW_TIMEOUT=2400
# LANGFLOW_CONNECT_TIMEOUT=30

# Per-file processing timeout for document ingestion tasks (in seconds)
# Should be >= LANGFLOW_TIMEOUT to allow long-running ingestion to complete
# Default: 3600 seconds (60 minutes) total timeout
# INGESTION_TIMEOUT=3600

# OPTIONAL: Maximum number of files to upload / ingest (in batch) per task when adding knowledge via folder
# Default: 25
# UPLOAD_BATCH_SIZE=25

# make one like so https://docs.langflow.org/api-keys-and-authentication#langflow-secret-key
LANGFLOW_SECRET_KEY=

Expand Down Expand Up @@ -103,3 +116,14 @@ LANGFUSE_HOST=
# - A list of comma-separate hostnames may be specified
# - e.g. 9.46.110.49,10.21.103.227,openrag.example.com
NEXT_ALLOWED_DEV_ORIGINS=

# OPTIONAL: Number of worker processes for concurrent request handling
# - Increase for higher throughput; but, factor in CPU / memory constraints
# MAX_WORKERS=4 # Backend ingestion workers (default: min(4, CPU_COUNT // 2))
# LANGFLOW_WORKERS=2 # Langflow workers (default: 1)
# DOCLING_WORKERS=2 # Docling workers (default: 1)

# OPTIONAL: Enable or disable HTTP access logging events
# - e.g. INFO: 127.0.0.1:45132 - "GET /tasks HTTP/1.1" 200 OK
# - Default: true
# ACCESS_LOG=false
59 changes: 59 additions & 0 deletions .github/workflows/publish-mcp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Publish MCP (openrag-mcp)

on:
push:
branches:
- main
paths:
- 'sdks/mcp/pyproject.toml'
workflow_dispatch:

jobs:
publish:
name: Publish to PyPI
runs-on: ubuntu-latest
defaults:
run:
working-directory: sdks/mcp

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Extract version from pyproject.toml
id: version
run: |
VERSION=$(grep -Po '(?<=^version = ")[^"]*' pyproject.toml)
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Check if version already published
id: check
run: |
HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://pypi.org/pypi/openrag-mcp/${{ steps.version.outputs.version }}/json)
if [ "$HTTP_STATUS" = "200" ]; then
echo "exists=true" >> $GITHUB_OUTPUT
else
echo "exists=false" >> $GITHUB_OUTPUT
fi

- name: Build package
if: steps.check.outputs.exists == 'false'
run: uv build

- name: Publish to PyPI
if: steps.check.outputs.exists == 'false'
run: uv publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}

- name: Skip publish (version exists)
if: steps.check.outputs.exists == 'true'
run: echo "Version ${{ steps.version.outputs.version }} already exists on PyPI, skipping publish"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ wheels/
!frontend/*.json
.DS_Store

config/
/config/

.docling.pid

Expand Down
25 changes: 14 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ endef
dev dev-cpu dev-local dev-local-cpu stop clean build logs \
shell-backend shell-frontend install \
test test-integration test-ci test-ci-local test-sdk test-os-jwt lint \
backend frontend docling docling-stop install-be install-fe build-be build-fe logs-be logs-fe logs-lf logs-os \
backend frontend docling docling-stop install-be install-fe build-be build-fe build-os build-lf logs-be logs-fe logs-lf logs-os \
shell-be shell-lf shell-os restart status health db-reset clear-os-data flow-upload setup factory-reset \
dev-branch build-langflow-dev stop-dev clean-dev logs-dev logs-lf-dev shell-lf-dev restart-dev status-dev

Expand Down Expand Up @@ -197,8 +197,10 @@ help_docker: ## Show Docker and container commands
@echo ''
@echo "$(PURPLE)Build Images:$(NC)"
@echo " $(PURPLE)make build$(NC) - Build all Docker images locally"
@echo " $(PURPLE)make build-os$(NC) - Build OpenSearch Docker image only"
@echo " $(PURPLE)make build-be$(NC) - Build backend Docker image only"
@echo " $(PURPLE)make build-fe$(NC) - Build frontend Docker image only"
@echo " $(PURPLE)make build-lf$(NC) - Build Langflow Docker image only"
@echo ''
@echo "$(PURPLE)Container Management:$(NC)"
@echo " $(PURPLE)make stop$(NC) - Stop and remove all OpenRAG containers"
Expand Down Expand Up @@ -534,18 +536,14 @@ install-fe: ## Install frontend dependencies
# DOCKER BUILD
######################

build: ## Build all Docker images locally
@echo "$(YELLOW)Building all Docker images locally...$(NC)"
@echo "$(CYAN)Building OpenSearch image...$(NC)"
$(CONTAINER_RUNTIME) build -t langflowai/openrag-opensearch:latest -f Dockerfile .
@echo "$(CYAN)Building Backend image...$(NC)"
$(CONTAINER_RUNTIME) build -t langflowai/openrag-backend:latest -f Dockerfile.backend .
@echo "$(CYAN)Building Frontend image...$(NC)"
$(CONTAINER_RUNTIME) build -t langflowai/openrag-frontend:latest -f Dockerfile.frontend .
@echo "$(CYAN)Building Langflow image...$(NC)"
$(CONTAINER_RUNTIME) build -t langflowai/openrag-langflow:latest -f Dockerfile.langflow .
build: build-os build-be build-fe build-lf ## Build all Docker images locally
@echo "$(PURPLE)All images built successfully!$(NC)"

build-os: ## Build OpenSearch Docker image
@echo "$(YELLOW)Building OpenSearch image...$(NC)"
$(CONTAINER_RUNTIME) build -t langflowai/openrag-opensearch:latest -f Dockerfile .
@echo "$(PURPLE)OpenSearch image built.$(NC)"

build-be: ## Build backend Docker image
@echo "$(YELLOW)Building backend image...$(NC)"
$(CONTAINER_RUNTIME) build -t langflowai/openrag-backend:latest -f Dockerfile.backend .
Expand All @@ -556,6 +554,11 @@ build-fe: ## Build frontend Docker image
$(CONTAINER_RUNTIME) build -t langflowai/openrag-frontend:latest -f Dockerfile.frontend .
@echo "$(PURPLE)Frontend image built.$(NC)"

build-lf: ## Build Langflow Docker image
@echo "$(YELLOW)Building Langflow image...$(NC)"
$(CONTAINER_RUNTIME) build -t langflowai/openrag-langflow:latest -f Dockerfile.langflow .
@echo "$(PURPLE)Langflow image built.$(NC)"

######################
# LOGGING
######################
Expand Down
21 changes: 16 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
bash -c "
# Ensure data directory has correct permissions
sudo chown -R opensearch:opensearch /usr/share/opensearch/data || true

# Start OpenSearch in background
/usr/share/opensearch/opensearch-docker-entrypoint.sh opensearch &

Expand All @@ -29,7 +29,8 @@ services:
- "9200:9200"
- "9600:9600"
volumes:
- ${OPENSEARCH_DATA_PATH:-./opensearch-data}:/usr/share/opensearch/data:U,z
# If OPENSEARCH_DATA_PATH is set, use host path; otherwise use named volume
- ${OPENSEARCH_DATA_PATH:-opensearch-data}:/usr/share/opensearch/data

dashboards:
image: opensearchproject/opensearch-dashboards:3.0.0
Expand Down Expand Up @@ -62,11 +63,13 @@ services:
- LANGFLOW_INGEST_FLOW_ID=${LANGFLOW_INGEST_FLOW_ID}
- LANGFLOW_URL_INGEST_FLOW_ID=${LANGFLOW_URL_INGEST_FLOW_ID}
- DISABLE_INGEST_WITH_LANGFLOW=${DISABLE_INGEST_WITH_LANGFLOW:-false}
- INGEST_SAMPLE_DATA=${INGEST_SAMPLE_DATA:-true}
- NUDGES_FLOW_ID=${NUDGES_FLOW_ID}
- OPENSEARCH_PORT=9200
- OPENSEARCH_USERNAME=admin
- OPENSEARCH_PASSWORD=${OPENSEARCH_PASSWORD}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- OPENAI_API_BASE=${OPENAI_API_BASE:-None}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- WATSONX_API_KEY=${WATSONX_API_KEY}
- WATSONX_ENDPOINT=${WATSONX_ENDPOINT}
Expand All @@ -80,12 +83,15 @@ services:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- OPENSEARCH_INDEX_NAME=${OPENSEARCH_INDEX_NAME:-documents}
- LOG_LEVEL=${LOG_LEVEL}
volumes:
- ${OPENRAG_DOCUMENTS_PATH:-./openrag-documents}:/app/openrag-documents:Z
- ${OPENRAG_KEYS_PATH:-./keys}:/app/keys:U,z
- ${OPENRAG_FLOWS_PATH:-./flows}:/app/flows:U,z
- ${OPENRAG_CONFIG_PATH:-./config}:/app/config:Z
- ${OPENRAG_DATA_PATH:-./data}:/app/data:Z
ports:
- "8000:8000"

openrag-frontend:
image: langflowai/openrag-frontend:${OPENRAG_VERSION:-latest}
Expand Down Expand Up @@ -116,14 +122,15 @@ services:
- LANGFUSE_HOST=${LANGFUSE_HOST:-}
- LANGFLOW_DEACTIVATE_TRACING
- OPENAI_API_KEY=${OPENAI_API_KEY:-None}
- OPENAI_API_BASE=${OPENAI_API_BASE:-None}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-None}
- WATSONX_API_KEY=${WATSONX_API_KEY:-None}
- WATSONX_ENDPOINT=${WATSONX_ENDPOINT:-None}
- WATSONX_PROJECT_ID=${WATSONX_PROJECT_ID:-None}
- OLLAMA_BASE_URL=${OLLAMA_ENDPOINT:-None}
- LANGFLOW_LOAD_FLOWS_PATH=/app/flows
- LANGFLOW_SECRET_KEY=${LANGFLOW_SECRET_KEY}
- JWT=None
- JWT=None
- OWNER=None
- OWNER_NAME=None
- OWNER_EMAIL=None
Expand All @@ -144,12 +151,16 @@ services:
- MIMETYPE=None
- FILESIZE=0
- SELECTED_EMBEDDING_MODEL=${SELECTED_EMBEDDING_MODEL:-}
- LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT=JWT,OPENRAG-QUERY-FILTER,OPENSEARCH_PASSWORD,OPENSEARCH_URL,DOCLING_SERVE_URL,OWNER,OWNER_NAME,OWNER_EMAIL,CONNECTOR_TYPE,DOCUMENT_ID,SOURCE_URL,ALLOWED_USERS,ALLOWED_GROUPS,FILENAME,MIMETYPE,FILESIZE,SELECTED_EMBEDDING_MODEL,OPENAI_API_KEY,ANTHROPIC_API_KEY,WATSONX_API_KEY,WATSONX_ENDPOINT,WATSONX_PROJECT_ID,OLLAMA_BASE_URL,OPENSEARCH_INDEX_NAME
- LANGFLOW_LOG_LEVEL=DEBUG
- LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT=JWT,OPENRAG-QUERY-FILTER,OPENSEARCH_PASSWORD,OPENSEARCH_URL,DOCLING_SERVE_URL,OWNER,OWNER_NAME,OWNER_EMAIL,CONNECTOR_TYPE,DOCUMENT_ID,SOURCE_URL,ALLOWED_USERS,ALLOWED_GROUPS,FILENAME,MIMETYPE,FILESIZE,SELECTED_EMBEDDING_MODEL,OPENAI_API_KEY,OPENAI_API_BASE,ANTHROPIC_API_KEY,WATSONX_API_KEY,WATSONX_ENDPOINT,WATSONX_PROJECT_ID,OLLAMA_BASE_URL,OPENSEARCH_INDEX_NAME
- LANGFLOW_LOG_LEVEL=${LOG_LEVEL}
- LANGFLOW_WORKERS=${LANGFLOW_WORKERS:-1}
- LANGFLOW_AUTO_LOGIN=${LANGFLOW_AUTO_LOGIN}
- LANGFLOW_SUPERUSER=${LANGFLOW_SUPERUSER}
- LANGFLOW_SUPERUSER_PASSWORD=${LANGFLOW_SUPERUSER_PASSWORD}
- LANGFLOW_NEW_USER_IS_ACTIVE=${LANGFLOW_NEW_USER_IS_ACTIVE}
- LANGFLOW_ENABLE_SUPERUSER_CLI=${LANGFLOW_ENABLE_SUPERUSER_CLI}
# - DEFAULT_FOLDER_NAME=OpenRAG
- HIDE_GETTING_STARTED_PROGRESS=true

volumes:
opensearch-data:
4 changes: 3 additions & 1 deletion docs/docs/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,12 @@ Configure general system components, session management, and logging.
| `FRONTEND_PORT` | `3000` | Host port for the OpenRAG frontend web interface. Change this if port 3000 is already in use on your system. |
| `OPENRAG_VERSION` | `latest` | The version of the OpenRAG Docker images to run. For more information, see [Upgrade OpenRAG](/upgrade) |
| `NEXT_ALLOWED_DEV_ORIGINS` | `http://localhost:3000` | Only used when [running OpenRAG in development mode](/support/contribute). Accepts a comma-separated list of hostnames to allow additional origins to make requests to the Next.js development server. |
| `MAX_WORKERS` | `min(4, CPU_COUNT // 2)` | Number of Backend worker processes for concurrent request handling. |
| `LANGFLOW_WORKERS` | `1` | Number of Langflow worker processes for concurrent request handling. |
| `DOCLING_WORKERS` | `1` | Number of Docling worker processes for concurrent request handling. |

<!-- | `LOG_FORMAT` | Not set | Set to `json` to enabled JSON-formatted log output. If this variable isn't set, then the default logging format is used. | -->
<!-- | `LOG_LEVEL` | `INFO` | Logging level. Can be one of `DEBUG`, `INFO`, `WARNING`, or `ERROR`. `DEBUG` provides the most detailed logs but can impact performance. | -->
<!-- | `MAX_WORKERS` | `1` | Maximum number of workers for document processing. | -->
<!-- | `SERVICE_NAME` | `openrag` | Service name for logging. | -->
<!-- | `SESSION_SECRET` | Automatically generated | Session management. | -->
<!-- TBD: OPENRAG_VERSION -->
Loading
Loading