mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #11180] [CLOSED] fix: Elasticsearch as a vector store bugs fixes. #61534
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/11180
Author: @tupe2009
Created: 3/4/2025
Status: ❌ Closed
Base:
main← Head:kleqon.feat-add-elasticsearch-support-2📝 Commits (10+)
4a2a12ffeat: scaffolding for logit_bias8aa6415include logit_bias in form_datab061775feat: add perplexity integration to web searchd7b18b6chore: use logging.getLevelNamesMapping()5e873bcfeat: add AWS workload identity support54e3ca8refac: rm confusing defaults6f7161achore: format1d27402Merge pull request #10910 from saraangelmurphy/awsworkloadidentity1b56a8fMerge pull request #10864 from kurtdami/perplexity_integration43077b8i18n: Update de-DE translation📊 Changes
125 files changed (+3249 additions, -1492 deletions)
View changed files
📝
.github/workflows/docker-build.yaml(+3 -3)📝
backend/open_webui/config.py(+24 -5)📝
backend/open_webui/env.py(+13 -12)📝
backend/open_webui/main.py(+19 -7)📝
backend/open_webui/retrieval/utils.py(+7 -0)📝
backend/open_webui/retrieval/vector/connector.py(+4 -0)➕
backend/open_webui/retrieval/vector/dbs/elasticsearch.py(+274 -0)📝
backend/open_webui/retrieval/vector/dbs/milvus.py(+2 -2)📝
backend/open_webui/retrieval/vector/dbs/opensearch.py(+28 -21)➕
backend/open_webui/retrieval/web/perplexity.py(+87 -0)📝
backend/open_webui/routers/auths.py(+12 -6)📝
backend/open_webui/routers/images.py(+7 -1)📝
backend/open_webui/routers/ollama.py(+3 -3)📝
backend/open_webui/routers/openai.py(+4 -6)📝
backend/open_webui/routers/retrieval.py(+24 -4)📝
backend/open_webui/socket/main.py(+2 -1)➕
backend/open_webui/static/apple-touch-icon.png(+0 -0)➕
backend/open_webui/static/favicon-96x96.png(+0 -0)➕
backend/open_webui/static/favicon-dark.png(+0 -0)➕
backend/open_webui/static/favicon.ico(+0 -0)...and 80 more files
📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
basic Elasticsearch support missed correct index and collections handling in terms of delete, upsert and delete collection. this PR fixes that.
elasticsearch before that PR is basically unusable in the long run since updating, deleting or upserting documents or entire collection is not working.
Fixed
Fixed Elasticsearch retrieve module to support collection deletion and document upsert correctly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.