Merge branch 'main' into anthro-models
This commit is contained in:
commit
eab9766b5b
5 changed files with 7 additions and 7 deletions
|
|
@ -39,7 +39,7 @@ If OpenRAG detects OAuth credentials during setup, it recommends **Advanced Setu
|
|||
4. Optional: Under **Others**, edit the [knowledge base](/knowledge) paths if you don't want to use the default paths:
|
||||
|
||||
* **Documents Paths**: One or more paths to directories are where OpenRAG looks for documents to ingest.
|
||||
* **OpenSearch Data PAth**: Specify the path where you want OpenRAG to create your OpenSearch index.
|
||||
* **OpenSearch Data Path**: Specify the path where you want OpenRAG to create your OpenSearch index.
|
||||
|
||||
5. Click **Save Configuration**.
|
||||
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ The default value is 200 characters, which represents an overlap of 20 percent i
|
|||
|
||||
The default path for local uploads is `~/.openrag/documents`. This is mounted to the `/app/openrag-documents/` directory inside the OpenRAG container. Files added to the host or container directory are visible in both locations.
|
||||
|
||||
To change this location, modify the **Documents Paths** variable in either the [**Advanced Setup** menu](/install#setup) or in your [OpenRAG `.env` file](/reference/configuration).
|
||||
To change this location, modify the **Documents Paths** variable in either the [**Basic/Advanced Setup** menu](/install#setup) or in your [OpenRAG `.env` file](/reference/configuration).
|
||||
|
||||
## Delete knowledge {#delete-knowledge}
|
||||
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ The following variables are required or recommended:
|
|||
PID: 27746
|
||||
```
|
||||
|
||||
3. Deploy the OpenRAG containers locally using the appropriate Docker Compose configuration for your environment.
|
||||
3. Deploy the OpenRAG containers locally using the appropriate Docker Compose configuration for your environment:
|
||||
|
||||
* **GPU-accelerated deployment**: If your host machine has an NVIDIA GPU with CUDA support and compatible NVIDIA drivers, use the base `docker-compose.yml` file with the `docker-compose.gpu.yml` override.
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ Control how OpenRAG [processes and ingests documents](/ingestion) into your know
|
|||
| `DISABLE_INGEST_WITH_LANGFLOW` | `false` | Disable Langflow ingestion pipeline. |
|
||||
| `DOCLING_OCR_ENGINE` | Set by OS | OCR engine for document processing. For macOS, `ocrmac`. For any other OS, `easyocr`. |
|
||||
| `OCR_ENABLED` | `false` | Enable OCR for image processing. |
|
||||
| `OPENRAG_DOCUMENTS_PATHS` | `~/.openrag/documents` | Document paths for ingestion. |
|
||||
| `OPENRAG_DOCUMENTS_PATH` | `~/.openrag/documents` | The [local documents path](/knowledge#set-the-local-documents-path) for ingestion. |
|
||||
| `PICTURE_DESCRIPTIONS_ENABLED` | `false` | Enable picture descriptions. |
|
||||
|
||||
## Langflow settings {#langflow-settings}
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@ class DoclingManager:
|
|||
self._starting = False
|
||||
self._external_process = False
|
||||
|
||||
# PID file to track docling-serve across sessions (in current working directory)
|
||||
from pathlib import Path
|
||||
self._pid_file = Path.cwd() / ".docling.pid"
|
||||
# PID file to track docling-serve across sessions (centralized in ~/.openrag/tui/)
|
||||
from utils.paths import get_tui_dir
|
||||
self._pid_file = get_tui_dir() / ".docling.pid"
|
||||
|
||||
# Log storage - simplified, no queue
|
||||
self._log_buffer: List[str] = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue