Commit Graph

1717 Commits

Author SHA1 Message Date
Jun Siang Cheah
3199e26500 fix: remove unsupported .doc file ingest 2024-09-14 12:44:51 +01:00
Timothy Jaeryang Baek
d75d638b9a
Merge pull request #5406 from open-webui/main
refac
2024-09-13 19:26:51 +01:00
Timothy J. Baek
b64c9d966a refac 2024-09-13 14:26:32 -04:00
Timothy Jaeryang Baek
8a928e5356
Merge pull request #5405 from open-webui/main
refac: filter non chat completions models
2024-09-13 19:23:02 +01:00
Timothy J. Baek
adf958559b refac: filter non chat completions models 2024-09-13 14:20:27 -04:00
thiswillbeyourgithub
82b35492af pep8 2024-09-13 17:18:44 +02:00
thiswillbeyourgithub
a7ea07036e fix: if cuda is not available fallback to cpu 2024-09-13 17:12:00 +02:00
Timothy Jaeryang Baek
c1d3481c41
Merge pull request #5399 from open-webui/main
fix: allow o1
2024-09-13 15:01:48 +01:00
Timothy J. Baek
bc0baa35e6 fix: allow o1 2024-09-13 09:59:41 -04:00
Timothy J. Baek
f549cb1f87 fix 2024-09-13 01:30:30 -04:00
Timothy J. Baek
823093eea6 fix: hybrid search 2024-09-13 01:21:47 -04:00
Timothy J. Baek
939bfd153e refac 2024-09-13 01:18:20 -04:00
Timothy J. Baek
b943b7d337 refac 2024-09-13 01:08:02 -04:00
Timothy J. Baek
a1f3ece528 refac 2024-09-13 01:07:03 -04:00
Timothy J. Baek
8a4b3e6bc9 refac: allow multiple [context] in prompt 2024-09-13 01:06:51 -04:00
Timothy J. Baek
a9c497612b refac: rm assert 2024-09-13 00:56:50 -04:00
Timothy J. Baek
7df997c992 chore: format 2024-09-13 00:49:23 -04:00
Timothy J. Baek
bebc0d2073 chore: format 2024-09-13 00:48:54 -04:00
Timothy J. Baek
47e9c12fc2 refac 2024-09-13 00:41:20 -04:00
Timothy Jaeryang Baek
5970dadead
Merge pull request #5256 from Bazsalanszky/main
feat: More options for AUTOMATIC1111
2024-09-13 05:40:09 +01:00
Timothy Jaeryang Baek
7dc4cb30b2
Merge pull request #5378 from thiswillbeyourgithub/fix_RAG_and_web
fix: RAG and Web Search + RAG enhancements
2024-09-13 05:38:53 +01:00
Peter De-Ath
ca9874757f fix: change metadata to metadatas 2024-09-12 20:14:14 +01:00
thiswillbeyourgithub
65d5545cf0 added a few type hints 2024-09-12 17:22:22 +02:00
thiswillbeyourgithub
e872f5dc78 log: added a debug log if detecting a potential prompt injection attack 2024-09-12 17:22:22 +02:00
thiswillbeyourgithub
b4ad64586a fix: add check that the context for RAG is not empty if the threshold is 0 2024-09-12 17:22:22 +02:00
thiswillbeyourgithub
9661fee554 fix: handle case where [query] happens in the RAG context 2024-09-12 17:22:22 +02:00
thiswillbeyourgithub
adf26789b8 logs: crash if rag_template would be wrong 2024-09-12 17:22:22 +02:00
thiswillbeyourgithub
209e246e6f fix: much improved RAG template 2024-09-12 17:22:22 +02:00
thiswillbeyourgithub
ed2a1e7db9 enh: use non hybrid search as fallback if hybrid search failed 2024-09-12 17:22:22 +02:00
thiswillbeyourgithub
53f03f6556 fix: log exception when issues of collection querying 2024-09-12 16:51:37 +02:00
Timothy J. Baek
62f1933e3c refac: audio input (audio/ogg support) 2024-09-12 09:18:20 -04:00
Timothy J. Baek
0b30dc357c refac: remove prints 2024-09-12 09:13:21 -04:00
Balazs Toldi
d05ba042c0 Make the optional AUTOMATIC1111 values nullable
This commit makes the optional AUTOMATIC1111 options default to None, and if the value is removed, it resets to None.

