Commit Graph

2041 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
3b487cfae9
Merge pull request #4046 from thearyadev/chat-list-optimization
perf: optimize query for chat list
2024-07-24 12:21:04 +02:00
Timothy Jaeryang Baek
260e42a691
Merge pull request #4036 from open-webui/dependabot/pip/backend/dev/google-generativeai-0.7.2
chore(deps): bump google-generativeai from 0.5.4 to 0.7.2 in /backend
2024-07-24 12:17:31 +02:00
Timothy Jaeryang Baek
596a9c60d7
Merge pull request #4039 from open-webui/dependabot/pip/backend/dev/rapidocr-onnxruntime-1.3.24
chore(deps): bump rapidocr-onnxruntime from 1.3.22 to 1.3.24 in /backend
2024-07-24 12:17:24 +02:00
Timothy Jaeryang Baek
b42fda0971
Merge pull request #4040 from open-webui/dependabot/pip/backend/dev/duckduckgo-search-approx-eq-6.2.1
chore(deps): update duckduckgo-search requirement from ~=6.1.12 to ~=6.2.1 in /backend
2024-07-24 12:11:10 +02:00
Timothy Jaeryang Baek
cf377d2e1c
Merge pull request #4038 from open-webui/dependabot/pip/backend/dev/unstructured-0.15.0
chore(deps): bump unstructured from 0.14.10 to 0.15.0 in /backend
2024-07-24 12:07:50 +02:00
Dillon
63ffdb38aa Added and set enable_username_password_login to the get_app_config function 2024-07-23 22:22:09 -04:00
Dillon
f9289d3079 Created new PersistentConfig for new environment variable ENABLE_USERNAME_PASSWORD_LOGIN 2024-07-23 22:20:45 -04:00
Dillon
709b56bc40 imported and added new ENABLE_USERNAME_PASSWORD_LOGIN environment variable 2024-07-23 22:19:41 -04:00
Aryan Kothari
f531a51e91 chore: formatting 2024-07-22 14:45:47 -04:00
Aryan Kothari
a0667dfd1b change /chats/ and /chats/list to utilize new function 2024-07-22 14:09:22 -04:00
Aryan Kothari
2b78e613a4 add func to get chat list with more specific sql query 2024-07-22 14:08:15 -04:00
dependabot[bot]
f07cc37939
chore(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.1.12...v6.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 02:44:43 +00:00
dependabot[bot]
957b0ecd15
chore(deps): bump rapidocr-onnxruntime from 1.3.22 to 1.3.24 in /backend
Bumps [rapidocr-onnxruntime](https://github.com/RapidAI/RapidOCR) from 1.3.22 to 1.3.24.
- [Release notes](https://github.com/RapidAI/RapidOCR/releases)
- [Commits](https://github.com/RapidAI/RapidOCR/compare/v1.3.22...v1.3.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 02:44:40 +00:00
dependabot[bot]
659bc246c9
chore(deps): bump unstructured from 0.14.10 to 0.15.0 in /backend
Bumps [unstructured](https://github.com/Unstructured-IO/unstructured) from 0.14.10 to 0.15.0.
- [Release notes](https://github.com/Unstructured-IO/unstructured/releases)
- [Changelog](https://github.com/Unstructured-IO/unstructured/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Unstructured-IO/unstructured/compare/0.14.10...0.15.0)

---
updated-dependencies:
- dependency-name: unstructured
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 02:44:37 +00:00
dependabot[bot]
1502af7e94
chore(deps): bump langfuse from 2.38.0 to 2.39.2 in /backend
Bumps [langfuse](https://github.com/langfuse/langfuse) from 2.38.0 to 2.39.2.
- [Release notes](https://github.com/langfuse/langfuse/releases)
- [Commits](https://github.com/langfuse/langfuse/commits)

---
updated-dependencies:
- dependency-name: langfuse
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 02:44:33 +00:00
dependabot[bot]
26c5a533ec
chore(deps): bump google-generativeai from 0.5.4 to 0.7.2 in /backend
Bumps [google-generativeai](https://github.com/google/generative-ai-python) from 0.5.4 to 0.7.2.
- [Release notes](https://github.com/google/generative-ai-python/releases)
- [Changelog](https://github.com/google-gemini/generative-ai-python/blob/main/RELEASE.md)
- [Commits](https://github.com/google/generative-ai-python/compare/v0.5.4...v0.7.2)

---
updated-dependencies:
- dependency-name: google-generativeai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 02:44:27 +00:00
Justin Hayes
c6c298b412
Fetch didn't happen 2024-07-20 11:02:59 -04:00
Seth Rothschild
c3693c91b3 fix: allow temperature and seed to be 0 2024-07-20 06:53:52 -04:00
Justin Hayes
0216ee101c
enh: ElevenLabs voice name -> ID 2024-07-20 02:56:00 -04:00
Timothy J. Baek
e664a429a1 feat: elevenlabs tts support 2024-07-19 10:35:05 +02:00
Lukas
bbc8adca94 support custom redirect url in OAuth
closes #3727 #3945
2024-07-19 09:03:41 +02:00
José Luis Di Biase
23c9122458 chore RAG: adding languages known extension for erlang, elixir, haskell and jsx/tsx
Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
2024-07-18 17:48:39 -03:00
Timothy J. Baek
8dc73fdbdb enh: remove /health logging 2024-07-17 22:24:34 +02:00
Timothy J. Baek
3d0f457306 refac 2024-07-17 10:16:27 +02:00
Timothy J. Baek
40075f69f9 refac 2024-07-15 16:25:00 +02:00
Timothy J. Baek
d258523a3c refac 2024-07-15 13:09:15 +02:00
Timothy J. Baek
dbc352f01b refac: documents file handling 2024-07-15 13:05:38 +02:00
Timothy J. Baek
69083b6485 revert 2024-07-15 11:09:05 +02:00
Timothy Jaeryang Baek
feba1f2e3c
Merge pull request #3875 from open-webui/dependabot/pip/backend/dev/pydantic-2.8.2
chore(deps): bump pydantic from 2.7.1 to 2.8.2 in /backend
2024-07-15 02:03:29 -07:00
Timothy Jaeryang Baek
bb20251b43
Merge pull request #3878 from open-webui/dependabot/pip/backend/dev/unstructured-0.14.10
chore(deps): bump unstructured from 0.14.9 to 0.14.10 in /backend
2024-07-15 02:03:21 -07:00
Timothy Jaeryang Baek
db6f6e62b9
Merge pull request #3876 from open-webui/dependabot/pip/backend/dev/sqlalchemy-2.0.31
chore(deps): bump sqlalchemy from 2.0.30 to 2.0.31 in /backend
2024-07-14 19:39:26 -07:00
Timothy Jaeryang Baek
a99743c1c8
Merge pull request #3877 from open-webui/dependabot/pip/backend/dev/duckduckgo-search-approx-eq-6.1.12
chore(deps): update duckduckgo-search requirement from ~=6.1.7 to ~=6.1.12 in /backend
2024-07-14 19:39:00 -07:00
dependabot[bot]
b4eb630fc2
chore(deps): bump chromadb from 0.5.3 to 0.5.4 in /backend
Bumps [chromadb](https://github.com/chroma-core/chroma) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/chroma-core/chroma/releases)
- [Changelog](https://github.com/chroma-core/chroma/blob/main/RELEASE_PROCESS.md)
- [Commits](https://github.com/chroma-core/chroma/compare/0.5.3...0.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 02:34:49 +00:00
dependabot[bot]
8494b97e05
chore(deps): bump unstructured from 0.14.9 to 0.14.10 in /backend
Bumps [unstructured](https://github.com/Unstructured-IO/unstructured) from 0.14.9 to 0.14.10.
- [Release notes](https://github.com/Unstructured-IO/unstructured/releases)
- [Changelog](https://github.com/Unstructured-IO/unstructured/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Unstructured-IO/unstructured/compare/0.14.9...0.14.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 02:34:45 +00:00
dependabot[bot]
a98ff3c151
chore(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.1.7...v6.1.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 02:34:40 +00:00
dependabot[bot]
b16967a29f
chore(deps): bump sqlalchemy from 2.0.30 to 2.0.31 in /backend
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.30 to 2.0.31.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 02:34:36 +00:00
dependabot[bot]
73afa73286
chore(deps): bump pydantic from 2.7.1 to 2.8.2 in /backend
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.7.1 to 2.8.2.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.7.1...v2.8.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 02:34:23 +00:00
Timothy Jaeryang Baek
63ab526bfb
Merge pull request #3815 from JerryKwan/issue3813
fix the checking logic in get_model_path
2024-07-14 13:53:44 -07:00
Timothy Jaeryang Baek
6806b01327
Merge pull request #3839 from Peter-De-Ath/fix-logging
fix: logging - after db migration
2024-07-13 10:23:44 -07:00
Peter De-Ath
03618fd2e0 fix: update logging configuration in env.py 2024-07-12 21:12:30 +01:00
Jerry
f07172bfe6 fix the checking logic in get_model_path
fix the checking logic in function get_model_path()
2024-07-12 14:21:37 +08:00
Timothy J. Baek
856845e5f2 refac 2024-07-11 19:05:59 -07:00
Timothy J. Baek
eb10001eb7 feat: action function 2024-07-11 18:41:00 -07:00
Timothy J. Baek
9f9122b6d7 enh: ChatValves 2024-07-11 16:24:59 -07:00
Timothy J. Baek
8dcb3d78dc refac 2024-07-11 15:20:56 -07:00
Timothy J. Baek
4dd77b785a fix 2024-07-11 14:12:44 -07:00
Timothy J. Baek
7d7a29cfb9 fix 2024-07-11 13:53:47 -07:00
Timothy J. Baek
f462744fc8 refac 2024-07-11 13:43:44 -07:00
Timothy J. Baek
b094153af2 fix 2024-07-11 10:41:13 -07:00
Timothy J. Baek
0ef27bfc5e refac 2024-07-11 10:40:10 -07:00
Timothy Jaeryang Baek
a62b0924df
Update config.json 2024-07-11 00:02:59 -05:00
Timothy J. Baek
fae7db89e6 chore: dockerfile 2024-07-10 14:29:39 -07:00
Timothy J. Baek
ebcc5be1bf fix: db 2024-07-10 13:35:52 -07:00
Timothy J. Baek
2aa5d26735 chore: requirements 2024-07-10 13:10:36 -07:00
Timothy J. Baek
a843e81aaf chore: requirements 2024-07-09 18:23:52 -07:00
Michael Poluektov
1d20c27553 refac: use get_task_model_id() 2024-07-09 16:08:54 +01:00
Michael Poluektov
8f23df5749 fix: outlet __event_emitter__ 2024-07-09 15:57:24 +01:00
Michael Poluektov
144581a7df refac: get_sorted_pipelines() 2024-07-09 12:51:13 +01:00
Michael Poluektov
7ffd75b991 refac: black 2024-07-09 12:32:43 +01:00
Michael Poluektov
ff474936f8 refac: remove model param 2024-07-09 12:20:28 +01:00
Michael Poluektov
d7dd901f01 refac: remove nesting 2024-07-09 12:15:09 +01:00
Michael Poluektov
e3e02e04e8 refac: backend/main.py 2024-07-09 11:51:43 +01:00
Timothy J. Baek
78a5748727 refac 2024-07-08 23:21:17 -07:00
Timothy J. Baek
c9f5029a9d refac 2024-07-08 23:07:23 -07:00
Timothy J. Baek
c2f4eab8ed refac: splash screen 2024-07-08 22:20:00 -07:00
Timothy J. Baek
37285b8749 fix: do not include reserved params in specs 2024-07-08 21:52:23 -07:00
Timothy J. Baek
0a08a4d2fb refac 2024-07-08 21:40:22 -07:00
Timothy J. Baek
1b7ff1c5df feat: __event_call__ support 2024-07-08 21:39:06 -07:00
Timothy J. Baek
4b6ee584c2 fix: alembic 2024-07-08 12:55:27 -07:00
Timothy J. Baek
d3ef3a7494 refac 2024-07-08 12:42:52 -07:00
Timothy J. Baek
68d775e1ab chore: rm print 2024-07-08 12:08:27 -07:00
Timothy J. Baek
3ddd88dad7 chore: rm print 2024-07-08 12:00:09 -07:00
Timothy J. Baek
42742d03d7 fix: model update 2024-07-08 11:58:36 -07:00
Timothy J. Baek
87f656b029 fix: tools update 2024-07-08 11:46:37 -07:00
Timothy Jaeryang Baek
489ef9b731
Merge pull request #3705 from open-webui/dependabot/pip/backend/dev/langfuse-2.38.0
chore(deps): bump langfuse from 2.36.2 to 2.38.0 in /backend
2024-07-08 11:36:05 -07:00
Timothy Jaeryang Baek
642c5e035d
Merge branch 'dev' into dependabot/pip/backend/dev/peewee-3.17.6 2024-07-08 11:35:48 -07:00
Timothy Jaeryang Baek
18962104a2
Merge pull request #3707 from open-webui/dependabot/pip/backend/dev/opencv-python-headless-4.10.0.84
chore(deps): bump opencv-python-headless from 4.9.0.80 to 4.10.0.84 in /backend
2024-07-08 11:35:21 -07:00
Timothy Jaeryang Baek
9eb0f89db8
Merge pull request #3706 from open-webui/dependabot/pip/backend/dev/alembic-1.13.2
chore(deps): bump alembic from 1.13.1 to 1.13.2 in /backend
2024-07-08 11:35:07 -07:00
Timothy Jaeryang Baek
1b660453f0
Merge pull request #3704 from open-webui/dependabot/pip/backend/dev/pytest-approx-eq-8.2.2
chore(deps): update pytest requirement from ~=8.2.1 to ~=8.2.2 in /backend
2024-07-08 11:34:51 -07:00
Timothy J. Baek
3b27acc77e fix 2024-07-08 11:34:24 -07:00
Timothy J. Baek
95426fc6c9 refac: do not use subprocess 2024-07-08 11:27:10 -07:00
Timothy J. Baek
39d3dcd032 fix: db 2024-07-08 10:46:35 -07:00
Jonathan Rohde
3b112375ee feat(documents): commit document delete 2024-07-08 09:14:45 +02:00
Timothy J. Baek
c1d706dc5a fix: db issues 2024-07-07 23:01:15 -07:00
dependabot[bot]
44bbb40551
chore(deps): bump peewee from 3.17.5 to 3.17.6 in /backend
Bumps [peewee](https://github.com/coleifer/peewee) from 3.17.5 to 3.17.6.
- [Release notes](https://github.com/coleifer/peewee/releases)
- [Changelog](https://github.com/coleifer/peewee/blob/master/CHANGELOG.md)
- [Commits](https://github.com/coleifer/peewee/compare/3.17.5...3.17.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 03:11:22 +00:00
dependabot[bot]
d9a393eae1
chore(deps): bump opencv-python-headless in /backend
Bumps [opencv-python-headless](https://github.com/opencv/opencv-python) from 4.9.0.80 to 4.10.0.84.
- [Release notes](https://github.com/opencv/opencv-python/releases)
- [Commits](https://github.com/opencv/opencv-python/commits)

---
updated-dependencies:
- dependency-name: opencv-python-headless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 03:11:12 +00:00
dependabot[bot]
842a6a6ee0
chore(deps): bump alembic from 1.13.1 to 1.13.2 in /backend
Bumps [alembic](https://github.com/sqlalchemy/alembic) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/sqlalchemy/alembic/releases)
- [Changelog](https://github.com/sqlalchemy/alembic/blob/main/CHANGES)
- [Commits](https://github.com/sqlalchemy/alembic/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 03:11:10 +00:00
dependabot[bot]
404b47274e
chore(deps): bump langfuse from 2.36.2 to 2.38.0 in /backend
Bumps [langfuse](https://github.com/langfuse/langfuse) from 2.36.2 to 2.38.0.
- [Release notes](https://github.com/langfuse/langfuse/releases)
- [Commits](https://github.com/langfuse/langfuse/commits/v2.38.0)

---
updated-dependencies:
- dependency-name: langfuse
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 03:11:06 +00:00
dependabot[bot]
8eb03c02da
chore(deps): update pytest requirement in /backend
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.1...8.2.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 03:11:04 +00:00
Peter De-Ath
1bb2724282 fix password update in AuthsTable model 2024-07-07 22:27:26 +01:00
Peter De-Ath
f971ba0c0b fix email update in AuthsTable model 2024-07-07 22:07:12 +01:00
Timothy J. Baek
d51e866505 fix: db 2024-07-07 09:09:09 -07:00
Timothy Jaeryang Baek
7e6c5193d6
Merge pull request #3688 from leobenkel/no-trace-when-success
fix: Remove the tracestack when the collection already exists
2024-07-07 09:00:23 -07:00
Leo Benkel
a73a9c7310 Remove the tracestack when the collection already exists 2024-07-06 23:20:41 +02:00
Timothy J. Baek
c9b85bd4a2 fix: delete 2024-07-06 08:10:58 -07:00
Timothy J. Baek
1436bb7c61 enh: handle peewee migration 2024-07-05 23:38:53 -07:00
Timothy Jaeryang Baek
d60f06608e
Merge pull request #3668 from open-webui/dev
dev
2024-07-05 22:29:13 -07:00
Timothy J. Baek
67c2ab006d fix: pipe custom model 2024-07-04 13:41:18 -07:00
Timothy J. Baek
9a6cbafdef fix: user valves 2024-07-04 00:37:05 -07:00
Timothy J. Baek
8b13755d56 Update auths.py 2024-07-04 00:25:45 -07:00
Timothy J. Baek
8fe2a7bb75 fix 2024-07-03 23:39:16 -07:00
Timothy J. Baek
37a5d2c06b Update db.py 2024-07-03 23:32:46 -07:00
Timothy J. Baek
864646094e refac 2024-07-03 23:32:39 -07:00
Timothy J. Baek
1b65df3acc revert 2024-07-03 21:28:51 -07:00
Timothy J. Baek
bfc53b49fd revert 2024-07-03 21:28:14 -07:00
Timothy J. Baek
15f6f7bd15 revert: peewee migrations 2024-07-03 21:12:16 -07:00
Timothy Jaeryang Baek
0d78b63805
Merge pull request #3621 from open-webui/dev
dev
2024-07-03 20:59:14 -07:00
Timothy Jaeryang Baek
08c024d752
Merge pull request #3569 from Semihal/custom-openid-claims
feat: Custom claims for OAuth
2024-07-03 15:56:37 -07:00
Timothy J. Baek
c83704d6ca refac: task flag
Co-Authored-By: Michael Poluektov <78477503+michaelpoluektov@users.noreply.github.com>
2024-07-03 15:46:56 -07:00
Timothy J. Baek
4d23957035 revert: model_validate 2024-07-02 21:56:32 -07:00
Timothy J. Baek
aa88022624 fix: functions 2024-07-02 21:50:53 -07:00
Timothy J. Baek
44a9b86eec fix: functions 2024-07-02 21:46:56 -07:00
Timothy J. Baek
647aa1966f chore: format 2024-07-02 16:51:30 -07:00
Timothy Jaeryang Baek
d0e89a0318
Merge pull request #3327 from jonathan-rohde/feat/sqlalchemy-instead-of-peewee
BREAKING CHANGE/sqlalchemy instead of peewee
2024-07-02 16:40:13 -07:00
Timothy Jaeryang Baek
2c061777ca
Merge pull request #3591 from michaelpoluektov/fix-banners-env
fix: fix WEBUI_BANNERS environment variable not working
2024-07-02 16:22:06 -07:00
Timothy J. Baek
f57a435576 chore: bump 2024-07-02 16:08:03 -07:00
Michael Poluektov
655238dcd7 banners: generic exception 2024-07-02 14:41:59 +01:00
Michael Poluektov
16fa454558 fix banners env 2024-07-02 14:17:36 +01:00
Timothy J. Baek
7725a877d6 enh: get_last_user_message_item 2024-07-02 00:37:21 -07:00
Timothy J. Baek
d97a4d687e refac 2024-07-01 21:41:44 -07:00
Timothy J. Baek
d6dbd73ec9 fix 2024-07-01 20:15:27 -07:00
Timothy J. Baek
a07051f51b feat: __event_emitter__ 2024-07-01 20:05:02 -07:00
Timothy J. Baek
e5895af7a0 refac 2024-07-01 19:37:54 -07:00
Timothy J. Baek
c7a9b5ccfa refac: chat completion middleware 2024-07-01 19:33:58 -07:00
Timothy J. Baek
a392865615 refac 2024-07-01 17:11:09 -07:00
Timothy Jaeryang Baek
3c1ea24374
Merge pull request #3582 from nickovs/tika-document-text
feat: Support Tika for document text extraction
2024-07-01 17:07:40 -07:00
Timothy J. Baek
bd45b7a04b fix 2024-07-01 16:11:44 -07:00
Timothy J. Baek
9c01297191 fix 2024-07-01 16:11:24 -07:00
Timothy J. Baek
9cc46629c2 refac 2024-07-01 15:43:19 -07:00
Nicko van Someren
7aa35a3757 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.
2024-07-01 12:10:59 -06:00
Jonathan Rohde
2aecd7d0b9 Merge branch 'refs/heads/dev' into feat/sqlalchemy-instead-of-peewee
# Conflicts:
#	backend/requirements.txt
2024-07-01 10:37:56 +02:00
Sergey Mihaylin
a94c7e5c09 fix lint 2024-07-01 10:36:21 +03:00
Sergey Mihaylin
e475f025b7 fix: merge request fail (remove picture_claim) 2024-07-01 10:25:25 +03:00
Sergey Mihaylin
6e934c2d17 Merge branch 'refs/heads/main' into custom-openid-claims
# Conflicts:
#	backend/main.py
2024-07-01 10:08:38 +03:00
Fish Lung
f89fa061e8 fix: use AIOHTTP_CLIENT_TIMEOUT timeout setting for openai streaming response 2024-07-01 14:29:26 +08:00
Timothy J. Baek
4547afe0b9 chore: bump 2024-06-30 22:29:03 -07:00
Timothy J. Baek
7955c9ba3b refac 2024-06-30 22:28:43 -07:00
Timothy Jaeryang Baek
c52e16a844
Merge pull request #3562 from open-webui/dependabot/pip/backend/dev/sentence-transformers-3.0.1
chore(deps): bump sentence-transformers from 2.7.0 to 3.0.1 in /backend
2024-06-30 19:58:38 -07:00
Timothy Jaeryang Baek
c676a78cd7
Merge pull request #3543 from open-webui/dependabot/pip/backend/dev/openpyxl-3.1.5
chore(deps): bump openpyxl from 3.1.2 to 3.1.5 in /backend
2024-06-30 19:57:20 -07:00
Timothy Jaeryang Baek
61b2bcae47
Merge pull request #3563 from open-webui/dependabot/pip/backend/dev/langchain-community-0.2.6
chore(deps): bump langchain-community from 0.2.0 to 0.2.6 in /backend
2024-06-30 19:57:10 -07:00
Timothy Jaeryang Baek
ee59cbc634
Merge pull request #3561 from open-webui/dependabot/pip/backend/dev/requests-2.32.3
chore(deps): bump requests from 2.32.2 to 2.32.3 in /backend
2024-06-30 19:56:53 -07:00
dependabot[bot]
8c7fb0312c
chore(deps): bump langchain-community from 0.2.0 to 0.2.6 in /backend
Bumps [langchain-community](https://github.com/langchain-ai/langchain) from 0.2.0 to 0.2.6.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-community==0.2.0...langchain-community==0.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 02:30:30 +00:00
dependabot[bot]
0ee984b444
chore(deps): bump sentence-transformers from 2.7.0 to 3.0.1 in /backend
Bumps [sentence-transformers](https://github.com/UKPLab/sentence-transformers) from 2.7.0 to 3.0.1.
- [Release notes](https://github.com/UKPLab/sentence-transformers/releases)
- [Commits](https://github.com/UKPLab/sentence-transformers/compare/v2.7.0...v3.0.1)

---
updated-dependencies:
- dependency-name: sentence-transformers
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 02:30:25 +00:00
dependabot[bot]
2fadc0c68f
chore(deps): bump requests from 2.32.2 to 2.32.3 in /backend
Bumps [requests](https://github.com/psf/requests) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 02:30:22 +00:00
dependabot[bot]
3f31bb0975
chore(deps): bump langfuse from 2.33.0 to 2.36.2 in /backend
Bumps [langfuse](https://github.com/langfuse/langfuse) from 2.33.0 to 2.36.2.
- [Release notes](https://github.com/langfuse/langfuse/releases)
- [Commits](https://github.com/langfuse/langfuse/commits)

---
updated-dependencies:
- dependency-name: langfuse
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 02:30:20 +00:00
Jun Siang Cheah
a48ac6a209 refac: lazily load sentence_transformers to reduce start up memory usage 2024-07-01 08:13:56 +08:00
Jun Siang Cheah
17c684369e refac: lazily load faster_whisper to reduce start up memory usage 2024-07-01 08:13:02 +08:00
Timothy J. Baek
f77073410e refac 2024-06-30 14:52:18 -07:00
Nicko van Someren
9cf622d981 Added support for using Apache Tika as a document loader.
Added persistent configuration options to configure use and location of Tika service.

Updated backend.apps.rag.main:get_loader() to make use of Tika document loader.
2024-06-30 15:49:15 -06:00
Timothy J. Baek
d9a229b1ec fix: default locale 2024-06-30 14:48:05 -07:00
Timothy J. Baek
f6efda9e2f refac: ollama non stream response 2024-06-30 01:30:19 -07:00
Timothy Jaeryang Baek
bb53282cb0
Merge pull request #3542 from open-webui/dependabot/pip/backend/dev/duckduckgo-search-approx-eq-6.1.7
chore(deps): update duckduckgo-search requirement from ~=6.1.5 to ~=6.1.7 in /backend
2024-06-29 20:44:19 -07:00
Timothy Jaeryang Baek
c933865172
Merge pull request #3541 from open-webui/dependabot/pip/backend/dev/langchain-chroma-0.1.2
chore(deps): bump langchain-chroma from 0.1.1 to 0.1.2 in /backend
2024-06-29 20:43:56 -07:00
Timothy Jaeryang Baek
ce990d3859
Merge pull request #3539 from open-webui/dependabot/pip/backend/dev/chromadb-0.5.3
chore(deps): bump chromadb from 0.5.0 to 0.5.3 in /backend
2024-06-29 20:43:46 -07:00
dependabot[bot]
5dacd41278
chore(deps): bump openpyxl from 3.1.2 to 3.1.5 in /backend
Bumps [openpyxl](https://openpyxl.readthedocs.io) from 3.1.2 to 3.1.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-30 03:27:46 +00:00
dependabot[bot]
052c582930
chore(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.1.5...v6.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-30 03:27:43 +00:00
dependabot[bot]
3c0ce5d1b0
chore(deps): bump langchain-chroma from 0.1.1 to 0.1.2 in /backend
Bumps [langchain-chroma](https://github.com/langchain-ai/langchain) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-chroma==0.1.1...langchain-chroma==0.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-30 03:27:39 +00:00
dependabot[bot]
9d1aa4aebe
chore(deps): bump python-socketio from 5.11.2 to 5.11.3 in /backend
Bumps [python-socketio](https://github.com/miguelgrinberg/python-socketio) from 5.11.2 to 5.11.3.
- [Release notes](https://github.com/miguelgrinberg/python-socketio/releases)
- [Changelog](https://github.com/miguelgrinberg/python-socketio/blob/main/CHANGES.md)
- [Commits](https://github.com/miguelgrinberg/python-socketio/compare/v5.11.2...v5.11.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-30 03:27:34 +00:00
dependabot[bot]
e540f8a4e4
chore(deps): bump chromadb from 0.5.0 to 0.5.3 in /backend
Bumps [chromadb](https://github.com/chroma-core/chroma) from 0.5.0 to 0.5.3.
- [Release notes](https://github.com/chroma-core/chroma/releases)
- [Changelog](https://github.com/chroma-core/chroma/blob/main/RELEASE_PROCESS.md)
- [Commits](https://github.com/chroma-core/chroma/compare/0.5.0...0.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-30 03:27:27 +00:00
Timothy Jaeryang Baek
56137acd94
Merge pull request #3507 from open-webui/dependabot/pip/authlib-1.3.1
chore(deps): bump authlib from 1.3.0 to 1.3.1
2024-06-29 19:52:43 -07:00
Timothy Jaeryang Baek
73135b6e51
Merge pull request #3511 from Peter-De-Ath/ollama-chat-no-stream
fix: isInstance of streamingResponse but content-type is application/json
2024-06-29 13:16:32 -07:00
Peter De-Ath
269db0748a fix: isInstance of streamingResponse but content-type is application/json 2024-06-28 20:32:07 +01:00
dependabot[bot]
4d3e1ffbe6
chore(deps): bump authlib from 1.3.0 to 1.3.1
Bumps [authlib](https://github.com/lepture/authlib) from 1.3.0 to 1.3.1.
- [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.0...v1.3.1)

---
updated-dependencies:
- dependency-name: authlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-28 16:53:45 +00:00
Sergey Mihaylin
9f32e9ef60 fix username claim 2024-06-28 17:08:32 +03:00
Sergey Mihaylin
0c3f9a16e3 custom env for set custom claims for openid 2024-06-28 16:31:40 +03:00
Sergey Mihaylin
7d10dacad6 Fix: set jwt_token to cookie (instead of token from OIDC) 2024-06-28 16:20:57 +03:00
Sergey Mihaylin
57c330576d Fix: admin role for OIDC signup for first user 2024-06-28 16:20:34 +03:00
Jonathan Rohde
5391f4c1f7 feat(sqlalchemy): add new column 2024-06-28 09:21:07 +02:00
Jonathan Rohde
df47c496d3 Merge branch 'refs/heads/dev' into feat/sqlalchemy-instead-of-peewee
# Conflicts:
#	backend/apps/webui/models/functions.py
#	backend/apps/webui/routers/chats.py
2024-06-28 09:19:56 +02:00
Timothy J. Baek
cd9170ed24 fix: trusted sign in 2024-06-27 21:44:35 -07:00
Timothy J. Baek
feba50f68c fix: WEBUI_AUTH 2024-06-27 21:43:19 -07:00
Timothy J. Baek
edbd07f893 feat: global filter 2024-06-27 13:04:12 -07:00
Timothy J. Baek
c8c85ba7fc refac 2024-06-27 12:16:55 -07:00
Timothy J. Baek
3f5f410453 refac 2024-06-27 11:29:59 -07:00
Jonathan Rohde
23e4d9daff feat(sqlalchemy): formatting 2024-06-27 07:48:26 +02:00
Jonathan Rohde
d4b6b7c4e8 feat(sqlalchemy): reverted not needed api change 2024-06-27 07:48:08 +02:00
Jonathan Rohde
642c352c69 feat(sqlalchemy): rebase 2024-06-27 07:48:08 +02:00
Jonathan Rohde
d88bd51e3c feat(sqlalchemy): format backend 2024-06-27 07:48:08 +02:00
Jonathan Rohde
2fb27adbf6 feat(sqlalchemy): add missing file 2024-06-27 07:48:08 +02:00
Jonathan Rohde
8f939cf55b feat(sqlalchemy): some fixes 2024-06-27 07:48:08 +02:00
Jonathan Rohde
a9b148791d feat(sqlalchemy): fix wrong column types 2024-06-27 07:48:08 +02:00
Jonathan Rohde
da403f3e3c feat(sqlalchemy): use session factory instead of context manager 2024-06-27 07:48:08 +02:00
Jonathan Rohde
eb01e8d275 feat(sqlalchemy): use scoped session 2024-06-27 07:48:08 +02:00
Jonathan Rohde
c134eab27a feat(sqlalchemy): format backend 2024-06-27 07:48:08 +02:00
Jonathan Rohde
320e658595 feat(sqlalchemy): cleanup fixes 2024-06-27 07:48:08 +02:00
Jonathan Rohde
070d9083d5 feat(sqlalchemy): use subprocess to do migrations 2024-06-27 07:48:08 +02:00
Jonathan Rohde
bee835cb65 feat(sqlalchemy): remove session reference from router 2024-06-27 07:48:08 +02:00
Jonathan Rohde
df09d0830a feat(sqlalchemy): Replace peewee with sqlalchemy 2024-06-27 07:48:08 +02:00
Timothy J. Baek
8dac2a2140 refac 2024-06-26 10:22:31 -07:00
Timothy Jaeryang Baek
70c985feec
Merge pull request #3447 from ben-z/stt-model-configurable
fix: Make STT model configurable
2024-06-25 15:26:57 -07:00
Ben Zhang
044bd00386 Make STT model configurable 2024-06-25 21:46:12 +00:00
Timothy J. Baek
36e88d479b chore: format 2024-06-25 08:01:05 -07:00
Timothy J. Baek
c147147001 chore: format 2024-06-25 08:00:32 -07:00
Timothy Jaeryang Baek
16a8eebd8d
Merge pull request #3328 from FuturePrayer/AUTOMATIC1111_api_auth_support
feat: Supports making requests to the Automatic1111 backend when running with the --api-auth parameter
2024-06-24 19:40:55 -07:00
Timothy Jaeryang Baek
d17dc59246
Merge pull request #2574 from cheahjs/feat/oauth
feat: experimental SSO support for Google, Microsoft, and OIDC
2024-06-24 19:05:58 -07:00
Timothy J. Baek
a40d0ec3cb chore: requirements 2024-06-24 17:53:07 -07:00
Timothy J. Baek
d361404a60 refac 2024-06-24 13:33:03 -07:00
Timothy J. Baek
4c9fa6cf37 enh: pipe handling 2024-06-24 12:56:41 -07:00
Timothy J. Baek
1c4e7f0324 refac 2024-06-24 11:17:18 -07:00
Timothy J. Baek
6bad71adca fix 2024-06-24 10:37:57 -07:00
Jun Siang Cheah
ca8c098f62 refac: update migrations to match dev 2024-06-24 18:48:28 +08:00
Jun Siang Cheah
f26d80dcae Merge remote-tracking branch 'upstream/dev' into feat/oauth 2024-06-24 18:46:48 +08:00
Timothy J. Baek
5c0015cd66 fix: frontmatter 2024-06-23 20:37:41 -07:00
Timothy J. Baek
abf212c28f enh: tools & functions frontmatter 2024-06-23 20:31:40 -07:00
Timothy J. Baek
8b99870189 enh: filter function priority valve support 2024-06-23 20:11:08 -07:00
Timothy J. Baek
0250f69da0 fix: valves 2024-06-23 19:48:16 -07:00
Jun Siang Cheah
99e7b328a4 refac: add better logging for oauth errors 2024-06-24 10:43:53 +08:00
Timothy J. Baek
5f2d37dce5 fix: valves 2024-06-23 19:37:35 -07:00
Timothy J. Baek
2eb15ea1fc feat: SAFE_MODE 2024-06-23 19:28:33 -07:00
Timothy J. Baek
0cf936f9e8 refac 2024-06-23 19:18:13 -07:00
Timothy J. Baek
26e735618e fix: tools valves 2024-06-23 19:10:52 -07:00
Timothy J. Baek
dc25f44d31 fix: handle default 2024-06-23 19:05:56 -07:00
Timothy J. Baek
627705a347 feat: valves 2024-06-23 19:02:27 -07:00
Timothy J. Baek
3a629ffe00 feat: global filter 2024-06-23 18:39:27 -07:00
Timothy J. Baek
d8c112d8b0 feat: function toggle support 2024-06-23 18:34:42 -07:00
Timothy J. Baek
120b1857b2 enh: valves 2024-06-23 18:05:33 -07:00
Timothy J. Baek
7cd4a3cd1a chore: requirements 2024-06-23 17:22:11 -07:00
Timothy J. Baek
6ee94c5e97 chore: format 2024-06-22 16:15:19 -07:00
Timothy Jaeryang Baek
fd96c9c68d
Merge pull request #3380 from Yash-1511/main
feat: add jina_search as new websearch provider
2024-06-22 15:19:38 -07:00
Timothy J. Baek
60e5adc70e enh: files api allow filename 2024-06-22 14:49:00 -07:00
Timothy J. Baek
de367e488d fix 2024-06-22 14:08:23 -07:00
Timothy J. Baek
df71d7c63b fix 2024-06-22 14:07:11 -07:00
Timothy J. Baek
5b64c28f33 refac 2024-06-22 14:06:19 -07:00
Timothy J. Baek
03bb4bcda6 refac: tool specs 2024-06-22 13:47:57 -07:00
Timothy J. Baek
cf6447eb2a feat: function exception handler 2024-06-22 12:43:30 -07:00
Timothy J. Baek
9205b90af6 fix 2024-06-22 12:26:03 -07:00
Timothy J. Baek
6ce91de7e0 fix 2024-06-22 12:25:02 -07:00
Timothy J. Baek
f524238910 fix 2024-06-22 12:24:46 -07:00
Timothy J. Baek
646832ba8c refac 2024-06-22 12:23:37 -07:00
Timothy J. Baek
6ccb5e8f67 feat: user valves support 2024-06-22 12:14:12 -07:00
Timothy J. Baek
d362fd027e feat: user valves integration 2024-06-22 12:08:32 -07:00
Timothy J. Baek
15fc23df87 feat: user valves endpoints 2024-06-22 11:26:33 -07:00
Yash-1511
7c9fb9199e feat: add jina_search as new websearch provider 2024-06-22 20:06:15 +05:30
Timothy J. Baek
e4af3852f7 refac: allow class in tools 2024-06-22 02:29:22 -07:00
Timothy J. Baek
a8a451344c refac 2024-06-22 01:42:28 -07:00
Timothy J. Baek
ae567796ee refac 2024-06-22 01:39:53 -07:00
Timothy J. Baek
14fd3a8aca refac 2024-06-21 11:05:55 -07:00
Jun Siang Cheah
981f384154 refac: modify oauth login logic for unique email addresses 2024-06-21 18:25:19 +01:00
Jun Siang Cheah
e011e7b695 fix: set auth cookie during oauth login 2024-06-21 14:35:57 +01:00
Jun Siang Cheah
416e8d1ef9 fix: db migration sync with dev 2024-06-21 14:35:57 +01:00
Jun Siang Cheah
983112d17c feat: fetch and store oauth profile pictures as data URLs 2024-06-21 14:35:54 +01:00
Jun Siang Cheah
922dfae51c fix: broken tuple expansion 2024-06-21 13:44:10 +01:00
Jun Siang Cheah
4aab460905 Merge remote-tracking branch 'upstream/dev' into feat/oauth 2024-06-21 13:43:19 +01:00
Timothy J. Baek
a2ea6b1b5b enh: tool async support 2024-06-20 20:40:03 -07:00
Timothy J. Baek
4370f233a1 feat: pipe async support 2024-06-20 20:37:04 -07:00
Timothy J. Baek
5621025c12 feat: async filter support 2024-06-20 20:26:28 -07:00
Timothy J. Baek
6bb2f41812 feat: tool citation 2024-06-20 14:14:12 -07:00
Timothy J. Baek
58ae91369e refac 2024-06-20 13:49:04 -07:00
Timothy J. Baek
f1de635988 refac: cookie 2024-06-20 13:14:58 -07:00
Timothy J. Baek
5a2c2770a4 chore: format 2024-06-20 04:53:23 -07:00
Timothy J. Baek
59fa2f8f26 refac: pipe function support 2024-06-20 04:47:40 -07:00
Timothy J. Baek
d6e4aef607 feat: pipe function 2024-06-20 04:38:59 -07:00
Timothy J. Baek
de26a78a16 refac 2024-06-20 04:21:55 -07:00
Timothy J. Baek
c689356b31 refac 2024-06-20 03:57:36 -07:00
Timothy J. Baek
015772ef9a refac 2024-06-20 03:45:13 -07:00
Timothy J. Baek
afd270523c feat: filter func outlet 2024-06-20 03:23:50 -07:00
Timothy J. Baek
96d7c3e99f fix: raise error 2024-06-20 02:37:36 -07:00
Timothy J. Baek
c4bd60114e feat: filter inlet support 2024-06-20 02:30:00 -07:00
Timothy J. Baek
6b8a7b9939 refac: chat completion middleware 2024-06-20 02:06:10 -07:00
Timothy J. Baek
448ca9d836 refac 2024-06-20 01:51:39 -07:00
Timothy J. Baek
bf5775e07a refac 2024-06-20 01:16:31 -07:00
Timothy J. Baek
43e08c6afa refac 2024-06-20 00:54:58 -07:00
Timothy J. Baek
27f8afebab feat: function db migration 2024-06-20 00:49:11 -07:00
Timothy J. Baek
f68aba687e feat: functions router 2024-06-20 00:37:02 -07:00
sihuangwlp
e16ae92edc complate missing field AUTOMATIC1111_API_AUTH 2024-06-20 14:53:38 +08:00
sihuangwlp
bec04279aa Add AUTOMATIC1111_API_AUTH support 2024-06-20 14:15:49 +08:00
Timothy J. Baek
f9283bc311 enh: pipeline user email support 2024-06-19 17:19:35 -07:00
Timothy J. Baek
ab270c1682 fix 2024-06-19 14:49:35 -07:00
Timothy Jaeryang Baek
1e0453221d
Merge pull request #3221 from perfectra1n/feature-external-db-reconnect
feat: external db reconnect
2024-06-19 14:40:03 -07:00
Timothy J. Baek
b36c525ebc enh: cookie auth 2024-06-19 14:38:09 -07:00
Que Nguyen
9e87012489
Fix: Rename 'whitelist' to 'filter_list' in function 2024-06-19 18:22:29 +07:00
Timothy J. Baek
dad7af6de1 enh: tool __model__ param support 2024-06-18 18:50:36 -07:00
Timothy J. Baek
dcac1a3cb7 enh: tool __id__ param support for cache dir 2024-06-18 18:14:18 -07:00
Timothy J. Baek
6f9a31eba5 feat: tool cache dir 2024-06-18 18:07:51 -07:00
Timothy J. Baek
a2e1ea103c feat: tools file handler support 2024-06-18 16:45:03 -07:00
Timothy J. Baek
514c7f1520 fix: rag 2024-06-18 16:08:42 -07:00
Timothy J. Baek
bcc27e3852 fix 2024-06-18 15:48:25 -07:00
Timothy J. Baek
d5a1030000 refac: uploads delete 2024-06-18 15:20:04 -07:00
Timothy J. Baek
20e4f6cc16 refac 2024-06-18 14:55:18 -07:00
Timothy J. Baek
eb21750466 fix: files 2024-06-18 14:38:23 -07:00
Timothy J. Baek
b4bdea6d85 fix: files 2024-06-18 14:33:44 -07:00
Timothy J. Baek
83986620ee refac 2024-06-18 14:15:08 -07:00
Timothy J. Baek
9e7b7a895e refac: file upload 2024-06-18 13:50:18 -07:00
perfectra1n
7e061d19ca
Merge branch 'open-webui:main' into feature-external-db-reconnect 2024-06-18 12:11:28 -07:00
Timothy J. Baek
7c2a198370 feat: file db migration 2024-06-18 11:38:50 -07:00
Timothy J. Baek
146e550239 feat: files endpoint 2024-06-18 11:36:55 -07:00
Timothy J. Baek
ba7091c25b refac 2024-06-18 10:36:06 -07:00
Timothy J. Baek
453f9be16c refac 2024-06-18 10:26:53 -07:00
perf3ct
81b2416923
format 2024-06-17 16:47:09 -07:00
perf3ct
59c6ff727a
borrow some of the previous PRs reconnection code 2024-06-17 16:44:20 -07:00
Timothy J. Baek
493fe562ac refac 2024-06-17 14:39:21 -07:00
Timothy J. Baek
b1d83fc42c chore: format 2024-06-17 14:32:23 -07:00
Timothy Jaeryang Baek
20f052eb37
Merge pull request #3112 from que-nguyen/searxng
Domain whitelisting for web search results
2024-06-17 14:30:17 -07:00
Timothy J. Baek
686c5081e6 fix: model system prompt variable support 2024-06-17 13:47:48 -07:00
Timothy J. Baek
55dfc2013a enh: __messages__ support for tools 2024-06-17 13:28:29 -07:00
perf3ct
48e1356ed9
add logging for user upon db connection 2024-06-17 10:34:19 -07:00
perf3ct
5c655f298b
stop even using pooled DBs in peewee 2024-06-17 09:56:31 -07:00
perf3ct
981866eb93
use autoconnect and stop using the mixin 2024-06-17 07:50:47 -07:00
Que Nguyen
c487385980
Set filter_list as optional param in serpstack.py 2024-06-17 14:38:11 +07:00
Que Nguyen
bcb84235b1
Set filter_list as optional param in serply.py 2024-06-17 14:37:52 +07:00
Que Nguyen
6b8290fa6d
Set filter_list as optional param in serper.py 2024-06-17 14:37:26 +07:00
Que Nguyen
9c446d9fb4
Set filter_list as optional param in searxng.py 2024-06-17 14:36:56 +07:00
Que Nguyen
3cc0e3ecb6
Refactor rag/main.py
Renamed function get_filtered_results
2024-06-17 14:36:26 +07:00
Que Nguyen
d8beed13b4
Set filter_list as optional param in google_pse.py 2024-06-17 14:35:27 +07:00
Que Nguyen
7d2ad8c4bf
Set filter_list as optional param in duckduckgo.py 2024-06-17 14:34:59 +07:00
Que Nguyen
a02139ba9d
Set filter_list as optional param in brave.py 2024-06-17 14:34:17 +07:00
Que Nguyen
b3d136b3b3
Refactored config.py
Renamed RAG_WEB_SEARCH_WHITE_LIST_DOMAINS to RAG_WEB_SEARCH_DOMAIN_FILTER_LIST
2024-06-17 14:33:23 +07:00
Que Nguyen
a3ac9ee774
Refactor main.py
Rename RAG_WEB_SEARCH_WHITE_LIST_DOMAINS to RAG_WEB_SEARCH_DOMAIN_FILTER_LIST
2024-06-17 14:31:44 +07:00
Que Nguyen
75e51ecf6d
Merge branch 'open-webui:main' into searxng 2024-06-17 14:28:02 +07:00
Timothy J. Baek
a28ad06bf0 fix 2024-06-16 23:36:21 -07:00
Timothy J. Baek
1efa25eed5 chore: format 2024-06-16 21:55:08 -07:00
Timothy Jaeryang Baek
f3bd81073d
Merge pull request #3202 from JohnTheNerd/main
feat: added ability to set user name for federated auth
2024-06-16 17:56:29 -07:00
Timothy J. Baek
e183b0e5ff chore: format 2024-06-16 15:34:15 -07:00
Timothy J. Baek
4b6b33b08b feat: user_location 2024-06-16 15:32:26 -07:00
perf3ct
10fa887eab
fix peewee and playhouse connections to retry 2024-06-16 15:25:48 -07:00
John Karabudak
c00a6fa02a added ability to set user name for federated auth
this commit adds an optional environment variable named `WEBUI_AUTH_TRUSTED_NAME_HEADER`, which sets the user's name to the contents of that header. this only happens if the user is just being created, just like how the trusted e-mail header works.

if the environment variable or header is not present, we fall back to the original behavior which is to re-use the user e-mail address.

Co-Authored-By: Nikita Borzykh <sample@fastmail.com>
2024-06-16 18:44:10 -02:30
Timothy J. Baek
8e62c36148 enh: AIOHTTP_CLIENT_TIMEOUT None support 2024-06-16 13:56:49 -07:00
John Karabudak
ea074fa9bf added Stable Diffusion 3 support alongside ComfyUI configuration
this commit adds four environment variables:

- COMFYUI_CFG_SCALE
- COMFYUI_SAMPLER
- COMFYUI_SCHEDULER
- COMFYUI_SD3 (merely setting this at all will enable SD3 mode)
2024-06-16 15:30:52 -02:30
Timothy J. Baek
fc1a66ea76 feat: current_time, current_datetime 2024-06-16 10:39:48 -06:00
Timothy Jaeryang Baek
c8418da8c1
Merge pull request #3217 from theasp/better-body-logging
chore: Log API request bodies at debug level
2024-06-16 09:07:22 -07:00
perf3ct
75d713057c
Merge remote-tracking branch 'upstream/main' into feature-external-db-reconnect 2024-06-16 09:03:57 -07:00
Andrew Phillips
c0c875eae2 Use log.debug() for logging request bodies for the backend API 2024-06-16 12:40:16 -03:00
Andrew Phillips
3eba963d03 Remove redundant logging 2024-06-16 12:38:20 -03:00
Jun Siang Cheah
4ff17acc1b Merge remote-tracking branch 'upstream/dev' into feat/oauth 2024-06-16 08:31:05 +01:00
Que Nguyen
a02ba52de8
Merge branch 'dev' into searxng 2024-06-15 23:44:31 +07:00
Timothy J. Baek
dfa2cf9e6d refac: AIOHTTP_CLIENT_TIMEOUT default value should match 2024-06-15 04:25:21 -06:00
Timothy J. Baek
2f501aee14 chore: format 2024-06-15 03:36:17 -06:00
Timothy J. Baek
3c599e24e5 refac 2024-06-15 03:35:44 -06:00
Timothy Jaeryang Baek
a6ee7415d8
Merge pull request #3116 from Peter-De-Ath/memories-edit
feat: add abilty to edit memories
2024-06-15 01:58:57 -07:00
Peter De-Ath
bec00e7e64 fix: change update_memory to correct naming convention
fix: update update_memory to POST
2024-06-14 21:23:34 +01:00
Timothy Jaeryang Baek
8db439a0d1
Merge pull request #3177 from Yash-1511/main
feat: add tavily web search in web search provider
2024-06-14 11:09:59 -07:00
Yash-1511
b9da72560a feat: add tavily web search in web search provider 2024-06-14 20:44:11 +05:30
Timothy Jaeryang Baek
26505079b8
Merge pull request #3107 from TheTerrasque/defect/ollama-long-response-timeout
Fix: ollama long response timeout
2024-06-14 02:45:55 -07:00
Timothy Jaeryang Baek
53858c9b0e
Merge pull request #3161 from sammcj/num_batch
feat: add num_keep, num_batch
2024-06-14 00:14:46 -07:00
Timothy J. Baek
454a386612 refac 2024-06-14 00:10:52 -07:00
Sam McLeod
3f5e36271f feat: add num_keep, num_batch 2024-06-14 16:21:20 +10:00
Timothy J. Baek
b8136951e4 refac 2024-06-13 02:29:56 -07:00
Timothy J. Baek
5300d2c531 refac 2024-06-13 01:28:15 -07:00
Timothy J. Baek
d6fd2a8228 refac 2024-06-12 21:18:53 -07:00
Peter De-Ath
493e3068d8 enh: ability to edit memories 2024-06-13 02:42:07 +01:00
Que Nguyen
7b5f434a07
Implement domain whitelisting for web search results 2024-06-13 07:14:48 +07:00
Mikael Turøy
e130ad74d1 Added timeout setting for ollama streaming response 2024-06-12 22:50:15 +02:00
Timothy J. Baek
bdd2ac0015 fix/refac: docs 2024-06-12 13:45:13 -07:00
Timothy J. Baek
e82027310d fix 2024-06-12 13:34:34 -07:00
Timothy J. Baek
c6c0bc19d8 fix: filter pipeline 2024-06-12 13:31:05 -07:00
Timothy J. Baek
c794d59fd5 revert: do not change the default 2024-06-12 11:47:19 -07:00
Timothy Jaeryang Baek
90dadf0bec
Merge pull request #3073 from que-nguyen/searxng
Set searxng language to auto and enable safesearch (moderate).
2024-06-12 11:26:10 -07:00
Timothy J. Baek
1163745a03 revert 2024-06-12 11:08:05 -07:00
Que Nguyen
305ec59d76
Set searxng language as 'auto' and enable safesearch (moderate).
Configure searxng with language param set to auto and add "safesearch": 1 (moderate) for safer web results.
2024-06-12 21:33:33 +07:00
Timothy J. Baek
c0ca447041 chore: format 2024-06-12 01:37:53 -07:00
Timothy Jaeryang Baek
5d3db15eca
Merge pull request #3049 from que-nguyen/dev
Refactor URL validation function
2024-06-12 01:36:34 -07:00
Timothy J. Baek
eead69068c fix: type casting 2024-06-12 01:35:42 -07:00
Timothy J. Baek
e8fc522eba chore: format 2024-06-12 00:18:22 -07:00
Que Nguyen
eb7bba81fe
Refactor URL validation function
- The check for private IP addresses often did not yield the expected results, especially with errors like: `[Errno -2] Name or service not known`.
- Removed the check for private IP addresses in the URL validation process.
- Simplified the `validate_url` function to focus on validating the URL format and checking the existence of the URL using a HEAD request.
2024-06-12 08:15:04 +07:00
Timothy J. Baek
9bd054490f refac 2024-06-11 14:32:01 -07:00
Timothy J. Baek
2be14d57bf fix 2024-06-11 14:30:18 -07:00
Timothy J. Baek
0bb26ae504 refac: tools 2024-06-11 11:31:14 -07:00
Timothy J. Baek
9d16dd997a refac 2024-06-11 11:15:43 -07:00
Timothy J. Baek
e4fe1fff97 feat: tool __user__ email 2024-06-11 10:54:11 -07:00
Timothy J. Baek
67cd9b76ae refac: __user__ param 2024-06-11 10:35:13 -07:00
Timothy J. Baek
8a86f32700 feat: user hook 2024-06-11 10:19:59 -07:00
Timothy Jaeryang Baek
d709038b5b
Merge pull request #3029 from Yash-1511/main
feat: add DuckDuckGo search functionality using duckduckgo_search library
2024-06-11 09:53:26 -07:00
Timothy Jaeryang Baek
a2631ed38e
Merge pull request #3041 from cocktailpeanut/main
feat: custom HOST env variable on windows
2024-06-11 09:52:45 -07:00
cocktailpeanut
884eb9f7ee update 2024-06-11 12:32:29 -04:00
Que Nguyen
3bec60b80c
Fixed the issue where a single URL error disrupts the data loading process in Web Search mode
To address the unresolved issue in the LangChain library where a single URL error disrupts the data loading process, the lazy_load method in the WebBaseLoader class has been modified. The enhanced method now handles exceptions appropriately, logging errors and continuing with the remaining URLs.
2024-06-11 22:06:14 +07:00
Yash-1511
07b08ef67e add: duckduckgo-search dependencies added in requirements.txt 2024-06-11 19:53:57 +05:30
Yash-1511
83f9475584 feat: add DuckDuckGo search functionality using duckduckgo_search library 2024-06-11 19:49:08 +05:30
Timothy J. Baek
bf1936de34 refac 2024-06-11 02:12:24 -07:00
Timothy J. Baek
1e1b372d07 fix 2024-06-11 01:18:05 -07:00
Timothy J. Baek
bd5a8567ef refac: tools & rag 2024-06-11 01:10:24 -07:00
Timothy J. Baek
91bc65c7da fix 2024-06-11 00:50:30 -07:00
Timothy J. Baek
049b3136e8 refac 2024-06-11 00:24:25 -07:00
Timothy J. Baek
3d6f5f418d feat: tools full integration 2024-06-11 00:18:45 -07:00
Timothy J. Baek
a27175d672 feat: fc integration 2024-06-10 23:40:27 -07:00
Timothy J. Baek
ff1cd306d8 refac 2024-06-10 22:38:48 -07:00
Timothy J. Baek
8464b30485 refac 2024-06-10 22:10:53 -07:00
Timothy J. Baek
c961964647 enh: tool id validation 2024-06-10 21:59:06 -07:00
Timothy J. Baek
4601a0246f fix: tool edit 2024-06-10 21:53:51 -07:00
Timothy J. Baek
1611a3aa70 feat: export tools 2024-06-10 21:36:13 -07:00
Timothy J. Baek
b434ebf3ad feat: tools integration 2024-06-10 21:33:46 -07:00
Timothy J. Baek
3a96e1f109 feat: tools backend 2024-06-10 20:39:55 -07:00
Timothy J. Baek
8b1e2ce279 feat: code format 2024-06-10 17:12:48 -07:00
Timothy J. Baek
644f0fe6c3 chore: version bump 2024-06-10 13:52:35 -07:00
Timothy Jaeryang Baek
fcf8f2a704
Merge pull request #2952 from arkohut/tolerant-readonly-filesystem
fix: tolerant readonly filesystem for copy favicon to static dir
2024-06-10 11:59:06 -07:00
arkohut
d20f6cb45b fix: use Exception to handle all errors 2024-06-10 21:27:35 +08:00
teampen
14d33f0fcc Merge branch 'add-serply' into dev 2024-06-09 21:40:50 -04:00
teampen
4dcec4855e adding Serply as an alternative web search 2024-06-09 21:39:46 -04:00
teampen
efb4a710c8 adding Serply as an alternative web search 2024-06-09 20:44:34 -04:00
Timothy J. Baek
2755ef62d9 feat: threshold setting 2024-06-09 15:29:55 -07:00
Timothy J. Baek
8debb71197 feat: search query threshold 2024-06-09 15:19:36 -07:00
Timothy J. Baek
a93645aee8 refac 2024-06-09 15:08:23 -07:00
Timothy J. Baek
28ca6fb678 refac 2024-06-09 15:04:33 -07:00
Timothy J. Baek
591cd993c2 refac: search query task 2024-06-09 14:53:10 -07:00
Timothy J. Baek
aa1bb4fb6d refac 2024-06-09 14:26:49 -07:00
Timothy J. Baek
5e7237b9cb refac: title generation 2024-06-09 14:25:31 -07:00
Timothy J. Baek
84defafc14 feat: unified chat completions endpoint 2024-06-09 13:17:44 -07:00
Timothy Jaeryang Baek
9b38788aa2
Merge pull request #2937 from mindspawn/cuda-fix
Enable case independent environment variable testing in start.sh
2024-06-09 13:01:17 -07:00
Timothy J. Baek
c44fc82ecd refac: openai 2024-06-09 12:43:54 -07:00
arkohut
8e9e429a91 fix: tolerant readonly filesystem for copy favicon to static dir 2024-06-09 23:23:28 +08:00
Timothy J. Baek
f2b9a5f5bf refac: rag 2024-06-09 03:01:25 -07:00
Timothy Jaeryang Baek
8c95a8be3a
Merge pull request #2943 from choltha/fix/temperature-params
fix: model settings temperature not passed correctly from model settings to ollama/openai api
2024-06-09 01:56:18 -07:00
Christoph Holthaus
97b39115a1 fix: temperature not passed correctly 2024-06-09 09:49:24 +02:00
Timothy J. Baek
d1da3dde65 refac: migration 2024-06-08 13:45:33 -07:00
Timothy J. Baek
3499ec3f79 fix: tts 2024-06-08 13:18:42 -07:00
Timothy Jaeryang Baek
9b839e5c9f
Merge pull request #2927 from arkohut/tolerant-no-write-permission-for-static-dir
fix: tolerant no write permission for copy favicon to static dir
2024-06-08 13:03:08 -07:00
mindspawn
575f23cde9
Update start.sh to be case-independent when testing env vars 2024-06-08 10:59:59 -07:00
Timothy J. Baek
5cbb79fa6e fix: safari audio issue 2024-06-08 02:07:19 -07:00
Timothy J. Baek
277e7aead7 refac 2024-06-08 00:52:19 -07:00
arkohut
d3558fdb33 fix: tolerant no write permission for copy favicon to static dir 2024-06-08 13:56:08 +08:00
Timothy Jaeryang Baek
dbde628141
Merge pull request #2923 from mindspawn/outlook-msg
Support Outlook Message File Format
2024-06-07 21:50:03 -07:00
mindspawn
6f9148ac4c
Update main.py 2024-06-07 21:41:30 -07:00
Timothy J. Baek
d7d8896e43 fix: active users 2024-06-07 21:38:09 -07:00
mindspawn
f69bc57fed
Update requirements.txt 2024-06-07 21:18:35 -07:00
mindspawn
4ecc1c06d3
Update main.py 2024-06-07 21:18:04 -07:00
Timothy J. Baek
e516374d54 feat: external stt 2024-06-07 20:31:52 -07:00
Timothy J. Baek
55dc6c1b3b refac: audio 2024-06-07 20:18:48 -07:00
Timothy J. Baek
da47c2dfa3 refac: active users 2024-06-07 17:35:01 -07:00
Jun Siang Cheah
bba4c4242f feat: add WEBUI_SESSION_COOKIE_SECURE 2024-06-07 09:13:42 +01:00
Timothy J. Baek
4a73a01c24 refac 2024-06-06 20:44:42 -07:00
Timothy Jaeryang Baek
b512501d9d
Merge pull request #2870 from mindspawn/proxy-fix2
Fix proxy not being used for /api/version/updates
2024-06-06 04:06:36 -07:00
mindspawn
3069fa8074
Update main.py to enable http_proxy use for checking for new versions 2024-06-05 17:24:59 -07:00
Timothy J. Baek
e52568e7cb feat: upload pipeline 2024-06-05 13:57:48 -07:00
Jun Siang Cheah
ae376ec8fe Merge remote-tracking branch 'upstream/dev' into feat/oauth 2024-06-05 19:23:52 +01:00
Jun Siang Cheah
af4f8aa589 feat: add WEBUI_SESSION_COOKIE_SAME_SITE for when open webui is embedded 2024-06-05 19:21:42 +01:00
Timothy J. Baek
d077b3dcdb fix: ollama version request when ollama api is disabled 2024-06-05 09:08:52 -07:00
Timothy J. Baek
92d056c982 fix: running models 2024-06-04 11:38:31 -07:00
Timothy J. Baek
2be9c25ba7 feat: show current running models 2024-06-04 11:13:43 -07:00
Timothy J. Baek
7cf80289c3 fix: active users 2024-06-04 09:52:27 -07:00
Timothy J. Baek
bbfa54a6b9 feat: active user count 2024-06-04 01:10:31 -07:00
Timothy J. Baek
4925a6530b fix: banner z index 2024-06-04 00:45:56 -07:00
Timothy J. Baek
85484392b2 feat: websocket 2024-06-03 23:39:52 -07:00
Timothy J. Baek
0495f01acb feat: reset upload dir 2024-06-03 21:45:36 -07:00
Timothy Jaeryang Baek
8c3a6eb262
Merge pull request #2799 from mindspawn/proxy-fix
Enable use of http_proxy environment variable in openai and ollama calls
2024-06-03 21:19:53 -07:00
Timothy J. Baek
25336f85f3 feat: admin details in account pending overlay 2024-06-03 21:17:43 -07:00
mindspawn
74ed74f1a4
Enable http_proxy use for ollama calls. 2024-06-03 20:43:25 -07:00
mindspawn
94ebf02719
Enable http_proxy use for openai calls. 2024-06-03 20:41:59 -07:00
Timothy J. Baek
61867c1545 Update searxng.py 2024-06-03 17:02:50 -07:00
Timothy J. Baek
4068a421bf fix 2024-06-03 17:00:35 -07:00
Timothy Jaeryang Baek
768941bded
Merge pull request #2785 from cheahjs/feat/openai-embeddings-batch
feat: add RAG_EMBEDDING_OPENAI_BATCH_SIZE to batch multiple embeddings
2024-06-03 13:50:14 -07:00
Jun Siang Cheah
7fefbb316d fix: add backwards compat with older searxng urls 2024-06-03 21:13:10 +01:00
Timothy J. Baek
82f7b6c315 refac: modelfiles migration 2024-06-03 12:48:17 -07:00
Timothy Jaeryang Baek
92d9b38110
Merge branch 'dev' into feat/openai-embeddings-batch 2024-06-03 12:39:09 -07:00
Lyuboslav Petrov
08443b3c55
Revert log level to debug 2024-06-03 12:48:40 +03:00
Lyuboslav Petrov
7e761a69a7
FIX searxng URL construction using params for arg passing
Accept additional parameters such as language, time_range, and categories to tailor the search results.
Raise an exception if a request error occurs during the search process.
Use params argument to construct the query string
Sort by relevance
Expand docstring
2024-06-03 12:44:46 +03:00
Timothy J. Baek
fddf693dad feat: single chat export 2024-06-02 21:39:09 -07:00
Timothy J. Baek
814fbb73f3 feat: RESET_CONFIG_ON_START 2024-06-02 18:14:36 -07:00
Timothy J. Baek
3d74c04f50 feat: mermaid rendering support 2024-06-02 18:03:30 -07:00
Timothy J. Baek
a9e5003c4f fix: filter outlet 2024-06-02 17:49:44 -07:00
Timothy J. Baek
32a61ea15d fix: pipelines 2024-06-02 16:46:33 -07:00
Timothy Jaeryang Baek
c5ff4c24e1
Merge branch 'dev' into fix/ollama-cancellation 2024-06-02 16:27:01 -07:00
Timothy J. Baek
27ff3ab112 fix: validate lengths for openai urls and keys 2024-06-02 16:20:22 -07:00
Timothy J. Baek
e0ba585204 feat: include num_thread in advanced params 2024-06-02 13:20:38 -07:00
Jun Siang Cheah
b5b2b70f4a fix: bad payload refactor 2024-06-02 19:40:18 +01:00
Jun Siang Cheah
7f74426a22 fix: openai streaming cancellation using aiohttp 2024-06-02 18:48:45 +01:00
Jun Siang Cheah
4dd51badfe fix: ollama streaming cancellation using aiohttp 2024-06-02 18:06:12 +01:00
Jun Siang Cheah
24c35c308d fix: stream defaults to true, return request ID 2024-06-02 17:09:15 +01:00
Jun Siang Cheah
0cb8163321 feat: add RAG_EMBEDDING_OPENAI_BATCH_SIZE to batch multiple embeddings 2024-06-02 15:34:31 +01:00
Timothy J. Baek
a53796270f refac: web search config 2024-06-01 20:08:08 -07:00
Timothy J. Baek
fbdfb7e4fa refac: web search 2024-06-01 19:57:00 -07:00
Timothy J. Baek
999d2bc21b refac: web search 2024-06-01 19:52:12 -07:00
Timothy J. Baek
912a704fdc refac: web search settings 2024-06-01 19:40:48 -07:00
Timothy J. Baek
ea6b8984ab refac: web search 2024-06-01 19:03:56 -07:00
Timothy J. Baek
c6a57b1f6f feat: export litellm config.yaml 2024-06-01 16:31:39 -07:00
Timothy J. Baek
cb8c45d864 fix: pipelines 2024-05-31 13:30:12 -07:00
Timothy J. Baek
7674229e3a feat: chat clone 2024-05-31 10:30:42 -07:00
Беклемишев Петр Алексеевич
ad32a2ef3c Drop mysql restarts 2024-05-31 13:26:23 +07:00
Timothy J. Baek
995f7bc51b fix: chat completed 2024-05-30 21:43:10 -07:00
Беклемишев Петр Алексеевич
e59e1f5049 Fix rebase artifacts 2024-05-30 20:44:13 +07:00
Беклемишев Петр Алексеевич
dfbc125947 Reconnect to postgresql & mysql external databases when getting disconnected 2024-05-30 20:41:06 +07:00
Timothy J. Baek
ef8d84296e feat: pipelines filter outlet 2024-05-30 02:04:29 -07:00
Timothy J. Baek
c76330710f refac: pipeline filters 2024-05-29 23:29:45 -07:00
Timothy J. Baek
4715160b53 fix: pipelines 2024-05-29 22:41:51 -07:00
Timothy J. Baek
340b399fc2 refac: pipelines 2024-05-29 22:18:27 -07:00
Timothy J. Baek
12e60d8ebf feat: add/delete pipelines 2024-05-29 22:03:22 -07:00
Timothy J. Baek
c1cabf1415 feat: multiple pipelines server support 2024-05-29 21:26:57 -07:00
Timothy J. Baek
e427ef767b fix: openai proxy 2024-05-29 11:28:42 -07:00
Timothy J. Baek
7f8be4a709 refac 2024-05-29 01:42:42 -07:00
Timothy J. Baek
5cf44ac7da feat: display pipelines server in api settings 2024-05-29 01:36:13 -07:00
Timothy J. Baek
e8d4e03c0d refac: openai allow empty key 2024-05-29 01:12:25 -07:00
Timothy J. Baek
943baad689 feat: allow valve pipelines edit 2024-05-28 18:24:39 -07:00
Timothy J. Baek
2d596d7307 feat: valves full integration 2024-05-28 13:05:31 -07:00
Timothy J. Baek
130d15a2fb feat: pipeline valves 2024-05-28 12:32:49 -07:00
Timothy J. Baek
0bef1b44c0 feat: pipeline valves 2024-05-28 12:04:19 -07:00
Timothy J. Baek
0383efa207 refac: pipelines 2024-05-28 11:43:48 -07:00
Timothy J. Baek
e231333bcd refac 2024-05-28 09:50:17 -07:00
Timothy J. Baek
ec36493d61 feat: pipeline filter wildcard support 2024-05-27 20:26:24 -07:00
Timothy J. Baek
966f10e715 refac: pipeline valves -> filters 2024-05-27 19:34:05 -07:00
Timothy J. Baek
4fac99c5b3 feat: pipeline valves user field 2024-05-27 19:16:07 -07:00
Timothy J. Baek
cc6d9bb8c0 feat: pipeline valve support 2024-05-27 19:03:26 -07:00
Timothy J. Baek
74a8deb19f refac 2024-05-27 14:25:36 -07:00
Timothy J. Baek
f3527df644 refac: styling 2024-05-27 13:22:24 -07:00
Timothy J. Baek
4685f523b6 refac 2024-05-27 12:48:08 -07:00
Timothy J. Baek
73178cf519 refac 2024-05-27 11:08:01 -07:00
Jun Siang Cheah
a1f4706aa1 fix: OAUTH_MERGE_ACCOUNTS_BY_EMAIL not being correctly read 2024-05-27 18:16:36 +01:00
Jun Siang Cheah
6a36039a59 Merge remote-tracking branch 'upstream/dev' into feat/oauth 2024-05-27 18:14:43 +01:00
Jun Siang Cheah
985fdca585 refac: move things around, uplift oauth endpoints 2024-05-27 18:07:38 +01:00
Jun Siang Cheah
06dbf59742 feat: make oauth config persist into config.json 2024-05-27 17:21:24 +01:00
Jun Siang Cheah
4a4e323a44 refac: rename OPENID -> OAUTH 2024-05-27 17:17:34 +01:00
Timothy Jaeryang Baek
bced90734b
Merge branch 'websearch' into feat/backend-web-search 2024-05-26 23:40:05 -07:00
Timothy J. Baek
ccbafca74c feat: save user settings to db 2024-05-26 22:47:42 -07:00
Timothy J. Baek
0c04b18f36 refac 2024-05-26 13:02:40 -07:00
Timothy Jaeryang Baek
78dedb3389
Merge branch 'dev' into feat/disable-community-sharing 2024-05-26 10:00:51 -10:00
Timothy J. Baek
242d4f0c8d feat: banners
Co-Authored-By: Jun Siang Cheah <me@jscheah.me>
2024-05-26 12:18:43 -07:00
Jun Siang Cheah
e06417f0aa feat: add admin ui for toggling community sharing 2024-05-26 17:23:24 +01:00
Jun Siang Cheah
1235714914 feat: add ENABLE_COMMUNITY_SHARING 2024-05-26 17:10:25 +01:00
Jun Siang Cheah
6c5f5fe368 refac: move ui flags into feature flags 2024-05-26 17:05:26 +01:00
Jun Siang Cheah
776bb2892c fix: bad user get 2024-05-26 13:07:41 +01:00
Jun Siang Cheah
7385016e36 fix: only get user by emails without oauth sub 2024-05-26 11:59:21 +01:00
Jun Siang Cheah
b3557d05b1 fix: bad authlib version 2024-05-26 11:32:42 +01:00
Jun Siang Cheah
276b7b90b8 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-26 11:31:23 +01:00
Jun Siang Cheah
aba6308825 Merge remote-tracking branch 'upstream/dev' into feat/include-git-hash-everywhere 2024-05-26 11:27:02 +01:00
Jun Siang Cheah
0210a105bf feat: experimental SSO support for Google, Microsoft, and OIDC 2024-05-26 11:26:15 +01:00
Jun Siang Cheah
a842d8d62b deps: add authlib 2024-05-26 11:25:29 +01:00
Timothy J. Baek
7b81271b9e refac: hide signup when ENABLE_SIGNUP false 2024-05-26 03:13:13 -07:00
Timothy J. Baek
83107c8ea5 feat: archive all 2024-05-26 02:54:35 -07:00
Timothy J. Baek
e20bb23409 feat: access archived chats as admin 2024-05-26 02:00:31 -07:00
Timothy J. Baek
555e4e32d5 feat: allow insecure pull 2024-05-26 01:31:17 -07:00
Timothy J. Baek
84bfebd05e fix 2024-05-26 01:17:57 -07:00
Timothy J. Baek
633607a5c2 fix 2024-05-26 01:16:58 -07:00
Timothy J. Baek
1fce466253 refac: folder rename web -> webui 2024-05-26 01:15:48 -07:00
Jun Siang Cheah
4fdb26fdc4 refac: rename build hash vars 2024-05-26 08:49:30 +01:00
Timothy J. Baek
c1526b0022 fix 2024-05-25 15:56:47 -07:00
Timothy J. Baek
5e4a1ff6fb fix 2024-05-25 15:54:00 -07:00
Timothy J. Baek
74ca4189e2 fix 2024-05-25 15:46:22 -07:00
Timothy J. Baek
79f440f302 refac: byebye litellm 2024-05-25 14:43:35 -07:00
Timothy J. Baek
afcab78cab fix: models 2024-05-25 13:48:45 -07:00
Jun Siang Cheah
b1265c9c34 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-25 14:55:49 +01:00
Timothy J. Baek
42dcf1b08c refac: stop param 2024-05-25 02:26:26 -07:00
Timothy J. Baek
88d053833d feat: preset backend logic 2024-05-25 02:05:05 -07:00
Jun Siang Cheah
a579f5f8cf feat: add git hash of build everywhere 2024-05-25 09:19:49 +01:00
Timothy J. Baek
0715cd2811 feat: model capabilities 2024-05-24 23:34:58 -07:00
Timothy J. Baek
dac9634242 feat: create model 2024-05-24 22:21:57 -07:00
Timothy J. Baek
ca3108a54d refac 2024-05-24 20:29:13 -07:00
Timothy J. Baek
e316abcfc8 refac: better migration script 2024-05-24 19:26:27 -07:00
Timothy J. Baek
708d755eda feat: model update 2024-05-24 18:26:36 -07:00
Timothy J. Baek
0a48114bd2 refac 2024-05-24 03:06:57 -07:00
Timothy J. Baek
468c6398cd feat: unified models integration 2024-05-24 03:02:56 -07:00
Timothy J. Baek
e80e4c304a refac 2024-05-24 02:17:48 -07:00
Timothy J. Baek
404875cab9 fix 2024-05-24 02:11:17 -07:00
Timothy J. Baek
6dbd59c7c6 fix: migration 2024-05-24 01:43:04 -07:00
Timothy J. Baek
110ed67468 feat: unified /models endpoint 2024-05-24 01:40:48 -07:00
Timothy J. Baek
4d57e08b38 feat: modelfiles to models 2024-05-24 00:26:00 -07:00
Timothy J. Baek
17e4be49c0 feat: migrate modelfiles to models 2024-05-23 23:47:01 -07:00
Timothy J. Baek
3be0fa63ee fix 2024-05-23 22:59:11 -07:00
Timothy J. Baek
363ab562c3 refac: migration 2024-05-23 22:58:26 -07:00
Timothy Jaeryang Baek
f34fd3fbe1
Merge pull request #2140 from cheahjs/feat/model-config
feat: configurable model name, description and vision capability
2024-05-22 14:03:54 -10:00
Timothy J. Baek
d0d76e2ad5 refac 2024-05-22 16:11:02 -07:00
Jun Siang Cheah
60433856a2 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-22 22:28:45 +01:00
Jun Siang Cheah
1aebf88069 chore: update python dependencies 2024-05-22 09:50:22 +01:00
Timothy Jaeryang Baek
8df0429c99
Merge branch 'dev' into feat/model-config 2024-05-21 21:37:04 -10:00
Timothy J. Baek
21ca55dd30 feat: toggleable ollama 2024-05-21 23:58:42 -07:00
Timothy J. Baek
af022947be feat: pipeline integration 2024-05-21 21:58:02 -07:00
Timothy J. Baek
771657266a chore: format 2024-05-21 21:38:58 -07:00
Timothy Jaeryang Baek
45bd0f2a91
Merge pull request #2473 from cheahjs/fix/space-litellm-config
fix: space startup script
2024-05-21 18:28:39 -10:00
Timothy Jaeryang Baek
25c9fb6a3c
Merge pull request #2474 from baptistecs/patch-1
Fix .js mimetype on Windows 11
2024-05-21 18:27:57 -10:00
Timothy Jaeryang Baek
e645679496
Merge pull request #2245 from tcztzy/dev
changed: packaging for publishing
2024-05-21 17:33:47 -10:00
Baptiste Clarey Sjöstrand
ecb656af70
Fix .js mimetype on Windows 11
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
2024-05-22 00:04:00 +02:00
Jun Siang Cheah
b20ec0586e refac: only create space admin user when configured 2024-05-21 22:09:25 +01:00
Jun Siang Cheah
889a2fd77e fix: wrong path for space litellm config 2024-05-21 22:07:51 +01:00
Jun Siang Cheah
f21c8626d6 refac: switch to meta and params, remove source 2024-05-21 22:05:16 +01:00
Jun Siang Cheah
54c29f8bd3 fix: chown /app/backend/data after preloading models 2024-05-21 21:30:42 +01:00
Timothy J. Baek
c1a97278a8 feat: deploy to hf spaces 2024-05-21 12:53:43 -07:00
Jun Siang Cheah
7ccef3e77a Merge remote-tracking branch 'upstream/dev' into feat/model-config 2024-05-21 19:17:42 +01:00
Jun Siang Cheah
224a578e6b Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-20 19:53:23 +01:00
Jun Siang Cheah
eb509c460a Merge remote-tracking branch 'origin/dev' into feat/backend-web-search 2024-05-20 18:01:29 +01:00
Timothy J. Baek
322db31dc9 fix: rag 2024-05-20 07:22:43 -07:00
Tang Ziya
a018df2734 infra: build 2024-05-20 16:34:37 +08:00
Tang Ziya
d5a4ab46f4 changed: packaging using rye and use file relative path instead of pwd relative. 2024-05-20 16:34:36 +08:00
Jun Siang Cheah
1a16f8fb1c Merge remote-tracking branch 'origin/dev' into feat/model-config 2024-05-20 09:02:41 +01:00
Timothy J. Baek
6139d775ef feat: clear memory 2024-05-19 09:26:24 -07:00
Timothy J. Baek
0d07d10bd8 fix 2024-05-19 08:47:37 -07:00
Timothy J. Baek
bbdfcd18e1 fix 2024-05-19 08:46:39 -07:00
Timothy J. Baek
febab58821 feat: memory integration 2024-05-19 08:40:46 -07:00
Timothy J. Baek
a8c4588fb5 feat: memory integration 2024-05-19 08:14:04 -07:00
Timothy J. Baek
288d8a3e32 feat: memory backend 2024-05-19 08:00:07 -07:00
Jun Siang Cheah
ae26596d0d feat: log exceptions on update_all_models 2024-05-19 22:11:28 +08:00
Timothy J. Baek
5376525777 refac 2024-05-19 06:51:32 -07:00
Jun Siang Cheah
4002ead6af feat: store model configs in the database 2024-05-19 18:46:24 +08:00
Jun Siang Cheah
1bacd5d93f Merge branch 'dev' into feat/model-config 2024-05-19 13:13:17 +08:00
Timothy J. Baek
8dac4e91a5 fix: share chat issue 2024-05-18 15:23:36 -07:00
Timothy J. Baek
a8b92e5e9d fix: display username in shared chats 2024-05-18 14:19:48 -07:00
Timothy J. Baek
400bfa5a02 fix: rag config.json 2024-05-17 19:53:38 -07:00
Timothy J. Baek
7facfa33d0 fix: litellm model filtering 2024-05-17 19:47:52 -07:00
Timothy J. Baek
3aa6b0fea9 fix: model filter issue 2024-05-17 19:11:14 -07:00
Timothy J. Baek
014e52c072 fix: connection timeout 2024-05-17 10:49:12 -07:00
Timothy J. Baek
8181ae3918 fix 2024-05-17 10:35:33 -07:00
Timothy J. Baek
cdbabdfa5a refac 2024-05-17 10:30:22 -07:00
Jun Siang Cheah
51a41c8db4 fix: image generation broken by config persistence 2024-05-17 13:52:48 +08:00
Jun Siang Cheah
5d3eddf7e9 feat: update to persistent config 2024-05-17 13:51:17 +08:00
Timothy J. Baek
58a13aec7e feat: python code execution 2024-05-16 17:49:28 -10:00
Jun Siang Cheah
0665703401 Merge branch 'dev' into feat/model-config 2024-05-17 11:41:37 +08:00
Jun Siang Cheah
9021f068b8 Merge remote-tracking branch 'origin/dev' into feat/backend-web-search 2024-05-16 11:36:53 +08:00
Timothy J. Baek
7d62993007 refac: healthcheck endpoint 2024-05-15 08:17:18 -10:00
Jun Siang Cheah
81a3c97069 Merge branch 'dev' into feat/backend-web-search 2024-05-14 15:20:52 +08:00
Jun Siang Cheah
5369023e34 fix: rag, chat deletion, and webhook after config persistence change 2024-05-14 14:30:15 +08:00
Jun Siang Cheah
f94690386c chore: formatting 2024-05-14 14:18:01 +08:00
Jun Siang Cheah
5e1c408937 Merge branch 'dev' into feat/backend-web-search 2024-05-14 14:03:23 +08:00
Timothy Jaeryang Baek
8b0144cd06
Merge pull request #2156 from cheahjs/feat/save-config
feat: save UI config changes to config.json
2024-05-13 11:45:30 -10:00
Timothy J. Baek
0c033b5b7b refac: rename 2024-05-13 11:32:21 -10:00
Timothy Jaeryang Baek
fabcbc300f
Merge pull request #2211 from arsaboo/header
chore: add HTTP-Referer and X-Title headers for Open WebUI
2024-05-13 10:58:48 -10:00
Alok Saboo
bd82334647 chore: add additional headers only for Openrouter 2024-05-13 08:28:24 -04:00
Alok Saboo
6671e5f170 chore: add HTTP-Referer and X-Title headers for Open WebUI 2024-05-12 14:05:38 -04:00
Jun Siang Cheah
d45804d7f4 feat: web search available is inferred from env vars 2024-05-12 15:19:52 +08:00
Jun Siang Cheah
9ed1a31575 fix: continue with failures when bulk loading urls with WebBaseLoader 2024-05-12 15:19:07 +08:00
Jun Siang Cheah
5d64822c84 refac: rename WrappedConfig to PersistedConfig 2024-05-12 13:28:40 +08:00
Jun Siang Cheah
77928ae141 Merge branch 'dev' of https://github.com/open-webui/open-webui into feat/web-search-toggle 2024-05-11 23:51:37 +08:00
Jun Siang Cheah
2660a6e5b8 feat: prototype frontend web search integration 2024-05-11 23:44:34 +08:00
Jun Siang Cheah
fb8069123e feat: add WEB_SEARCH_RESULT_COUNT to control max number of results 2024-05-11 23:18:59 +08:00
Jun Siang Cheah
a0dceb06a5 fix: nested WrappedConfig breaks things 2024-05-10 15:20:22 +08:00
Jun Siang Cheah
298e6848b3 feat: switch to config proxy, remove config_get/set 2024-05-10 15:03:24 +08:00
Jun Siang Cheah
f712c90019 feat: raise an exception if a WrappedConfig is used as a response 2024-05-10 14:18:39 +08:00
Jun Siang Cheah
058eb76568 feat: save UI config changes to config.json 2024-05-10 13:51:50 +08:00
Jun Siang Cheah
02a4412dfc feat: add UI support for updating model info 2024-05-09 23:54:21 +08:00
Jun Siang Cheah
0dbddebcb0 feat: add API endpoint for updating configs 2024-05-09 22:41:07 +08:00
Jun Siang Cheah
e69f31267a fix: remove unused API for setting model config 2024-05-09 20:25:53 +08:00
Jun Siang Cheah
e76a444ed9 feat: allow model config via config.json 2024-05-09 20:25:30 +08:00
Tang Ziya
1d9c745b35 fix: replace deprecated on_event with lifespan 2024-05-09 12:04:09 +08:00
Timothy J. Baek
26ee547f71 fix 2024-05-08 17:17:21 -07:00
Timothy J. Baek
01e020d1ad fix 2024-05-08 17:15:54 -07:00
Timothy J. Baek
88e8f31c07 fix: webui_auth permission issue 2024-05-08 16:42:41 -07:00
Timothy J. Baek
1c2aa10796 refac: disable enable_signup if webui_auth false 2024-05-08 16:33:34 -07:00
Timothy J. Baek
58cfa5b9c1 fix: trusted header 2024-05-08 16:19:59 -07:00
Timothy J. Baek
06cbe337de feat: youtube loader language env var 2024-05-08 10:51:29 -07:00
Timothy J. Baek
d3822f782c feat: non-english youtube support 2024-05-08 10:47:05 -07:00
Timothy J. Baek
c40e634391 feat: better error message 2024-05-08 09:30:14 -07:00
Timothy J. Baek
01472c071b feat: support webui_auth false
#929
2024-05-08 08:40:18 -07:00
Timothy Jaeryang Baek
675328c881
Merge pull request #2002 from Yanyutin753/addAudio
🤩 Added custom openai tts models and role variables
2024-05-08 08:03:20 -07:00
Jun Siang Cheah
ceecfb66a5 fix: reword WEBUI_SECRET_KEY generation log line 2024-05-08 20:03:03 +08:00
Timothy J. Baek
9c190b56ae feat: /v1/models endpoint added for ollama proxy 2024-05-07 23:34:12 -07:00
Timothy Jaeryang Baek
876853f2b0
Merge pull request #2040 from akx/uuid4
fix: do not use hardware ID in document ID generation
2024-05-07 11:02:21 -07:00
Aarni Koskela
61bb1f1dc8 fix: do not use hardware ID in document ID generation 2024-05-07 11:42:05 +03:00
Aarni Koskela
cbd1929f36 chore: remove uuid requirement (it's a standard library module) 2024-05-07 11:39:01 +03:00
Aarni Koskela
3723f42f1d chore: remove duplicate requirements 2024-05-07 11:39:01 +03:00
Aarni Koskela
03955d6a42 chore: pin youtube-transcript-api like the rest 2024-05-07 11:39:01 +03:00
Timothy J. Baek
f58eb0d266 feat: browser search engine support 2024-05-06 17:29:16 -07:00
Yanyutin753
5d6517c537 update the name 2024-05-07 08:28:34 +08:00
Timothy Jaeryang Baek
635951b55c
Merge branch 'dev' into feat/backend-web-search 2024-05-06 16:26:44 -07:00
Timothy J. Baek
c84e0aa2a3 fix: .env load 2024-05-06 16:16:26 -07:00
Timothy J. Baek
64ed0d1089 refac: include source name to citation 2024-05-06 16:16:26 -07:00
Timothy J. Baek
4c490132ba refac: styling 2024-05-06 16:16:26 -07:00
Jun Siang Cheah
0872bea790 feat: show RAG query results as citations 2024-05-06 16:14:10 -07:00
Timothy J. Baek
cecb87b8c2 feat: web_loader_ssl_verification setting 2024-05-06 14:50:55 -07:00
Timothy J. Baek
95f579cabe feat: rag ssl verification env var
Co-Authored-By: Tobias Steidle <tobias.steidle@softwaredev.de>
2024-05-06 13:12:08 -07:00
Jun Siang Cheah
8b3e370a6e fix: run formatter 2024-05-06 17:11:04 +08:00
Jun Siang Cheah
83f086ccdd fix: do not return raw search exception due to API keys in URLs 2024-05-06 17:09:04 +08:00
Jun Siang Cheah
99e4edd364 feat: add websearch endpoint to RAG API
fix: google PSE endpoint uses GET

fix: google PSE returns link, not url

fix: serper wrong field
2024-05-06 17:09:04 +08:00
Yanyutin753
5f7188b480 fix python test 2024-05-06 15:33:29 +08:00
Yanyutin753
761c66a8d8 🤩 Added custom openai tts models and role variables 2024-05-06 15:23:27 +08:00
Jun Siang Cheah
501ff7a98b feat: backend implementation of various search APIs 2024-05-06 12:28:41 +08:00
Timothy J. Baek
24c0dbec0d fix: pending permission issue 2024-05-04 01:31:08 -07:00
Timothy J. Baek
fa3c7bc218 fix 2024-05-03 15:34:08 -07:00
Timothy J. Baek
facb6edfdc refac: chat tags 2024-05-03 15:25:41 -07:00
Timothy J. Baek
e8085f80a7 fix: litellm warning message
>:(
2024-05-03 15:07:12 -07:00
Timothy J. Baek
70ae053a46 fix: ascii art issue
#1918
2024-05-03 14:23:38 -07:00
Timothy J. Baek
683e6ca337 fix 2024-05-02 15:59:45 -07:00
Timothy J. Baek
989a4d3165 fix 2024-05-02 15:55:42 -07:00
Timothy J. Baek
482f010d22 fix: image gen 2024-05-02 15:54:31 -07:00
Timothy Jaeryang Baek
e700552f93
Merge pull request #1905 from 7a6ac0/r_score_type
fix: change r_score type to float
2024-05-02 02:22:59 -07:00
Timothy J. Baek
c91b9af0e0 Create logo.png 2024-05-02 01:21:44 -07:00
Timothy J. Baek
572cd22b4d feat: prompt variables from suggestions 2024-05-02 00:45:04 -07:00
Timothy J. Baek
9ee39aa07f chore: format 2024-05-02 00:35:50 -07:00
Timothy J. Baek
714bdca3f3 refac: styling 2024-05-02 00:23:32 -07:00
tabacoWang
fffd283b0c fix:
fix: Change the type from int to float
2024-05-02 13:45:19 +08:00
Timothy J. Baek
68cfccedee feat: super-admin (first one to signup) 2024-05-01 19:59:05 -07:00
Timothy J. Baek
96d9d3447b fix: pwa icon
#1886
2024-05-01 19:32:36 -07:00
Timothy J. Baek
20a6dbbe65 feat: csv bulk import 2024-05-01 19:28:35 -07:00
Timothy J. Baek
bd3b5f1edb feat: csv user import frontend 2024-05-01 19:02:25 -07:00
Timothy J. Baek
e6bcdba5ad feat: add user from admin panel 2024-05-01 18:06:02 -07:00
Timothy J. Baek
b7fcf14f6e refac: styling 2024-05-01 17:55:18 -07:00
Timothy J. Baek
0595c04909 feat: youtube rag 2024-05-01 17:17:00 -07:00
Jun Siang Cheah
ddac5284fe feat: specify versions for python packages 2024-04-30 21:21:00 +01:00
Timothy J. Baek
abc9b6b3f3 fix: version pinning 2024-04-30 12:41:35 -07:00
Timothy Jaeryang Baek
de62153d49
Merge pull request #1815 from Yanyutin753/new-dev
 expend the image format type after the file is downloaded
2024-04-30 11:52:30 -07:00
Timothy J. Baek
80413a7628 refac 2024-04-30 11:52:08 -07:00
Yanyutin753
c0bb32d768 📌 fixed a bug where RAG would not reply after not reading the file correctly 2024-04-30 13:51:30 +08:00
Timothy Jaeryang Baek
1afc49c1e4
Merge pull request #1862 from cheahjs/feat/filter-local-rag-fetch
feat: add ENABLE_LOCAL_WEB_FETCH to protect against SSRF attacks
2024-04-29 15:51:17 -07:00
Timothy Jaeryang Baek
6b04380c85
Merge pull request #1863 from cheahjs/fix/make-dev-executable
fix: make backend/fix.sh executable
2024-04-29 15:47:44 -07:00
Jun Siang Cheah
bac28222fb fix: make backend/fix.sh executable 2024-04-29 21:01:54 +01:00
Jun Siang Cheah
1c4e63f71e feat: add ENABLE_LOCAL_WEB_FETCH to protect against SSRF attacks 2024-04-29 20:55:17 +01:00
Steven Kreitzer
5b8fd14470 fix: various api rag results 2024-04-29 12:17:36 -05:00
Timothy J. Baek
9832e6edba enhancement: OpenAI API
api.together.xyz, api.replicate.com
2024-04-28 10:20:40 -07:00
Timothy Jaeryang Baek
7bc17da534
Merge pull request #1825 from cheahjs/feat/allow-backend-to-run-without-frontend 2024-04-28 08:53:18 -07:00
Justin Hayes
d42517b7ed
Update LiteLLM (and Gunicorn) 2024-04-28 11:43:57 -04:00
Jun Siang Cheah
6a1d60b1b3 feat: warn but not exit if frontend build does not exist 2024-04-28 16:03:30 +01:00
Yanyutin753
3321a1b922 expend the image format type after the file is downloaded 2024-04-28 12:00:52 +08:00
Timothy J. Baek
71a75bccf5 fix 2024-04-27 20:06:07 -07:00
Timothy J. Baek
48ed701960 fix 2024-04-27 19:44:36 -07:00
Timothy J. Baek
5e97c9927b fix 2024-04-27 19:42:19 -07:00
Timothy J. Baek
8aa47ea6bc fix 2024-04-27 21:17:19 -04:00
Timothy Jaeryang Baek
386fc040b1
Merge pull request #1802 from Yanyutin753/tem-dev
feat added environment variables and sync.yml
2024-04-27 16:39:45 -07:00
Timothy J. Baek
9094536d37 feat: user last active 2024-04-27 19:38:51 -04:00
Yanyutin753
849a0b973d recompose the name of environment variables 2024-04-28 07:21:01 +08:00
Timothy J. Baek
01c4647dfc fix: ollama version string issue
#1800
2024-04-27 19:19:47 -04:00
Yanyutin753
b0245a7eff feat added environment variables and sync.yml 2024-04-28 06:54:26 +08:00
Timothy J. Baek
bcf78b4efa feat: show user chats in admin panel 2024-04-27 18:24:59 -04:00
Timothy J. Baek
098ac18762 refac: naming 2024-04-27 18:15:32 -04:00
Timothy J. Baek
4ea2eb7939 refac 2024-04-27 18:14:15 -04:00
Timothy J. Baek
10f27ebacf refac: naming 2024-04-27 18:12:57 -04:00
Timothy Jaeryang Baek
e2534e3703
Merge pull request #1794 from cheahjs/feat/external-chromadb
feat: add ability to configure a HTTP ChromaDB client
2024-04-27 14:24:45 -07:00
Timothy Jaeryang Baek
c1d85f8a6f
Merge pull request #1791 from cheahjs/feat/external-db-support
feat: add support for using postgres for the backend DB
2024-04-27 12:48:56 -07:00
Timothy Jaeryang Baek
6fbddb0702
Merge pull request #1797 from cheahjs/feat/allow-overriding-host-in-docker
feat: add HOST to the backend start script
2024-04-27 12:42:06 -07:00
Timothy J. Baek
ce9a5d12e0 refac: rag pipeline 2024-04-27 15:38:50 -04:00
Jun Siang Cheah
c19429848b feat: add HOST to the backend start script 2024-04-27 20:20:48 +01:00
Timothy J. Baek
8f1563a7a5 fix: typo 2024-04-27 15:03:49 -04:00
Timothy J. Baek
9be56d68e0 refac: naming convention 2024-04-27 15:02:57 -04:00
Jun Siang Cheah
8df7db1e17 feat: add ability to configure a HTTP ChromaDB client 2024-04-27 18:52:35 +01:00
Jun Siang Cheah
47a33acfeb feat: show error toast if trying to download db on external db 2024-04-27 15:53:31 +01:00
Jun Siang Cheah
e91a49c455 feat: add support for using postgres for the backend DB 2024-04-27 15:33:20 +01:00
Timothy J. Baek
b22415d456 feat: litellm opt-out support 2024-04-26 17:19:50 -04:00
Timothy J. Baek
dbf7b15539 refac: naming convention
MODEL_FILTER_ENABLED -> ENABLE_MODEL_FILTER
2024-04-26 17:17:18 -04:00
Timothy J. Baek
c5eac5a1c7 fix: webui name 2024-04-26 17:00:25 -04:00
Timothy Jaeryang Baek
543707eefd
Merge pull request #1756 from buroa/buroa/toggle-hybrid
feat: toggle hybrid search
2024-04-26 11:48:44 -07:00
Timothy J. Baek
cebf733b9d refac: naming convention 2024-04-26 14:41:39 -04:00
Timothy Jaeryang Baek
ddf06329a5
Merge pull request #1734 from darlanalves/env-docs-dir
feat: allow a docs directory coming from env
2024-04-26 09:59:34 -07:00
Steven Kreitzer
69822e4c25 fix: sort ranking hybrid 2024-04-26 07:56:41 -05:00
Steven Kreitzer
9755cd5baa feat: toggle hybrid search 2024-04-25 17:51:38 -05:00
Timothy J. Baek
984dbf13ab revert: original rag pipeline 2024-04-25 17:03:00 -04:00
Timothy Jaeryang Baek
7d88689f51
Merge pull request #1741 from domsleee/katex-render-performance
fix: Improve katex render performance in responses
2024-04-25 13:40:27 -07:00
Steven Kreitzer
1c1d2c254d fix: query collection api call 2024-04-25 13:38:18 -05:00
Steven Kreitzer
72090fab88 chore: update log line 2024-04-25 13:28:31 -05:00
Steven Kreitzer
c9c9660459 fix: address comment in pr #1687 2024-04-25 07:50:42 -05:00
Steven Kreitzer
d5f60b119c
Merge branch 'dev' into buroa/hybrid-search 2024-04-24 20:37:19 -05:00
Timothy J. Baek
7075837849 fix: missing import 2024-04-24 21:24:17 -04:00
Dom Slee
06a6136671 fix: improve katex render performance in responses 2024-04-25 11:14:37 +10:00
Darlan Alves
89e8813188
feat: allow a docs directory coming from env
Current config assumes /data/docs to be part of the current data directory.

This allows DOCS_DIR to be mounted from a different path outside of DATA_DIR, or falls back to the previous behaviour if DOCS_DIR is not in the environment
2024-04-25 00:40:39 +02:00
Steven Kreitzer
adb009f388
Merge branch 'dev' into buroa/hybrid-search 2024-04-24 14:51:49 -05:00
Steven Kreitzer
c0259aad67 feat: hybrid search and reranking support 2024-04-24 07:55:10 -05:00
Jun Siang Cheah
5245d037ac fix: harden litellm exec command to prevent unintended commands
logic was previously to split on space for arguments, but if any of the user controlled variables LITELLM_PROXY_HOST or DATA_DIR had spaces in them, this would not behave correctly.
2024-04-23 19:25:43 +01:00
Jun Siang Cheah
58bead0398 fix: DATA_DIR was not respected when loading litellm configs 2024-04-23 19:22:41 +01:00
Jun Siang Cheah
9e9306fd2b feat: add LITELLM_PROXY_HOST to configure address litellm listens on 2024-04-23 19:19:16 +01:00
Jun Siang Cheah
0ea9e19d79 feat: add LITELLM_PROXY_PORT to configure internal proxy port 2024-04-23 19:14:01 +01:00
Timothy J. Baek
25d09363df feat: editable openai url for images 2024-04-23 07:14:31 -04:00
Timothy J. Baek
aa489be53b Update config.py 2024-04-23 06:58:57 -04:00
Timothy J. Baek
e3d253b040 feat: image env var 2024-04-23 06:53:04 -04:00
Steven Kreitzer
db801aee79
Merge branch 'dev' into buroa/hybrid-search 2024-04-22 18:35:32 -05:00
Steven Kreitzer
4e0b32b505 feat: hybrid search 2024-04-22 18:33:43 -05:00
Timothy Jaeryang Baek
0546ad58be
Merge pull request #1687 from buroa/buroa/huggingface-embeddings
feat: move to native `sentence_transformers`
2024-04-22 13:55:34 -07:00
Steven Kreitzer
f3e5700d49 feat: move to native sentence_transformer 2024-04-22 14:20:41 -05:00
Jun Siang Cheah
e2a8ad5fca address comments, rename to ENABLE_ADMIN_EXPORT 2024-04-22 19:55:46 +01:00
Jun Siang Cheah
190b934ab5 feat: add ALLOW_ADMIN_EXPORT to disable exporting of chats and the db 2024-04-22 19:44:24 +01:00
Timothy J. Baek
4651db8c09 refac: litellm model name validation 2024-04-21 18:25:53 -05:00
Timothy J. Baek
760c62739a refac: improved error handling 2024-04-21 17:37:59 -05:00
Timothy J. Baek
e627b8bf21 feat: litellm model add/delete 2024-04-21 17:26:22 -05:00
Timothy J. Baek
31124d9deb feat: litellm config update 2024-04-21 16:10:01 -05:00
Timothy Jaeryang Baek
56c93bc2ac
Merge branch 'dev' into litellm-as-subprocess 2024-04-21 12:58:19 -07:00
Timothy J. Baek
f83eb7326f Update requirements.txt 2024-04-21 14:44:28 -05:00
Timothy J. Baek
8422d3ea79 Update requirements.txt 2024-04-21 14:43:51 -05:00
Timothy J. Baek
77426266d2 refac: port number update 2024-04-21 14:32:45 -05:00
Timothy J. Baek
302c5074e9 revert: litellm bump 2024-04-21 12:50:14 -05:00
dyamagishi
489c45ffdf fix: Update websocket protocol based on the original schema. 2024-04-22 01:19:34 +09:00
Timothy J. Baek
2717fe7c20 fix 2024-04-21 02:00:03 -05:00
Timothy J. Baek
51191168bc feat: restart subprocess route 2024-04-21 01:51:38 -05:00
Timothy J. Baek
a59fb6b9eb fix 2024-04-21 01:47:35 -05:00
Timothy J. Baek
3c382d4c6c refac: close subprocess gracefully 2024-04-21 01:46:09 -05:00
Timothy J. Baek
8651bec915 pwned :) 2024-04-21 01:22:02 -05:00
Timothy J. Baek
a41b195f46 DO NOT TRACK ME >:( 2024-04-21 01:13:24 -05:00
Timothy J. Baek
5e458d490a fix: run litellm as subprocess 2024-04-21 00:52:27 -05:00
Timothy J. Baek
948f2e913e chore: litellm bump 2024-04-20 23:53:08 -05:00
Timothy J. Baek
98369fba22 fix 2024-04-20 22:53:00 -05:00
Timothy J. Baek
1cf4fa96c1 fix 2024-04-20 21:15:39 -05:00
Timothy J. Baek
fe3291acb5 fix: multiuser duplicate tag issue 2024-04-20 21:12:59 -05:00
Timothy J. Baek
1e919abda3 fix: settings getModels issue 2024-04-20 20:49:16 -05:00
Timothy J. Baek
38321355d3 fix 2024-04-20 20:37:18 -05:00
Timothy J. Baek
eefe01454f refac: include archived flag in exports 2024-04-20 19:32:32 -05:00
Timothy J. Baek
74dd9b561a revert: export chats to include archived chats 2024-04-20 19:24:58 -05:00
Timothy J. Baek
4c221eabef refac 2024-04-20 18:29:14 -05:00
Timothy J. Baek
b12edb4a7a refac: replace timestamp field 2024-04-20 18:24:18 -05:00
Timothy J. Baek
fbd520bf07 feat: archive chat 2024-04-20 17:03:39 -05:00
Timothy J. Baek
c468df2f71 feat: env var for audio 2024-04-20 16:04:16 -05:00
Timothy J. Baek
fa9593b4e8 refac: openai error message 2024-04-20 16:01:25 -05:00
Timothy J. Baek
cbd18ec63c feat: external openai tts support 2024-04-20 16:00:24 -05:00
Timothy J. Baek
713934edb6 refac 2024-04-20 15:21:52 -05:00
Timothy J. Baek
710850e442 refac: audio 2024-04-20 15:15:59 -05:00
Timothy J. Baek
9451726ee6 feat: save edited message shortcut 2024-04-20 14:24:19 -05:00
Timothy J. Baek
741ed5dc4c fix 2024-04-14 19:56:33 -04:00
Timothy J. Baek
b1b72441bb feat: openai embeddings integration 2024-04-14 19:48:15 -04:00
Timothy J. Baek
b48e73fa43 feat: openai embeddings support 2024-04-14 19:15:39 -04:00
Timothy J. Baek
36ce157907 fix: integration 2024-04-14 18:47:45 -04:00
Timothy J. Baek
9cdb5bf9fe feat: frontend integration 2024-04-14 18:31:40 -04:00
Timothy J. Baek
2952e61167 feat: external embeddings support 2024-04-14 17:55:00 -04:00
Timothy Jaeryang Baek
b5d882606a
Merge pull request #1499 from lainedfles/whisper_auto_update
feat: introduce Whisper model auto-update control.
2024-04-14 13:58:17 -07:00
Timothy J. Baek
9091513c39 fix 2024-04-14 16:52:59 -04:00
Timothy J. Baek
0f5ecafc57 fix: api usage issue 2024-04-14 16:51:13 -04:00
Self Denial
067c94810a Fix open-webui/open-webui#1500
Looks like the convention update per commit 0981fae161 missed `config.py`.
2024-04-13 19:55:43 -06:00
Timothy Jaeryang Baek
916ce9bc4f
Merge pull request #1500 from lainedfles/config-image-generation-enabled
feat: add IMAGE_GENERATION_ENABLED env var
2024-04-13 14:51:01 -07:00
Timothy J. Baek
0981fae161 refac: convention 2024-04-13 14:50:45 -07:00
Timothy J. Baek
838778aa3e fix: typo 2024-04-13 14:40:54 -07:00
Self Denial
faa5884150 Use log.warning instead of log.debug 2024-04-13 03:18:13 -06:00
Timothy Jaeryang Baek
51afb1e378
Merge pull request #1523 from 7a6ac0/call_before_defining
fix: Invoke the function before it is defined
2024-04-12 13:31:40 -07:00
tabacoWang
c49cc3fa86 fix: Invoke the function before it is defined 2024-04-12 17:27:40 +08:00
JanSolo1
79a4abc3ec Comment spelling mistake fix 2024-04-12 00:44:44 +02:00
JanSolo1
6623ecb302 Comment fix config.py ln 412 2024-04-12 00:36:48 +02:00
Self Denial
ff01398812 Format fix 2024-04-10 23:39:11 -06:00
Self Denial
3b8ea55bc8 Add IMAGE_GENERATION_ENABLED env var
With default of `False`.
2024-04-10 23:21:12 -06:00
Self Denial
81c8717d75 Format fix 2024-04-10 20:44:44 -06:00
Self Denial
429242b4d3 Introduce Whisper model auto-update control.
* Introduce WHISPER_MODEL_AUTO_UPDATE env var
* Pass local_files_only to WhisperModel()
* Handle cases where auto-update is disabled but model is non-existent
2024-04-10 20:30:00 -06:00
Timothy J. Baek
295472fca1 chore: formatting 2024-04-10 01:27:19 -07:00
Timothy Jaeryang Baek
b9cadff16b
Merge pull request #1419 from lainedfles/embedding-model-fix-and-manual-update
feat: improve embedding model update & resolve network dependency
2024-04-10 01:10:07 -07:00
Timothy J. Baek
582d11f191 refac: RAG_EMBEDDING_MODEL_PATH removed 2024-04-10 00:59:05 -07:00
Timothy J. Baek
cb2158a794 fix 2024-04-10 00:51:16 -07:00