Commit Graph

321 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
ab1b910d80
Merge pull request #10486 from Micca/feature/document_intelligence_support
Feat: Adding Support for Azure AI Document Intelligence for Content Extraction (Revised)
2025-02-21 10:56:18 -08:00
Timothy Jaeryang Baek
613a087387 refac 2025-02-21 10:55:03 -08:00
Synergyst
f789ad59a9
Update audio.py
Removed original code that was commented out
2025-02-21 04:47:46 -06:00
Coleton M
cdf620e6ee Update audio.py to fetch custom URL voices and models 2025-02-21 04:41:45 -06:00
Timothy Jaeryang Baek
e31f680788 refac 2025-02-20 20:46:00 -08:00
Timothy Jaeryang Baek
eeb00a5ca2 chore: format 2025-02-20 01:01:29 -08:00
labanzu
a3d3ca293e chore: optimize pdf view 2025-02-20 15:55:18 +08:00
Liu Yue
90d9cdacfa
fix: respect proxy and timeout settings in audio-related aiohttp requests 2025-02-20 14:55:45 +08:00
Timothy Jaeryang Baek
fe5c4b95d5 enh: configurable jupyter execution timeout 2025-02-19 17:05:37 -08:00
Simone
8662108344 Fix on ChatMessage validator: content can be null when using tools 2025-02-19 21:03:23 +01:00
Timothy Jaeryang Baek
81715f6553 enh: RAG full context mode 2025-02-18 21:14:58 -08:00
Timothy Jaeryang Baek
1bbecd46c8
Merge pull request #10052 from roryeckel/playwright
Support Playwright RAG Web Loader: Revised
2025-02-18 19:57:48 -08:00
Timothy Jaeryang Baek
886d756200
Merge pull request #10285 from the-c0d3br34k3r/issue8885_auth
fix: Fixed an issue with clearing application cookies during OAuth signout
2025-02-18 19:31:24 -08:00
Timothy Jaeryang Baek
32a90deeaf
Merge pull request #10309 from JoaoCostaIFG/gemini_image_gen
feat: add Google Imagen/Gemini API image generation
2025-02-18 19:30:20 -08:00
JoaoCostaIFG
918764a4f7
fix: Use x-goog-api-key header for Gemini image generation
Place the API key in a header instead of a query parameter. This avoids leaking the API key in logs on request failure, etc...
2025-02-19 00:00:54 +00:00
JoaoCostaIFG
e56b5c063c
feat: add Google Imagen/Gemini API image generation
Adds support for Gemini API as an image generation backend. By setting the API Base URL to something like 'https://generativelanguage.googleapis.com/v1beta' and providing their API Key, users should be able to start generating images using models like 'imagen-3.0-generate-002'.
2025-02-18 22:39:32 +00:00
Ranjan Mohan
6c6be5de88 Fixed an issue with clearing application cookies during OAuth signout
Closes #8885.

