From 9bc780ead32c1b5b7b910c9e511a6f497105c87c Mon Sep 17 00:00:00 2001
From: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Date: Thu, 2 Oct 2025 14:55:35 -0400
Subject: [PATCH] remove-config-yaml
---
docs/docs/core-components/agents.mdx | 2 +-
docs/docs/reference/configuration.mdx | 41 +++++++--------------------
2 files changed, 11 insertions(+), 32 deletions(-)
diff --git a/docs/docs/core-components/agents.mdx b/docs/docs/core-components/agents.mdx
index 9b4adb4b..3ee4617b 100644
--- a/docs/docs/core-components/agents.mdx
+++ b/docs/docs/core-components/agents.mdx
@@ -52,7 +52,7 @@ This filter is the [Knowledge filter](/knowledge#create-knowledge-filters), and
-For an example of changing out the agent's LLM in OpenRAG, see the [Quickstart](/quickstart#change-components).
+For an example of changing out the agent's language model in OpenRAG, see the [Quickstart](/quickstart#change-components).
To restore the flow to its initial state, in OpenRAG, click **Settings**, and then click **Restore Flow**.
OpenRAG warns you that this discards all custom settings. Click **Restore** to restore the flow.
diff --git a/docs/docs/reference/configuration.mdx b/docs/docs/reference/configuration.mdx
index a22f7900..ebd8dc4d 100644
--- a/docs/docs/reference/configuration.mdx
+++ b/docs/docs/reference/configuration.mdx
@@ -9,8 +9,7 @@ import TabItem from '@theme/TabItem';
OpenRAG recognizes [supported environment variables](#supported-environment-variables) from the following sources:
-* [Environment variables](#supported-environment-variables) - Values set in `.env` or `docker-compose.yml` file.
-* [Configuration file variables (`config.yaml`)](#configuration-file) - Values generated during application onboarding and saved to `config.yaml`. These are internal OpenRAG application settings that are not user-configurable, but may override environment variables.
+* [Environment variables](#supported-environment-variables) - Values set in the `.env` file.
* [Langflow runtime overrides](#langflow-runtime-overrides) - Langflow components may tweak environment variables at runtime.
* [Default or fallback values](#default-values-and-fallbacks) - These values are default or fallback values if OpenRAG doesn't find a value.
@@ -18,21 +17,24 @@ OpenRAG recognizes [supported environment variables](#supported-environment-vari
Environment variables are set in a `.env` file in the root of your OpenRAG project directory.
-The Docker Compose files are populated with values from your `.env`, so you don't need to edit the Compose files manually.
+For an example `.env` file, see [`.env.example` in the OpenRAG repository](https://github.com/langflow-ai/openrag/blob/main/.env.example).
+
+The Docker Compose files are populated with values from your `.env`, so you don't need to edit the Docker Compose files manually.
### Precedence
-Environment variables always take precedence over other variables, except when the same variable exists in both [config.yaml](#configuration-file) and the `.env`. In this case, the variable in `config.yaml` takes precedence.
+Environment variables always take precedence over other variables.
### Set environment variables
To set environment variables, do the following.
-1. Stop OpenRAG. , and then
+1. Stop OpenRAG.
2. Set the values in the `.env` file:
```bash
- OPENAI_API_KEY=your-api-key-here
- CHUNK_SIZE=1000
+ LOG_LEVEL=DEBUG
+ LOG_FORMAT=json
+ SERVICE_NAME=openrag-dev
```
3. Start OpenRAG.
@@ -124,30 +126,7 @@ Configure general system components, session management, and logging.
| `LOG_LEVEL` | `INFO` | Logging level (DEBUG, INFO, WARNING, ERROR). |
| `MAX_WORKERS` | - | Maximum number of workers for document processing. |
| `SERVICE_NAME` | `openrag` | Service name for logging. |
-| `SESSION_SECRET` | auto-generated | Session management.. |
-
-## Configuration file (`config.yaml`) {#configuration-file}
-
-A `config.yaml` configuration file is generated with values input during [Application onboarding](/install#application-onboarding) and contains some of the same configuration variables as environment variables. These are internal OpenRAG application settings that are not user-configurable, but may override environment variables.
-
-For an example `config.yaml` file, see [`config.example.yaml` in the OpenRAG repository](https://github.com/langflow-ai/openrag/blob/main/config/config.example.yaml).
-
-
-Which variables can `config.yaml` override?
-
-* CHUNK_OVERLAP
-* CHUNK_SIZE
-* EMBEDDING_MODEL
-* LLM_MODEL
-* MODEL_PROVIDER
-* OCR_ENABLED
-* OPENAI_API_KEY
-* PICTURE_DESCRIPTIONS_ENABLED
-* PROVIDER_API_KEY
-* PROVIDER_ENDPOINT
-* PROVIDER_PROJECT_ID
-* SYSTEM_PROMPT
-
+| `SESSION_SECRET` | auto-generated | Session management. |
## Langflow runtime overrides