Cody-W-Tucker / nix-config

0 stars 0 forks source link

Add open-webui document mount #16

Closed Cody-W-Tucker closed 3 months ago

Cody-W-Tucker commented 3 months ago

I want to add a feature that makes my documents for RAG available to Open-WebUI. There is an env var = DOCS_DIR that defaults to ${DATA_DIR}/docs But permissions need to be right for Open-WebUI to read the files.

Ideally, we should scan for new documents and be ready to go. Although, we may have to remove files that aren't allowed. Currently, I can't get markdown files to work.