During the OAuth signout flow, although the `token` and `oauth_id_token`
cookies were marked for deletion, a new RedirectResponse is created and
returned. This does not contain the header info from the he Response object
used to mark the cookies to be deleted. Hence the cookies remained.
Fixed this by re-using the headers from the other Response object.
2025-02-18 12:44:14 -05:00
Rory
10e0c81de9 Merge remote-tracking branch 'upstream/dev' into playwright
# Conflicts:
#	backend/open_webui/retrieval/web/utils.py
#	backend/open_webui/routers/retrieval.py
2025-02-17 21:53:39 -06:00
Timothy Jaeryang Baek
658944e756 refac 2025-02-17 19:29:28 -08:00
Timothy Jaeryang Baek
ba6cde8a87 fix: include_domain does NOT exist 2025-02-17 19:20:49 -08:00
Timothy Jaeryang Baek
ca0b7217d2 enh: full context web search 2025-02-17 18:14:26 -08:00
Timothy Jaeryang Baek
2f75eef499 enh: code execution settings 2025-02-17 16:25:50 -08:00
Timothy Jaeryang Baek
a5fa1cd835
Merge pull request #10209 from i-infra/iinf/fix-for-openrouter
[fix] no unambiguous indexing on "owned_by" - fix OpenRouter.ai
2025-02-17 15:24:21 -08:00
Timothy Jaeryang Baek
63cf80a456 refac 2025-02-16 00:11:18 -08:00
Timothy Jaeryang Baek
19c340d3fb refac: pipelines 2025-02-15 22:25:18 -08:00
Rory
66c2acc08d Merge branch 'dev' into playwright 2025-02-15 22:14:16 -06:00
i-infra
fb12ee3f52 fix exception where openrouter doesn't populate - no longer index without fallback 2025-02-15 19:41:41 -05:00
Timothy Jaeryang Baek
38291e9af2 refac 2025-02-15 16:21:19 -08:00
Rory
b1bab2ece8 Remove duplicate loader.alazy_load line from merge 2025-02-14 22:43:46 -06:00
Rory
4da220c513 Merge remote-tracking branch 'upstream/dev' into playwright
# Conflicts:
#	backend/open_webui/config.py
#	backend/open_webui/main.py
#	backend/open_webui/retrieval/web/utils.py
#	backend/open_webui/routers/retrieval.py
#	backend/open_webui/utils/middleware.py
#	pyproject.toml
2025-02-14 20:48:22 -06:00
Guofeng Yi
b38acc8559
Merge branch 'dev' into feate-webloader-support-proxy 2025-02-15 09:50:02 +08:00
Fabio Polito
2419ef06a0 feat: docling support for document preprocessing 2025-02-14 12:08:03 +00:00
Yimi81
d3f71930f0 web loader support proxy 2025-02-14 07:15:09 +00:00
Yimi81
ceef600223 support async load for websearch 2025-02-14 07:05:10 +00:00
Timothy Jaeryang Baek
304aed0f13 chore: format 2025-02-13 22:54:45 -08:00
Timothy Jaeryang Baek
7b37cdcebb
Merge pull request #9980 from xring/web_search_serpapi
feat: add web search via SerpApi
2025-02-13 22:51:14 -08:00
Timothy Jaeryang Baek
c9a8808b0d refac 2025-02-13 21:45:29 -08:00
xring
27d395ba06 feat: add web search via SerpApi 2025-02-14 12:24:58 +08:00
Didier FOURNOUT
06062568c7 black formatting 2025-02-13 16:12:46 +00:00
Didier FOURNOUT
6d62e71c34 Add x-Open-Webui headers for ollama + more for openai 2025-02-13 15:29:26 +00:00
Nacho G. Mac Dowell
c47eddce32 Optional title generation
The boolean configuration var ENABLE_TITLE_GENERATION makes title generation optionaL
2025-02-13 16:28:39 +01:00
Timothy Jaeryang Baek
acb3eef619 refac 2025-02-13 01:57:02 -08:00
Timothy Jaeryang Baek
83e5db7be7 refac 2025-02-12 23:26:47 -08:00
Timothy Jaeryang Baek
c83e68282d feat: direct connections integration 2025-02-12 22:56:33 -08:00
Rory
40d4db97e6 Merge remote-tracking branch 'upstream/dev' into playwright 2025-02-12 22:32:44 -06:00
Timothy Jaeryang Baek
cd2f4142d5 fix: user settings save issue 2025-02-11 23:42:31 -08:00
Timothy Jaeryang Baek
689317c5b5 refac 2025-02-11 23:13:48 -08:00
Timothy Jaeryang Baek
8daa549146 refac 2025-02-11 23:12:00 -08:00
Timothy Jaeryang Baek
3891161173 feat: direct api settings backend 2025-02-11 22:29:45 -08:00
Timothy Jaeryang Baek
f916fbba56 enh: custom code interpreter prompt 2025-02-11 21:36:16 -08:00
Timothy Jaeryang Baek
953e408077 refac 2025-02-11 21:13:42 -08:00
Timothy Jaeryang Baek
ab70f1bb50
Merge pull request #9486 from rragundez/store-images
Use DB for generated images
2025-02-11 21:12:17 -08:00
Timothy Jaeryang Baek
8906a2e260
Merge pull request #9803 from BochaAI/main
add Bocha
2025-02-11 21:01:04 -08:00
Timothy Jaeryang Baek
f9c5819314 enh: code interpreter jupyter support 2025-02-10 02:25:02 -08:00
luckyman-yan
31360fe991 add Bocha 2025-02-10 16:44:47 +08:00
Timothy Jaeryang Baek
60095598ec chore: format 2025-02-09 22:20:47 -08:00
Rory
2c711d8365 Merge remote-tracking branch 'upstream/dev' into playwright
# Conflicts:
#	backend/requirements.txt
2025-02-09 23:52:21 -06:00
Rodrigo Agundez
2b05c9d944 Move file metadata into the [meta][data] key 2025-02-08 19:35:27 +09:00
Timothy Jaeryang Baek
8c2164928a
Merge pull request #9242 from NachoNoCheese/dev
feat: Add Deepgram STT Support
2025-02-07 23:06:57 -08:00
SentinalMax
95aaacfeb4 fixed GGUF model upload instability 2025-02-07 22:52:24 -06:00
Timothy Jaeryang Baek
3c5ac4ace5
Merge pull request #9416 from abdalrohman/fix_filter_domains
feat(ui): implement domain filter list for web search settings
2025-02-07 11:23:15 -08:00
Mazurek Michal
35f3824932 feat: Implement Document Intelligence as Content Extraction Engine 2025-02-07 13:44:47 +01:00
Rodrigo Agundez
ffb9e73975 Save image metadata to DB 2025-02-07 08:32:06 +09:00
Rodrigo Agundez
312f273a1b Add extension to image filename 2025-02-07 08:22:20 +09:00
Rodrigo Agundez
4974c9cbb0 Refactor upload function 2025-02-07 08:12:04 +09:00
Rodrigo Agundez
7e97e9dcc9 Improve style 2025-02-07 07:37:18 +09:00
Rodrigo Agundez
ac3338265d Set get_config as the name of the function 2025-02-07 07:30:58 +09:00
Rodrigo Agundez
8d43fdadc1 Add functionality in other image generation types 2025-02-06 18:24:57 +09:00
Rodrigo Agundez
159578dfd4 Enable usage of the DB to store generated images 2025-02-06 17:59:59 +09:00
hurxxxx
b9480c0e8a fix : o1 should also be applied 2025-02-06 16:53:04 +09:00
hurxxxx
80e123f58f fix : O3 also does not support the max_tokens parameter, so title generation is not possible when using the O3 model 2025-02-06 16:41:24 +09:00
Rory
ec6fe9939b Merge remote-tracking branch 'upstream/dev' into playwright 2025-02-05 17:47:58 -06:00
JT
40dea3fbe1
Merge branch 'dev' into main 2025-02-05 15:15:24 -08:00
Timothy Jaeryang Baek
7ba717d171 refac: system prompt template 2025-02-05 14:35:18 -08:00
M.Abdulrahman Alnaseer
68703951e8 feat(ui): implement domain filter list for web search settings 2025-02-05 19:14:40 +03:00
Timothy Jaeryang Baek
e41a2682f5 chore: format 2025-02-05 00:07:45 -08:00
Timothy Jaeryang Baek
f6f8c08cb0
Merge pull request #9068 from df-cgdm/main
**feat** Add user related headers when calling an external embedding api
2025-02-05 00:05:44 -08:00
Timothy Jaeryang Baek
23df351239 refac: ollama tool calling support
Co-Authored-By: smonux <85928277+smonux@users.noreply.github.com>
2025-02-04 19:22:08 -08:00
Timothy Jaeryang Baek
5cda8a57e7
Merge pull request #9337 from abdalrohman/exa_integration
feat: implement Exa search engine integration
2025-02-04 14:00:06 -08:00
JT
81102f4be2
Merge branch 'open-webui:main' into main 2025-02-04 13:06:04 -08:00
jvinolus
7b8e5d4e7c Fixed errors and added more support 2025-02-04 13:04:36 -08:00
M.Abdulrahman Alnaseer
2bb6b49f11 feat: implement Exa search engine integration 2025-02-04 21:13:16 +03:00
Timothy Jaeryang Baek
3adfa29f7d chore: format 2025-02-03 21:56:35 -08:00
Rory
1b581b714f Moving code out of playwright branch 2025-02-03 18:47:26 -06:00
Rory
f837d2cdbb Merge branch 'dev' of https://github.com/open-webui/open-webui
# Conflicts:
#	src/lib/i18n/locales/sr-RS/translation.json
2025-02-02 20:31:27 -06:00
Tristan Morris
a004bf2a6d Merge branch into dev 2025-02-02 08:44:57 -06:00
Tristan Morris
5df474abb9 Add support for Deepgram STT 2025-02-02 08:12:13 -06:00
Timothy Jaeryang Baek
3502e09d9f fix: image prompt gen template 2025-01-31 23:50:58 -08:00
Rory
77ae73e659 Adjust search event messages + translations 2025-01-30 23:18:11 -06:00
Rory
8dafe3cba8 Merge branch 'dev' of https://github.com/open-webui/open-webui 2025-01-30 18:26:55 -06:00
Timothy Jaeryang Baek
cc99673906 refac: prompt variables 2025-01-29 21:56:51 -08:00
Timothy Jaeryang Baek
33fffd6b1d refac: rm print statement 2025-01-29 21:36:05 -08:00
Timothy Jaeryang Baek
cd088b2f71 fix 2025-01-29 21:32:07 -08:00
Timothy Jaeryang Baek
a8f2919e9e fix: #9003 2025-01-29 21:31:18 -08:00
Timothy Jaeryang Baek
08ad4ee018 enh: check for reasoning tags 2025-01-29 14:59:23 -08:00
Timothy Jaeryang Baek
5420c165c6 refac: title generation 2025-01-29 14:40:36 -08:00
Timothy Jaeryang Baek
4abede9a2b fix: uploaded file should not be deleted 2025-01-29 14:20:51 -08:00
Timothy Jaeryang Baek
84c700b92c
Merge pull request #9059 from jrespeto/jrespeto-patch-1
fix:  Update ollama.py - Missing await in coroutine
2025-01-29 11:39:42 -08:00
Jonathan Respeto
a32782e527
fix: Update openai.py
need to await get_filtered_models
2025-01-29 08:47:54 -05:00
Didier FOURNOUT
6ca295ec59 Add user related headers when calling an external embedding api 2025-01-29 10:55:52 +00:00
Rory
4e8b390682 Add RAG_WEB_LOADER + Playwright mode + improve stability of search 2025-01-28 23:03:15 -06:00
Jonathan Respeto
b4be58f6b6
Update ollama.py
Missing await in coroutine

