Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

6.3 KB
Raw Blame
{
  "research_library.storage_path": {
    "category": "research_library",
    "description": "Operator-controlled base path for research library documents. Existing saved locations remain in use; set LDR_RESEARCH_LIBRARY_STORAGE_PATH to change the path. Each user has a subdirectory unless shared library is enabled.",
    "editable": false,
    "max_value": null,
    "min_value": null,
    "name": "Library Storage Path",
    "options": null,
    "step": null,
    "type": "APP",
    "ui_element": "text",
    "value": "~/Documents/LocalDeepResearch/Library",
    "visible": true,
    "env_var": "RESEARCH_LIBRARY_STORAGE_PATH"
  },
  "research_library.shared_library": {
    "category": "research_library",
    "description": "⚠️ WARNING: When enabled, all users share the same library directory. Documents from all users will be visible to each other. Only enable in trusted environments.",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "Shared Library Mode",
    "options": null,
    "step": null,
    "type": "APP",
    "ui_element": "checkbox",
    "value": false,
    "visible": true,
    "env_var": "RESEARCH_LIBRARY_SHARED_LIBRARY"
  },
  "research_library.pdf_storage_mode": {
    "category": "research_library",
    "description": "Choose how PDFs are stored. Each user has their own encrypted database. Database mode stores PDFs encrypted within it (secure, portable, isolated per-user). Filesystem mode stores unencrypted files on disk (faster for large files). None stores only extracted text (smallest footprint).",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "PDF Storage Mode",
    "options": [
      {
        "value": "database",
        "label": "Database (Encrypted, Portable)"
      },
      {
        "value": "filesystem",
        "label": "Filesystem (Unencrypted, Faster)"
      },
      {
        "value": "none",
        "label": "None (Text Only)"
      }
    ],
    "step": null,
    "type": "APP",
    "ui_element": "select",
    "value": "database",
    "visible": true,
    "env_var": "RESEARCH_LIBRARY_PDF_STORAGE_MODE"
  },
  "rag.indexing_batch_size": {
    "category": "research_library",
    "description": "Maximum number of documents grouped into a single SSE progress batch on /api/rag/index-all. Documents within a batch are processed in parallel via rag.indexing_max_parallel_docs. Higher values reduce SSE overhead but increase the unit of cancellation.",
    "editable": true,
    "max_value": 50,
    "min_value": 1,
    "name": "RAG Indexing Batch Size",
    "options": null,
    "step": 5,
    "type": "APP",
    "ui_element": "number",
    "value": 15,
    "visible": true
  },
  "rag.indexing_max_parallel_docs": {
    "category": "research_library",
    "description": "Maximum number of documents indexed concurrently within a single indexing job (per-user). One job holds up to this many workers; each worker calls the existing per-document path so the FAISS write lock still serializes the disk-merge step. Lower if your embedding backend is throughput-bound and concurrent calls contend; local sentence-transformers run one embedding call at a time per process, so raise to e.g. 8-16 mainly for HTTP embedding providers (OpenAI-compatible, vLLM, Ollama with OLLAMA_NUM_PARALLEL>1). Default 4 keeps RAM modest for collections with many large documents.",
    "editable": true,
    "max_value": 16,
    "min_value": 1,
    "name": "RAG Indexing Max Parallel Documents",
    "options": null,
    "step": 1,
    "type": "APP",
    "ui_element": "number",
    "value": 4,
    "visible": true
  },
  "research_library.max_pdf_size_mb": {
    "category": "research_library",
    "description": "Maximum allowed PDF file size in megabytes for the research library. PDFs larger than this will not be stored; their extracted text is still kept, and a research download whose PDF was refused this way is stored when it is next downloaded after this limit is raised above its size. Uploads are also gated by the per-file upload cap (LDR_SECURITY_UPLOAD_MAX_FILE_SIZE_MB, default 3072 MB / 3 GB) — raising this value above that cap has no effect because uploads are rejected before they reach storage.",
    "editable": true,
    "max_value": 10240,
    "min_value": 1,
    "name": "Maximum PDF Size (MB)",
    "options": null,
    "step": 10,
    "type": "APP",
    "ui_element": "number",
    "value": 3072,
    "visible": true
  },
  "research_library.upload_pdf_storage": {
    "category": "research_library",
    "description": "Choose how user-uploaded PDFs are stored. Database mode stores PDFs encrypted in your personal database (increases database size but allows viewing/downloading later). Text Only extracts and stores only the text content (smallest footprint). Note: Filesystem storage is not available for uploads for security reasons.",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "Upload PDF Storage",
    "options": [
      {
        "value": "none",
        "label": "Text Only (Default)"
      },
      {
        "value": "database",
        "label": "Database (Encrypted)"
      }
    ],
    "step": null,
    "type": "APP",
    "ui_element": "select",
    "value": "none",
    "visible": true,
    "env_var": "RESEARCH_LIBRARY_UPLOAD_PDF_STORAGE"
  },
  "research_library.confirm_deletions": {
    "category": "research_library",
    "description": "Show confirmation dialogs before delete operations. Recommended to keep enabled to prevent accidental data loss.",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "Confirm Deletions",
    "options": null,
    "step": null,
    "type": "APP",
    "ui_element": "checkbox",
    "value": true,
    "visible": true
  },
  "research_library.auto_persist_research_sources": {
    "category": "research_library",
    "description": "Automatically persist research sources (PDFs and extracted text) into the Library when a research run completes. Default off. When enabled, PDF downloads still honor the scheduler preference document_scheduler.download_pdfs and the PDF storage mode.",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "Auto-Persist Research Sources",
    "options": null,
    "step": null,
    "type": "APP",
    "ui_element": "checkbox",
    "value": false,
    "visible": true,
    "env_var": "LDR_RESEARCH_LIBRARY_AUTO_PERSIST_RESEARCH_SOURCES"
  }
}