Signed-off-by: Balazs Toldi <balazs@toldi.eu>
2024-09-12 14:00:24 +02:00
Timothy Jaeryang Baek
675403d26d
Merge pull request #5364 from open-webui/multiple-vector-dbs
refac: vector db clients
2024-09-12 07:00:55 +01:00
Timothy J. Baek
8be6e16513 refac: vector db clients 2024-09-12 02:00:31 -04:00
Timothy Jaeryang Baek
c7fc17da69
Merge pull request #5312 from open-webui/multiple-vector-dbs
feat: various vector db support
2024-09-12 06:53:47 +01:00
Timothy J. Baek
4775fe43d8 feat: milvus support 2024-09-12 01:52:19 -04:00
Timothy Jaeryang Baek
61ee4bd629
Merge pull request #5319 from Liuzhch1/fix-openai_timeout
fix: get OpenAI models only if OpenAI API Enabled; timeout for querying OpenAI models
2024-09-10 23:03:20 +01:00
Liuzhch1
26700ac4ac fix: get OpenAI models only if OpenAI Enabled;timeout for query OpenAI models 2024-09-10 19:22:05 +08:00
Timothy J. Baek
0886b3a0a4 refac: comments 2024-09-10 04:46:40 +01:00
Timothy J. Baek
522afbb0a0 refac 2024-09-10 04:37:06 +01:00
Timothy Jaeryang Baek
3d6d8c91dd
Merge branch 'multiple-vector-dbs' into dev 2024-09-10 02:29:55 +01:00
Timothy J. Baek
4354f270ce refac 2024-09-10 02:27:50 +01:00
Timothy J. Baek
28087ccf40 refac 2024-09-10 01:37:36 +01:00
Timothy J. Baek
eb0e683b47 refac 2024-09-10 01:34:27 +01:00
Timothy Jaeryang Baek
1023ff8454
Merge pull request #5270 from cheahjs/fix/websocket-take-2
fix: socket.io connections failing when websockets are not available
2024-09-09 23:19:05 +01:00
Jun Siang Cheah
9401f6c821 fix: workaround socketio upstream bug when websockets are not available 2024-09-09 23:17:34 +01:00
Jun Siang Cheah
827c419251 feat: add ENABLE_WEBSOCKET_SUPPORT to force socket.io to ignore websocket upgrades 2024-09-09 23:17:17 +01:00
Timothy J. Baek
f1fae805a2 fix: separate /embed and /embedding ollama endpoint 2024-09-09 23:02:26 +01:00
Michał Surmaczewski
8e6ea49e0e fix: incorrect casting of top_p and frequency_penalty 2024-09-08 17:52:58 +02:00
Jun Siang Cheah
698976add0 feat: add ENABLE_WEBSOCKET_SUPPORT to force socket.io to ignore websocket upgrades 2024-09-08 12:00:36 +01:00
Timothy J. Baek
666086a806 refac 2024-09-08 01:17:02 +01:00
Timothy J. Baek
9bdbe88bda refac: default search query prompt 2024-09-08 01:04:57 +01:00
Timothy J. Baek
214722d39e enh: search query generation prompt 2024-09-08 00:51:12 +01:00
Balazs Toldi
7f6dae41f0 More options for AUTOMATIC1111
This commit adds 3 new options to the AUTOMATIC1111 settings:
- CFG Scale
- Sampler
- Scheduler

These options allow users to configure these parameters directly through the admin settings, without needing to modify the source code, which was previously required to change the default values in  AUTOMATIC1111.

