google-labs-jules[bot]
4a7e1b93e5
Fix: Prevent RAG queries when all files are in full context
...
This commit fixes an issue where Retrieval-Augmented Generation (RAG)
queries were still being generated even when all attached files were set
to 'full context' mode. This was inefficient as the full content of the
files was already available to the model.
The `chat_completion_files_handler` in `backend/open_webui/utils/middleware.py`
has been updated to:
- Check if all attached files have the `context: 'full'` property.
- Skip the `generate_queries` step if all files are in full context mode.
- Pass a `full_context=True` flag to the `get_sources_from_items`
function to ensure it fetches the entire document content instead of
performing a vector search.
This change ensures that RAG queries are only generated when necessary,
improving the efficiency of the system.
2025-09-25 15:54:58 +00:00
Timothy Jaeryang Baek
cde5879987
fix: onedrive
2025-09-17 12:18:23 -05:00
Timothy Jaeryang Baek
60f62c2f59
refac
2025-09-17 11:28:04 -05:00
Timothy Jaeryang Baek
c01255570b
chore: format
2025-09-17 11:11:46 -05:00
Timothy Jaeryang Baek
caf0a1fbb6
feat: Allow Azure OpenAI to authenticate using DefaultAzureCredential
...
Co-Authored-By: Selene Blok <20491756+selenecodes@users.noreply.github.com>
2025-09-17 11:04:47 -05:00
Timothy Jaeryang Baek
c96252f7fe
refac/fix: WHISPER_LANGUAGE
2025-09-17 10:46:11 -05:00
Timothy Jaeryang Baek
0cfc8f5256
refac
2025-09-17 09:19:56 -05:00
Timothy Jaeryang Baek
4fe97d8794
feat: channel/thread @ model
2025-09-17 00:49:44 -05:00
Timothy Jaeryang Baek
9738ddfd99
refac
2025-09-16 23:19:21 -05:00
Timothy Jaeryang Baek
1077b2ac8b
fix: send notification
2025-09-16 22:53:54 -05:00
Timothy Jaeryang Baek
bbd1d2b58c
enh: channel suggestions
2025-09-16 21:41:47 -05:00
Timothy Jaeryang Baek
f0856bcb46
refac
2025-09-16 16:15:52 -05:00
Timothy Jaeryang Baek
71f99228ef
refac
2025-09-16 15:49:43 -05:00
Timothy Jaeryang Baek
8edfd29102
refac
2025-09-16 15:26:08 -05:00
Timothy Jaeryang Baek
b14617a653
refac: otel metrics handle 500
2025-09-16 12:11:32 -05:00
Timothy Jaeryang Baek
e66e0526ed
refac/enh: function valves validation
2025-09-16 12:00:59 -05:00
Timothy Jaeryang Baek
034163e9f9
chore: format
2025-09-16 11:16:08 -05:00
Timothy Jaeryang Baek
e1e3009a30
refac: granular onedrive integration types
2025-09-16 10:54:13 -05:00
Timothy Jaeryang Baek
76d358bd6c
refac
2025-09-16 10:40:15 -05:00
Timothy Jaeryang Baek
c2f98a4cd2
refac: usage info
2025-09-16 10:28:25 -05:00
Timothy Jaeryang Baek
a51f0c30ec
refac/fix: knowledge permission
2025-09-15 11:40:31 -05:00
Tim Jaeryang Baek
dd6f83e9c5
Merge pull request #17423 from aleprj/fix-filehandler
...
Fix file_handler filters
2025-09-15 11:35:39 -04:00
Timothy Jaeryang Baek
e61e7434a0
refac
2025-09-14 10:46:49 +02:00
Timothy Jaeryang Baek
1ef8204359
refac
2025-09-14 10:45:52 +02:00
Timothy Jaeryang Baek
58d7ca35e3
refac
2025-09-14 10:27:07 +02:00
Timothy Jaeryang Baek
aa8ab349ed
feat: ref chat
2025-09-14 10:26:46 +02:00
Timothy Jaeryang Baek
c03ca7270e
refac/feat: note/knowledge/chat select input menu
2025-09-14 09:54:06 +02:00
Alexandre Oliveira
f9fd22d98e
fix: setting file_handler in a filter would generate errors in messages with no files, because a "files: Null" in metadata would trigger an attempt to delete a non existent files object
2025-09-13 12:57:54 -03:00
Timothy Jaeryang Baek
9a55547827
refac/enh: model default filter/feature
2025-09-13 01:23:27 +04:00
Timothy Jaeryang Baek
210197fd43
refac/fix: web/youtube file attachment handling
2025-09-13 00:02:48 +04:00
Tim Jaeryang Baek
a156033d3c
Merge pull request #17284 from xyb/feishucn
...
feat: add Feishu OAuth integration
2025-09-12 12:48:45 +04:00
Xie Yanbo
ee82439e67
feat: add Feishu OAuth integration
...
Implement Feishu OAuth provider using standard client:
- Set up Feishu-specific endpoints for authorization, token, and userinfo
- Use user_id as sub claim for Feishu user identification
- Extract correct user information from nested 'data' field in Feishu responses
Configuration requirements:
- Set FEISHU_CLIENT_ID and FEISHU_CLIENT_SECRET environment variables to enable Feishu OAuth
- Set ENABLE_OAUTH_SIGNUP=true to allow automatic user creation after OAuth login
- Set DEFAULT_USER_ROLE=user to grant immediate access after OAuth registration
- Set OAUTH_MERGE_ACCOUNTS_BY_EMAIL=true to enable merging of existing user accounts with matching emails
2025-09-12 14:09:32 +08:00
Timothy Jaeryang Baek
051b6daa82
refac/fix: large file upload
2025-09-11 22:29:02 +04:00
Timothy Jaeryang Baek
6c0a5fa91c
refac
2025-09-11 21:56:59 +04:00
Timothy Jaeryang Baek
edc056351d
refac
2025-09-11 21:38:01 +04:00
Timothy Jaeryang Baek
2185fc61c0
refac
2025-09-11 21:29:56 +04:00
Timothy Jaeryang Baek
cf72f5503f
refac
2025-09-11 12:26:25 +04:00
Tim Jaeryang Baek
2dd0eaad73
Merge pull request #17328 from open-webui/main
...
dev
2025-09-10 14:04:03 +04:00
Timothy Jaeryang Baek
8339f59cdf
fix: openai audio revert
2025-09-10 14:02:19 +04:00
Timothy Jaeryang Baek
774c0056bd
refac: tool server data handling
2025-09-09 19:00:01 +04:00
Timothy Jaeryang Baek
485392fe63
chore: format
2025-09-09 18:19:31 +04:00
Timothy Jaeryang Baek
0531ca6530
refac/fix
2025-09-09 18:10:48 +04:00
Timothy Jaeryang Baek
32cb9df3c4
refac/enh: knowledge ac backend validation
2025-09-09 18:08:31 +04:00
Tim Jaeryang Baek
71fd483fba
Merge pull request #17276 from Elettrotecnica/extend-docling-configuration
...
feat: Extend docling configuration options
2025-09-09 18:04:30 +04:00
Timothy Jaeryang Baek
d0f338bb99
refac/enh: ability to export/sync function valves
2025-09-09 17:48:41 +04:00
Timothy Jaeryang Baek
0214c1e66c
refac
2025-09-09 16:48:59 +04:00
Timothy Jaeryang Baek
5f0d262c59
fix: yt embed
2025-09-09 16:00:42 +04:00
Antonio Pisano
daa2a036f8
Extend docling configuration options to include:
...
* do_ocr
* force_ocr
* pdf_backend
* table_mode
* pipeline
as per https://github.com/docling-project/docling-serve/blob/main/docs/usage.md
See https://github.com/open-webui/open-webui/issues/17148
2025-09-08 18:51:33 +02:00
Timothy Jaeryang Baek
6f6412dd16
refac
2025-09-08 19:53:44 +04:00
Timothy Jaeryang Baek
2b2d123531
refac: oauth auth type in openai connection
2025-09-08 19:42:50 +04:00