causing 500 errors on /ollama/api/tags since v0.5.0
2025-01-28 18:27:41 -05:00
Timothy Jaeryang Baek
c5b5303a55
Merge pull request #9031 from bunnerz-king/main
LDAP auth, return user permissions in response
2025-01-28 14:50:04 -08:00
Timothy Jaeryang Baek
c021aba094 enh: chat "clone" i18n 2025-01-28 12:49:06 -08:00
Andrew King
a1b5c18ef7 ldap pass user permissions into response 2025-01-28 09:51:21 -05:00
Timothy Jaeryang Baek
ec62104211
Merge pull request #8978 from antpyykk-kone/feature/separate-auth-cookie-config
fix: Separate cookie configuration between session & auth cookies to prevent oauth flow from breaking
2025-01-27 10:32:13 -08:00
tarmst
751a61a364 Adding more checks for write access. Adding accessRoles to Model & Knowledge creation 2025-01-27 18:11:52 +00:00
Timothy Jaeryang Baek
ba81b47800 refac 2025-01-23 12:06:25 -08:00
Timothy Jaeryang Baek
bb45d35a36 fix: ollama prefix id 2025-01-23 11:04:50 -08:00
Timothy Jaeryang Baek
dd6de749d5 fix: model update access 2025-01-23 10:40:49 -08:00
Timothy Jaeryang Baek
8fc5532e2f fix: tools valves access 2025-01-23 10:37:44 -08:00
Antti Pyykkönen
412923dc91 feat: separate cookie settings between session & auth cookies
Introducing two new env config options to control cookies settings regarding
authentication. These values are taken into use when setting 'token' and 'oauth_id_token'.
To maintain backwards compatibility, the original session cookie values are used as
fallback.