Signed-off-by: Balazs Toldi <balazs@toldi.eu>
2024-09-07 17:21:17 +02:00
Timothy J. Baek
1a6ce1d5d9 refac: default search generation prompt 2024-09-07 05:41:55 +01:00
Timothy J. Baek
2e40719f4e fix 2024-09-07 05:18:52 +01:00
Timothy J. Baek
1c20db775c refac: enable /api/embed 2024-09-07 05:12:46 +01:00
Timothy J. Baek
90a064972c fix 2024-09-07 05:07:37 +01:00
Timothy J. Baek
5c8fb4b3d5 refac: web search 2024-09-07 04:50:29 +01:00
Timothy J. Baek
ff46fe2b4a refac 2024-09-07 03:09:57 +01:00
Timothy J. Baek
02d5bca44d fix: tools & function not installing requirements 2024-09-06 18:35:43 +02:00
Timothy J. Baek
14eda1bf5b fix: pdf download FONTS_DIR issue 2024-09-06 15:52:23 +02:00
Timothy J. Baek
9fe62fc80d refac 2024-09-06 05:30:16 +02:00
Timothy J. Baek
bfb12a7851 refac 2024-09-06 04:59:20 +02:00
Timothy J. Baek
b35bbaade2 fix: extract_frontmatter issue 2024-09-05 20:35:58 +02:00
Timothy J. Baek
0c1fab09ff refac 2024-09-05 18:55:31 +02:00
Timothy J. Baek
d0869bbfbc fix: migrations 2024-09-05 16:23:19 +02:00
Timothy J. Baek
8a411decac fix 2024-09-05 16:13:40 +02:00
Timothy J. Baek
85fc35492d refac 2024-09-05 16:11:07 +02:00
vikrantrathore
74169b0320
fix: avoid overriding DATA_DIR and prevent errors when directories are the same
Previously, the `DATA_DIR` environment variable was always overridden by defaulting to `OPEN_WEBUI_DIR / "data"`, which ignored user-defined `DATA_DIR` values. Additionally, when `DATA_DIR` and `NEW_DATA_DIR` were the same, the script attempted to copy files into themselves, leading to errors or redundant operations.

This commit ensures that:
1. The `DATA_DIR` environment variable is respected and not overridden.
2. Copy operations between `DATA_DIR` and `NEW_DATA_DIR` are only performed if the directories are different, preventing errors when they point to the same location.

