mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
Added HTML and Typescript UI components to support configration of text extraction engine.
Updated RAG /config and /config/update endpoints to support UI updates. Fixed .dockerignore to prevent Python venv from being copied into Docker image.
This commit is contained in:
@@ -882,10 +882,10 @@ if WEBUI_AUTH and WEBUI_SECRET_KEY == "":
|
||||
# RAG document text extraction
|
||||
####################################
|
||||
|
||||
DOCUMENT_USE_TIKA = PersistentConfig(
|
||||
"DOCUMENT_USE_TIKA",
|
||||
"rag.document_use_tika",
|
||||
os.environ.get("DOCUMENT_USE_TIKA", "false").lower() == "true"
|
||||
TEXT_EXTRACTION_ENGINE = PersistentConfig(
|
||||
"TEXT_EXTRACTION_ENGINE",
|
||||
"rag.text_extraction_engine",
|
||||
os.environ.get("TEXT_EXTRACTION_ENGINE", "").lower()
|
||||
)
|
||||
|
||||
TIKA_SERVER_URL = PersistentConfig(
|
||||
|
||||
Reference in New Issue
Block a user