Timothy Jaeryang Baek
6d0295588e
refac: modernize type annotations (PEP 604 / PEP 585)
2026-05-12 17:10:15 +09:00
Timothy Jaeryang Baek
4d2f189810
feat: add RAG_RERANKING_BATCH_SIZE configuration option
...
Add configurable reranker batch size (env var RAG_RERANKING_BATCH_SIZE,
default 32) following the same pattern as RAG_EMBEDDING_BATCH_SIZE.
- config.py: PersistentConfig for RAG_RERANKING_BATCH_SIZE
- main.py: import, state init, pass to get_reranking_function
- colbert.py: accept batch_size param in predict() (was hardcoded 32)
- utils.py: get_reranking_function passes batch_size at call time
- retrieval.py: expose in config GET/POST endpoints and ConfigForm
- Documents.svelte: add Reranking Batch Size input in admin settings
Closes #23730
2026-04-17 08:35:45 +09:00
Timothy Jaeryang Baek
de3317e26b
refac
2026-03-17 17:58:01 -05:00
Timothy Jaeryang Baek
f376d4f378
chore: format
2026-02-11 16:24:11 -06:00
Timothy Jaeryang Baek
dfc5dad631
enh: REQUESTS_VERIFY
2026-01-01 01:27:07 +04:00
2e7c7d635d
fix: prevent ExternalReranker from blocking event loop during RAG queries ( #20049 )
...
* fix: prevent ExternalReranker from blocking event loop during RAG queries (#120 )
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
Fixes #19900
* Merge pull request open-webui#19030 from open-webui/dev (#122 )
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
Fixes #19900
---------
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-20 08:43:40 -05:00
823b9a6dd9
chore/perf: Remove old SRC level log env vars with no impact ( #20045 )
...
* Update openai.py
* Update env.py
* Merge pull request open-webui#19030 from open-webui/dev (#119 )
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
---------
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-20 08:16:14 -05:00
Classic298
99f0fe7f32
chore: user header forward minimize code changes throughout codebase ( #19392 )
...
* Update external.py
* remove unused imports
* Update ollama.py
* Update ollama.py
* Update ollama.py
* Update openai.py
2025-11-23 16:48:03 -05:00
Timothy Jaeryang Baek
0013f5c1fc
refac/enh: forward user info header to reranker
2025-07-14 13:59:10 +04:00
Timothy Jaeryang Baek and Tornike Gurgenidze
aac25eac9e
refac: reranker
...
Co-Authored-By: Tornike Gurgenidze <togurg14@freeuni.edu.ge >
2025-05-23 01:29:48 +04:00
Timothy Jaeryang Baek and Brendan Campbell
d5fd3b3600
feat: external reranker
...
Co-Authored-By: Brendan Campbell <20541191+bcambs09@users.noreply.github.com >
2025-05-10 18:25:20 +04:00
Yifang Deng
0e5d5ecb81
refactor: replace print statements with logging for better error tracking
2025-02-25 15:53:55 +01:00
Timothy Jaeryang Baek
d3d161f723
wip
2024-12-10 00:54:13 -08:00