These changes resolve potential file copy errors and preserve user configurations.
2024-09-05 14:17:58 +08:00
Timothy J. Baek
a0be3822bf refac 2024-09-04 23:00:01 +02:00
Pol Dellaiera
004700c125
feat: add OVERRIDE_PIP_INSTALL environment variable 2024-09-04 22:44:59 +02:00
Pascal Lim
998616c0fd fix scripts to point to correct path 2024-09-04 20:27:30 +02:00
Timothy J. Baek
92a88df484 refac 2024-09-04 20:00:47 +02:00
Timothy J. Baek
f2f713023d refac 2024-09-04 19:57:41 +02:00
Timothy J. Baek
cf86ba7786 refac: tools & functions 2024-09-04 19:55:20 +02:00
Timothy J. Baek
d6fc0ccf65 fix 2024-09-04 19:03:51 +02:00
Timothy J. Baek
3afd66d50f fix: tools & functions import 2024-09-04 18:59:50 +02:00
Timothy J. Baek
8f6369374d refac: error handling 2024-09-04 17:52:59 +02:00
Timothy J. Baek
e5cfa6501b dev6 2024-09-04 17:47:51 +02:00
Timothy J. Baek
175ffc5c66 dev5 2024-09-04 17:33:39 +02:00
Timothy J. Baek
c0441ab2b8 dev4 2024-09-04 17:14:24 +02:00
Timothy J. Baek
6d1bd3ab66 dev4 2024-09-04 17:02:10 +02:00
Timothy J. Baek
1779e6fecc chore: format 2024-09-04 16:58:28 +02:00
Timothy J. Baek
03d5a670f6 refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
Timothy J. Baek
76806a998f fix: automatic1111 model update issue 2024-09-04 15:25:31 +02:00
Timothy J. Baek
9bcbf5e9b3 Update config.py 2024-09-03 21:46:40 +02:00
Timothy J. Baek
6bbb755997 feat: import/export config 2024-09-03 21:16:07 +02:00
Timothy Jaeryang Baek
aec7cd572c
Merge pull request #5127 from open-webui/dependabot/pip/pip-5bab50f10f
build(deps): bump the pip group across 2 directories with 1 update
2024-09-03 20:17:04 +02:00
dependabot[bot]
856759d350
build(deps): bump the pip group across 2 directories with 1 update
Bumps the pip group with 1 update in the / directory: [flask-cors](https://github.com/corydolphin/flask-cors).
Bumps the pip group with 1 update in the /backend directory: [flask-cors](https://github.com/corydolphin/flask-cors).


Updates `flask-cors` from 4.0.1 to 5.0.0
- [Release notes](https://github.com/corydolphin/flask-cors/releases)
- [Changelog](https://github.com/corydolphin/flask-cors/blob/main/CHANGELOG.md)
- [Commits](https://github.com/corydolphin/flask-cors/compare/4.0.1...5.0.0)

Updates `flask-cors` from 4.0.1 to 5.0.0
- [Release notes](https://github.com/corydolphin/flask-cors/releases)
- [Changelog](https://github.com/corydolphin/flask-cors/blob/main/CHANGELOG.md)
- [Commits](https://github.com/corydolphin/flask-cors/compare/4.0.1...5.0.0)

---
updated-dependencies:
- dependency-name: flask-cors
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: flask-cors
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 15:32:52 +00:00
Timothy J. Baek
5f92f7e41f enh: prevent trailing / from comfyui base url
Co-Authored-By: qwertyoriuop <41389168+qwertyoriuop@users.noreply.github.com>
2024-09-03 16:19:34 +02:00
Timothy Jaeryang Baek
df0bb4b4b0
Merge pull request #5070 from open-webui/dependabot/pip/backend/dev/authlib-1.3.2
build(deps): bump authlib from 1.3.1 to 1.3.2 in /backend
2024-09-03 14:51:30 +02:00
Timothy Jaeryang Baek
fdfa96ba51
Merge pull request #5069 from open-webui/dependabot/pip/backend/dev/duckduckgo-search-approx-eq-6.2.11
build(deps): update duckduckgo-search requirement from ~=6.2.1 to ~=6.2.11 in /backend
2024-09-03 14:51:24 +02:00
Timothy Jaeryang Baek
ff94a8e57f
Merge pull request #5068 from open-webui/dependabot/pip/backend/dev/aiohttp-3.10.5
build(deps): bump aiohttp from 3.10.2 to 3.10.5 in /backend
2024-09-03 14:51:17 +02:00
Timothy Jaeryang Baek
41369aefdf
Merge pull request #5067 from open-webui/dependabot/pip/backend/dev/langchain-0.2.15
build(deps): bump langchain from 0.2.14 to 0.2.15 in /backend
2024-09-03 14:51:11 +02:00
dependabot[bot]
665c851f66
build(deps): bump authlib from 1.3.1 to 1.3.2 in /backend
Bumps [authlib](https://github.com/lepture/authlib) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/lepture/authlib/releases)
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst)
- [Commits](https://github.com/lepture/authlib/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: authlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:51 +00:00
dependabot[bot]
115503098e
build(deps): update duckduckgo-search requirement in /backend
Updates the requirements on [duckduckgo-search](https://github.com/deedy5/duckduckgo_search) to permit the latest version.
- [Release notes](https://github.com/deedy5/duckduckgo_search/releases)
- [Commits](https://github.com/deedy5/duckduckgo_search/compare/v6.2.1...v6.2.11)

---
updated-dependencies:
- dependency-name: duckduckgo-search
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:47 +00:00
dependabot[bot]
b7cda48a03
build(deps): bump aiohttp from 3.10.2 to 3.10.5 in /backend
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.10.2 to 3.10.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.2...v3.10.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:42 +00:00
dependabot[bot]
7780640938
build(deps): bump langchain from 0.2.14 to 0.2.15 in /backend
Bumps [langchain](https://github.com/langchain-ai/langchain) from 0.2.14 to 0.2.15.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain==0.2.14...langchain==0.2.15)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:33 +00:00