From 3624b4f82b3233e69ebaabccc06756d7bcfd9887 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Thu, 27 Nov 2025 15:22:09 -0300 Subject: [PATCH] fix: openrag documents ingestion (#545) * Changed references to /app/documents to reference /app/openrag-documents * bump version --- docker-compose-cpu.yml | 2 +- docs/docs/core-components/knowledge.mdx | 2 +- frontend/app/admin/page.tsx | 646 ++++++++++++------------ pyproject.toml | 2 +- src/main.py | 2 +- src/tui/managers/env_manager.py | 8 +- uv.lock | 2 +- 7 files changed, 332 insertions(+), 332 deletions(-) diff --git a/docker-compose-cpu.yml b/docker-compose-cpu.yml index dff02ba6..58e75268 100644 --- a/docker-compose-cpu.yml +++ b/docker-compose-cpu.yml @@ -81,7 +81,7 @@ services: - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} volumes: - - ./openrag-documents:/app/documents:Z + - ./openrag-documents:/app/openrag-documents:Z - ./keys:/app/keys:Z - ./flows:/app/flows:U,z - ./config:/app/config:Z diff --git a/docs/docs/core-components/knowledge.mdx b/docs/docs/core-components/knowledge.mdx index 63edbaa3..4c7e7acc 100644 --- a/docs/docs/core-components/knowledge.mdx +++ b/docs/docs/core-components/knowledge.mdx @@ -29,7 +29,7 @@ To configure the knowledge ingestion pipeline parameters, see [Docling Ingestion The **Knowledge Ingest** flow uses Langflow's [**File** component](https://docs.langflow.org/components-data#file) to split and embed files loaded from your local machine into the OpenSearch database. -The default path to your local folder is mounted from the `./openrag-documents` folder in your OpenRAG project directory to the `/app/documents/` directory inside the Docker container. Files added to the host or the container will be visible in both locations. To configure this location, modify the **Documents Paths** variable in either the TUI's [Advanced Setup](/install#setup) menu or in the `.env` used by Docker Compose. +The default path to your local folder is mounted from the `./openrag-documents` folder in your OpenRAG project directory to the `/app/openrag-documents/` directory inside the Docker container. Files added to the host or the container will be visible in both locations. To configure this location, modify the **Documents Paths** variable in either the TUI's [Advanced Setup](/install#setup) menu or in the `.env` used by Docker Compose. To load and process a single file from the mapped location, click **Add Knowledge**, and then click