Separation is done to prevent issues with the session cookie. When the config value was
set as 'strict', the oauth flow was broken (since the session cookie was not provided
after the callback).

Providing a separate config for auth & session cookies allows us to keep the 'strict'
settings for auth related cookies, while also allowing the session cookie to behave as
intended (e.g., by configuring it as 'lax').

The original config was added in commit #af4f8aa. However a later commit #a2e889c reused
this config option for other type of cookies, which was not the original intent.
2025-01-23 16:16:50 +02:00
Timothy Jaeryang Baek
4a2792b4da fix: model ids not being applied 2025-01-22 19:00:46 -08:00
Timothy Jaeryang Baek
f4b5039adf enh: new ollama create model method 2025-01-22 12:36:18 -08:00
Timothy Jaeryang Baek
aa442f694b enh: validate user id before saving group 2025-01-20 23:09:55 -08:00
Timothy Jaeryang Baek
31ed1fcdb8 fix: tools permissions 2025-01-20 22:57:40 -08:00
Timothy Jaeryang Baek
bdc60e7850 chore: format backend 2025-01-19 11:59:07 -08:00
Timothy Jaeryang Baek
71ab8b9c93 enh: allow connections with duplicate urls 2025-01-18 17:22:29 -08:00
Timothy Jaeryang Baek
ca0285fc91 refac: connections handling 2025-01-18 17:10:15 -08:00
Timothy Jaeryang Baek
7cf4c9c89c refac: comfyui 2025-01-16 11:17:37 -08:00
Timothy Jaeryang Baek
0425621494 refac 2025-01-16 00:13:02 -08:00
Timothy Jaeryang Baek
0360aa5520 enh: image prompt enhancer 2025-01-16 00:06:37 -08:00
Timothy Jaeryang Baek
56f57928c2 enh/refac: permissions 2025-01-15 23:01:43 -08:00
jvinolus
47b8412695 Initialize support for prefixing embeddings 2025-01-15 17:05:04 -08:00
Timothy Jaeryang Baek
372658be6d
Merge pull request #8547 from juananpe/file-deletion
fix: File deletion doesn't properly clean up database entries
2025-01-15 10:11:29 -08:00
Juanan Pereira
f477f4f790 fix: fixess issue #7181 2025-01-14 09:32:04 +01:00
Timothy Jaeryang Baek
f6a54c96bc
Merge pull request #8470 from tarmst/add-read-write-toggle-to-access-control
feat: Add toggle to read/write perms on access control
2025-01-13 21:22:36 -08:00
Timothy Jaeryang Baek
42e8d8ce49
Merge pull request #8447 from steelcg/dev
feat: add LDAP_ATTRIBUTE_FOR_MAIL to env-configuration
2025-01-12 18:15:28 -08:00
Juanan Pereira
913e0d391b fix: complete file cleanup when removing from Knowledge Base 2025-01-12 20:04:25 +01:00
Timothy Jaeryang Baek
5d3f778b2a fix: openai proxy endpoints 2025-01-11 16:56:25 -08:00
tarmst
49eca68e28 Add toggle to read/write perms on access control 2025-01-10 18:44:50 +00:00
Li, Steel
ab6dffffd0 feat: add LDAP_ATTRIBUTE_FOR_MAIL to env-configuration 2025-01-10 08:53:03 +08:00
Juanan Pereira
de735b3c8c fix format 2025-01-09 18:41:18 +01:00
Juanan Pereira
5b616dd34f fix: Knowledge Base Detachment from Models 2025-01-09 16:47:12 +01:00
Li, Steel
82ff6c371b use ldap3.NONE for parameter get_info in ldap_auth function to accelerate login 2025-01-07 14:13:18 +08:00
Timothy Jaeryang Baek
a0e63b08c3 fix: searchapi engine not showing 2025-01-06 10:10:25 -08:00
Timothy Jaeryang Baek
fe59b7f39c refac 2025-01-05 00:44:38 -08:00
Srajan Garg
2444327a47 add functionality to clone shared chats 2025-01-03 00:08:49 -05:00
Timothy Jaeryang Baek
87ba39df57 fix: moa 2025-01-02 14:32:25 -08:00
Timothy Jaeryang Baek
ffdb45cc4b refac 2024-12-31 13:39:03 -08:00
Timothy Jaeryang Baek
16a48ef4eb fix 2024-12-31 02:06:55 -08:00
Timothy Jaeryang Baek
841f74894e refac 2024-12-31 02:06:19 -08:00
Timothy Jaeryang Baek
9c337552e6 enh: reply count 2024-12-31 02:05:11 -08:00
Timothy Jaeryang Baek
584e9e6da5 refac: threads 2024-12-31 00:51:43 -08:00
Timothy Jaeryang Baek
371201d820 refac 2024-12-30 23:12:50 -08:00
Timothy Jaeryang Baek
f93c2e4a8d feat: reactions 2024-12-30 23:06:34 -08:00
Gabriel Ecegi
46e57706c1 refac: formatting 2024-12-30 17:45:43 +01:00
Gabriel Ecegi
ba2964cb01 fix: missing parameter 2024-12-30 17:36:34 +01:00
Timothy Jaeryang Baek
76decdba2a fix: delete file 2024-12-28 17:40:00 -08:00
Timothy Jaeryang Baek
50534a0dcf enh: user status indicator 2024-12-26 23:29:33 -08:00