Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin/merge main 0217 #13800

Merged
merged 214 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from 213 commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
1b940e7
feat: add ci job to test template for docker compose (#12514)
kurokobo Jan 8, 2025
b4c1c2f
fix: Reverse sync docker-compose-template.yaml (#12509)
fujita-h Jan 9, 2025
b7a4e39
fix: add last_refresh_time to track the validity of is_other_tab_refr…
douxc Jan 9, 2025
dbe7a7c
Fix: Add a INFO-level log when fallback to gpt2tokenizer (#12508)
halogen22 Jan 9, 2025
20f0905
feat: add GET upload file API endpoint to dataset service api (#11899)
euxx Jan 9, 2025
e84bf35
fix: same chunk insert deadlock (#12502)
huangzhuo1949 Jan 9, 2025
f230a92
fix: Parsing OpenAPI spec for external tools (#12518) (#12530)
lotsik Jan 9, 2025
a085ad4
feat: show workflow running status (#12531)
crazywoola Jan 9, 2025
f549d53
fix: sum costs return error value on overview page (#12534)
douxc Jan 9, 2025
2e97ba5
fix: Add datasets list access control and fix datasets config display…
WTW0313 Jan 9, 2025
14ee51a
Feat/add knowledge include all filter (#12537)
JohnJyong Jan 9, 2025
140965b
chore: translate i18n files (#12543)
github-actions[bot] Jan 9, 2025
989fb11
improve the readability of the function generate_api_key (#12552)
gakkiyomi Jan 9, 2025
d8f57bf
Feat/new saas billing (#12591)
JohnJyong Jan 12, 2025
cd257b9
Fix pandas indexing method for knowledge base imports (#12637) (#12638)
CN-P5 Jan 13, 2025
a645526
chore: Adjust translations to align with Taiwanese Mandarin conventio…
chuehnone Jan 13, 2025
4e10160
fix: ruff check for True if ... else (#12576)
yihong0618 Jan 13, 2025
831459b
fix: ruff with statements (#12578)
yihong0618 Jan 13, 2025
54b5b80
fix(workflow): fix answer node stream processing in conditional branc…
Kevin9703 Jan 13, 2025
9a6b1dc
Revert "Feat/new saas billing" (#12673)
JohnJyong Jan 13, 2025
c700364
fix: Update variable handling in VariableAssignerNode and clean up ap…
laipz8200 Jan 13, 2025
cb34991
fix: add type hints for App model and improve error handling in audio…
laipz8200 Jan 13, 2025
69d58fb
Add new integration with Opik Tracking tool (#11501)
Lothiraldan Jan 13, 2025
1859d57
api tool support multiple env url (#12249)
mboo2005 Jan 13, 2025
b4873ec
[fix] support feature restore (#12563)
warren830 Jan 13, 2025
1e9ac7f
feat: add table of contents to Knowledge API doc (#12688)
euxx Jan 13, 2025
6e0fb05
chore: bump version to 0.15.1 (#12690)
laipz8200 Jan 13, 2025
435eddd
Feat: copyright modification (#12707)
JzoNgKVO Jan 14, 2025
0800021
chore: translate i18n files (#12708)
github-actions[bot] Jan 14, 2025
bc3a570
fix: Fix rerank model switching issue (#12721)
WTW0313 Jan 14, 2025
e3c9966
feat: enhance credential extraction logic based on configurate method…
fujita-h Jan 20, 2025
6ea77ab
fix: DeepSeek API Error with response format active (text and json_o…
jiandanfeng Jan 20, 2025
8dfdee2
chore: fix chinese translation for 'recall' (#12772)
xhdd123321 Jan 20, 2025
677a69d
fix(i18n): correct typo in zh-Hant translation (#12852)
yenslife Jan 20, 2025
210926c
Fix suggested_question_prompt (#12738)
xu-song Jan 20, 2025
80801ac
fix: "parmas" spelling mistake. (#12875)
jiandanfeng Jan 20, 2025
9d86147
fix: SparkLite API Auth error (#12781) (#12790)
jiandanfeng Jan 20, 2025
3defd24
feat: allow updating chunk settings for the existing documents (#12833)
kurokobo Jan 21, 2025
5ff08e2
fix: serply credential check query might return empty records (#12784)
rayshaw001 Jan 21, 2025
925d69a
feat:Support Minimax-Text-01 (#12763)
AAlexDing Jan 21, 2025
166221d
chore(lint): fix quotes for f-string formatting by bumping ruff to 0.…
bowenliang123 Jan 21, 2025
9aaee8e
fix: Issues related to the deletion of conversation_id (#12488) (#12665)
jiandanfeng Jan 21, 2025
6fad719
chore(fix): Invalid quotes for using Array[String] in HTTP request no…
bowenliang123 Jan 21, 2025
9903f1e
add deepseek-reasoner (#12898)
wangiii Jan 21, 2025
0c6a8a1
fix: external dataset hit test display issue(#12564) (#12612)
le0zh Jan 21, 2025
a7b9375
Update deepseek model configuration (#12899)
wangiii Jan 21, 2025
46e95e8
fix: OpenAI o1 Bad Request Error (#12839)
k-zaku Jan 21, 2025
6d0cb9d
fix: variable panel scrollable (#12769)
xhdd123321 Jan 21, 2025
6db3ae9
chore: remove webapp ga (#12909)
iamjoel Jan 21, 2025
3d1ce4c
bug: fixed bedrock rerank bug (#12774)
luckylhb90 Jan 21, 2025
162a8c4
fix update segment keyword with same content (#12908)
JohnJyong Jan 21, 2025
2f41bd4
fix:Fix a bug that returns null when the passed path is a file. (#12775)
jiangbo721 Jan 22, 2025
f582d4a
feat: Add ability to change profile avatar (#12642)
miya Jan 22, 2025
e23f4b0
feat: add gemini-2.0-flash-thinking-exp-01-21 (#12924)
jiandanfeng Jan 22, 2025
e09f6e4
feat: support config chunk length by env (#12925)
iamjoel Jan 22, 2025
05a0faf
fix: app token's last_used_at can't be updated when last_used_at is n…
Egfly Jan 22, 2025
8429877
fix: Agent is configured for ReAct inference mode, an error is report…
jiandanfeng Jan 22, 2025
3ee213d
add milvus full text search setting (#12930)
JohnJyong Jan 22, 2025
c62b7cc
chore(build): bump poetry from 1.x to 2.x (#12369)
bowenliang123 Jan 22, 2025
f91f5c7
fix(batch_create_segment_to_index_task): count max_position in memory…
laipz8200 Jan 22, 2025
8dd1873
feat: workflow note dark theme (#12932)
zxhlyh Jan 22, 2025
71fa14f
fix: resolve clipboard.writeText failure under HTTP protocol (#12936)
le0zh Jan 22, 2025
d167d5b
feat(ark): support doubao 1.5 series of models (#12935)
sinomoe Jan 22, 2025
1e73f63
chore: update version to 0.15.2 in packaging and docker configuration…
laipz8200 Jan 22, 2025
4c3076f
feat: add pg vector index (#12338)
huangzhuo1949 Jan 22, 2025
dd0904f
feat: add giteeAI risk control identification. (#12946)
jiandanfeng Jan 22, 2025
fd4afe0
fix: tools translate search (#12950)
Jhvcc Jan 22, 2025
f565f08
fix: get property of string type variable caused page crash (#12969)
iamjoel Jan 23, 2025
6024d8a
refactor: Update Firecrawl to use v1 API (#12574)
ftonato Jan 23, 2025
e54ce47
Feat/prompt editor dark theme (#12976)
zxhlyh Jan 23, 2025
da67916
feat: add glm-4-air-0111 (#12997)
Jhvcc Jan 24, 2025
2806764
fix: wrong zh_Hans translation: Ohio (#13006)
iwaim Jan 24, 2025
a2b9adb
Change typo in translation (#13004)
y10ab1 Jan 24, 2025
a2f8bce
chore: add Japanese translation: model_providers/bedrock (#13016)
iwaim Jan 24, 2025
59b3e67
feat: add agent thinking content display of deepseek R1 (#12949)
hjlarry Jan 24, 2025
b2bbc28
support bedrock kb: retrieve and generate (#13027)
warren830 Jan 25, 2025
1374be5
fix: Unexpected tag creation when pressing enter during tag conversio…
miya Jan 25, 2025
d4be5ef
Update Novita AI predefined models (#13045)
jasonhp Jan 26, 2025
d1fc65f
fix: adjust iteration node dark style (#13051)
douxc Jan 26, 2025
a6a727e
feat: add inner API to create workspace without requiring email (#13021)
zhangx1n Jan 26, 2025
aad7e4d
fix:Improve MIME type detection for remote URL uploads using python-m…
yjc980121 Jan 27, 2025
edc2978
fix: "Model schema not found" error only in agents (#12655) (#12760)
jiandanfeng Jan 27, 2025
6c31ee3
fix qwen-vl blocking mode (#13052)
hieheihei Jan 27, 2025
5d91dbd
Set default LOG_LEVEL to INFO for celery workers and beat (#13066)
osaimi Jan 27, 2025
560c5de
Fixed Novita AI color and added DeepSeek R1 model (#13074)
jasonhp Jan 28, 2025
23c68ef
fix: fix the formatter is not applied on log file (#12704)
acelyc111 Jan 28, 2025
d44882c
refactor: reduce duplciate code by inheritance (#13073)
acelyc111 Jan 28, 2025
d0a2108
refactor: Update Firecrawl API parameters and default settings (#13082)
ftonato Jan 29, 2025
b4b09dd
add tongyi qwen2.5-14b/7b-instruct-1m model (#13089)
hieheihei Jan 29, 2025
b09c39c
refactor: avoid to use extra space when finding model by name (#13043)
acelyc111 Jan 30, 2025
c0d0c63
feat: switch to chat messages before regenerated (#11301)
xuzuodong Jan 31, 2025
b47669b
fix: deduct LLM quota after processing invoke result (#13075)
laipz8200 Feb 2, 2025
ee61ced
test(huggingface_hub): Skip the failed test temporarily. (#13142)
laipz8200 Feb 2, 2025
c2664e0
chore: fix wrong VectorType match case (#13123)
tmokmss Feb 2, 2025
d73d191
feature. add feat to modify metadata via dataset api (#13116)
aplio Feb 2, 2025
941ad03
pass model and cost so that langfuse can show cost (#13117)
obadakhalili Feb 2, 2025
840729a
feat: the think tag display of siliconflow's deepseek r1 (#13153)
hjlarry Feb 2, 2025
d876084
chore: upgrade libldap2 (#13158)
ZuzooVn Feb 3, 2025
87e2048
nitpick: fix small typos in template.en.mdx (#13156)
aplio Feb 3, 2025
7452032
add azure openai api version 2024-12-01-preview (#13135)
kei-yamazaki Feb 3, 2025
304467e
fix: not install libmagic raise error (#13146)
hjlarry Feb 3, 2025
1b6fd9d
fix: set indexing technique from dataset during update-by-text (#13155)
aplio Feb 3, 2025
8fbc9c9
Solve circular dependency issue between `workflow/constants.ts` file …
obadakhalili Feb 4, 2025
d4c916b
chore(pyproject): Add type stubs into `pyproject.toml` (#13145)
laipz8200 Feb 4, 2025
e9e34c1
Install apt dependencies using bookworm source, consistent with base …
deephbz Feb 5, 2025
55ce361
fix: Dollar Sign Handling in Markdown (#13178)
Riddhimaan-Senapati Feb 5, 2025
2ad7ee0
chore: add tests for build docker image when dockerfile changed (#10732)
bowenliang123 Feb 5, 2025
03243cb
Modify params for bedrock retrieve generate (#13182)
warren830 Feb 5, 2025
1a2523f
feat: bedrock_endpoint_url (#12838)
2284730142 Feb 5, 2025
38c10b4
Feat: add linkedin to readme (#13203)
Riddhimaan-Senapati Feb 5, 2025
a97cec5
fix: SSRF proxy file descriptor leak in concurrent requests (#13108)
ZuzooVn Feb 5, 2025
fac83e1
Use DefaultAzureCredential for managed identity in azure blob extenti…
te-chan2 Feb 5, 2025
9e1457c
fix: mypy checks violation in AzureBlobStorage (#13215)
bowenliang123 Feb 5, 2025
59ca44f
chore(model_runtime): Move deepseek ahead in the providers list. (#13…
laipz8200 Feb 5, 2025
e8b3b7e
Fix new variables in the conversation opener would override prompt_va…
HQidea Feb 5, 2025
8fbb355
chore: squash system dependencies installation steps (#13206)
bowenliang123 Feb 5, 2025
34b21b3
feat: Add o3-mini and o3-mini-2025-01-31 model variants (#13129)
Joshbly Feb 5, 2025
c6ddf6d
feat(model_providers): Add Groq DeepSeek-R1-Distill-Llama-70b (#13229)
laipz8200 Feb 5, 2025
00458a3
feat: added deepseek r1 and v3 to siliconflow (#13238)
Riddhimaan-Senapati Feb 5, 2025
a6a2503
fix: updated _position.yaml to include the latest model already integ…
Riddhimaan-Senapati Feb 6, 2025
5a685f7
feat: add think display for volcengine and generic openapi (#13234)
xhebox Feb 6, 2025
7203991
feat: add parameter "reasoning_effort" and Openai o3-mini (#13243)
k-zaku Feb 6, 2025
9457b2a
feat: added models :gemini 2.0 flash 001 and gemini 2.0 pro exp 02-05…
Riddhimaan-Senapati Feb 6, 2025
7673c36
feat(model): add gemini-2.0-flash-thinking-exp-01-21 (#13230)
wangiii Feb 6, 2025
da2ee04
fix: correct linewrap think display in generic openai api (#13260)
xhebox Feb 6, 2025
f6c44ca
feat(model): add gemini-2.0 model (#13266)
wangiii Feb 6, 2025
87763fc
feat(model_providers): Support deepseek for Azure AI Foundry (#13267)
laipz8200 Feb 6, 2025
03ec351
Fix bug large data no render (#12683)
weiwenyan-dev Feb 6, 2025
6d66d6d
feat(model_providers): Support deepseek-r1 for Nvidia Catalog (#13269)
laipz8200 Feb 6, 2025
40dd63e
Upgrade oracle models (#13174)
engchina Feb 6, 2025
186e2d9
chore(deps): bump katex from 0.16.10 to 0.16.21 in /web (#13270)
dependabot[bot] Feb 6, 2025
49b4144
fix: add dataset edit permissions (#13223)
WTW0313 Feb 6, 2025
0d13aee
feat:add deepseek r1 think display for ollama provider (#13272)
leslie2046 Feb 6, 2025
16865d4
feat: add deepseek models for volcengine provider (#13283)
xhdd123321 Feb 6, 2025
ba91f34
fix: incorrect transferMethod assignment for remote file (#13286)
le0zh Feb 6, 2025
f7e7a39
feat:add think tag display for xinference deepseek r1 (#13291)
leslie2046 Feb 6, 2025
2348abe
feat: added a couple of models not defined in vertex ai, that were al…
Riddhimaan-Senapati Feb 7, 2025
e638ede
Update README_TR.md (#13294)
kemalmeler Feb 7, 2025
04d13a8
feat(credits): Allow to configure model-credit mapping (#13274)
laipz8200 Feb 7, 2025
6e5c915
feat(model): add deepseek-r1 for openrouter (#13312)
sinomoe Feb 7, 2025
be46f32
fix(credits): require model name equals (#13314)
laipz8200 Feb 7, 2025
3eb3db0
chore: refactor the OpenAICompatible and improve thinking display (#1…
hjlarry Feb 7, 2025
b7c11c1
Fix the problem of Workflow terminates after parallel tasks execution…
lazyFrogLOL Feb 7, 2025
1caa578
chore(*): Update style of thinking (#13319)
laipz8200 Feb 7, 2025
3f42fab
chore:improve thinking display for llm from xinference and ollama pro…
leslie2046 Feb 7, 2025
f951590
fix: Azure AI Foundry model cannot be used in the workflow (#13323)
laipz8200 Feb 7, 2025
413dfd5
feat: add completion mode and context size options for LLM configurat…
laipz8200 Feb 7, 2025
ca19bd3
chore(*): Bump version to 0.15.3 (#13308)
laipz8200 Feb 7, 2025
ae6f674
Chore: update app detail panel (#13337)
YIXIAO0 Feb 7, 2025
38c31e6
add enable_search parameter to qwen_max, plus, turbo (#13335)
Tuyohai Feb 7, 2025
a081b1e
fix: add compatibility config for third-party S3-compatible providers…
xhdd123321 Feb 7, 2025
ebdbaf3
chore: translate i18n files (#13349)
github-actions[bot] Feb 7, 2025
8f9db61
feat: added new silicon flow models (#13369)
Riddhimaan-Senapati Feb 8, 2025
c8dcde6
fix: Gemini 2.0 Flash 001 model yaml file naming (#13372)
fdb02983rhy Feb 8, 2025
982bca5
fix: add rate limiting to prevent brute force on password reset (#13292)
zhangx1n Feb 8, 2025
b3ae6b6
feat: add pan and zoom support for MiniMap (#13382)
KatyTao Feb 8, 2025
3112b74
fix: build failed due to `getPrevChatList` no longer exists (#13383)
xuzuodong Feb 8, 2025
6622c7f
fix: Fix HTTP request node non 443 port SSL site inaccessible (#13376)
h4ckdepy Feb 8, 2025
cf36745
fix(workflow_tool): enable File parameter support after workflow is p…
HuChundong Feb 8, 2025
78708eb
fix: merge conflict between #11301 and #11885 (#13391)
xuzuodong Feb 8, 2025
286cdc4
reasoning model unified think tag is <think></think> (#13392)
junjiem Feb 8, 2025
45874c6
Nitpick/fix typos in document (#13413)
aplio Feb 8, 2025
f7959bc
fix(chatbot): update button class to include text color for better vi…
aplio Feb 8, 2025
ab2e6c1
Fixes #13415 reset model-provider-page form value use schema.default …
muzea Feb 8, 2025
0451333
fix(settings): add notClearable prop to language selection (#13406)
aplio Feb 8, 2025
b05e9d2
feat: update backend documentation (#13374)
Riddhimaan-Senapati Feb 8, 2025
37117c2
feat(model): support Gemini 2.0 Flash Lite Preview model (02-05) in G…
takatea Feb 9, 2025
c189629
Fix(i18n): Refine zh-Hant workflow translations (#13421)
yenslife Feb 9, 2025
c3c575c
Fix: model selector UI hover issue (#13396)
YIXIAO0 Feb 9, 2025
811d72a
feat: added a _position.yaml for vertex ai provider (#13367)
Riddhimaan-Senapati Feb 9, 2025
e0d1cab
fix: add missed background color to iteration node (#13448)
douxc Feb 10, 2025
33ecceb
Feat: add comparison table to main readme (#13435)
Riddhimaan-Senapati Feb 10, 2025
f307c7c
feat: Docker adds SSRF-related timeout settings (#13395)
gubinjie Feb 10, 2025
939a9ec
chore: use the wrap thinking api for volcengine (#13432)
xhebox Feb 10, 2025
75113c2
Feat : add deepseek support for tongyi (#13445)
droxer Feb 10, 2025
7796984
Fix: Removed model params except max_token for deepseek r1 in volceng…
droxer Feb 10, 2025
2290f14
feat: add tooltip if user's anthropic trial quota still available (#1…
douxc Feb 10, 2025
c8357da
[Fix] Sagemaker LLM Provider can't adjust context size, it'a always 2…
ybalbert001 Feb 10, 2025
9f3fc7e
ci: make ci safe using zizmor (#13397)
yihong0618 Feb 10, 2025
3399042
fix: add ids in FetchDatasetsParams (#13459)
WTW0313 Feb 10, 2025
7d95863
Fix/add trial expire tip time (#13464)
douxc Feb 10, 2025
5ffc58d
feat: improve think content display (#13431)
hjlarry Feb 10, 2025
f48fa3e
chore: translate i18n files (#13452)
github-actions[bot] Feb 10, 2025
0957119
fix: update UTC time format for consistency (#13471)
zhangx1n Feb 10, 2025
abec231
feat: add support for X-Forwarded-Port in ProxyFix middleware (#13102)
osaimi Feb 10, 2025
f0a845f
fix: removed LLM output from the main README (#13504)
Riddhimaan-Senapati Feb 11, 2025
47a6461
Fix the issue of repeated escaping of quotes in hit test (#13477)
liuzhenghua Feb 11, 2025
1f38d48
fix: issue #13483 and #13434 (#13518)
yihong0618 Feb 11, 2025
c00e7d3
fix: retry log running error (#13472)
Nov1c444 Feb 11, 2025
f96b4f2
fix: iteration node log time error (#13511)
Nov1c444 Feb 11, 2025
423fb2d
Ensure the 'inputs' field in /chat-messages takes effect every time (…
Wu-Jiayang Feb 11, 2025
bde756a
chore:Remove useless brackets and format code (#13479)
jiangbo721 Feb 11, 2025
786550b
fix: changed topics/keywords to topic/keywords (#13544)
Riddhimaan-Senapati Feb 12, 2025
0751ad1
feat(vdb): add HNSW vector index for TiDB vector store with TiFlash (…
bowenliang123 Feb 12, 2025
6529240
fix: no longer using old app detail cover when switch pathname (#13585)
kimjion Feb 12, 2025
2b86465
fix document extractor node incorrectly processing doc and ppt files …
AugNSo Feb 12, 2025
a3d3e30
fix: fix tongyi models blocking mode with incremental_output=stream (…
acelyc111 Feb 13, 2025
c398c9c
chore:Remove duplicate code, lines 8 to 27, same as lines 29 & 45 to …
jiangbo721 Feb 13, 2025
f0b9257
fix: error in obtaining end_to_node_id during conditional parallel ex…
Nov1c444 Feb 13, 2025
33a565a
perf: Implemented short-circuit evaluation for logical conditions (#1…
llinvokerl Feb 13, 2025
4e7e172
Chore/format code (#13691)
jiangbo721 Feb 14, 2025
6207999
fix:Knowledge Base with Parent-Child segment mode not support in Agen…
leslie2046 Feb 14, 2025
8a0aa91
Non-Streaming Models Do Not Return Results Properly in _handle_invoke…
vasu-negi Feb 14, 2025
1f63028
fix: reranking_enable setting failed #13668 (#13721)
le0zh Feb 14, 2025
284707c
perf(message): optimize message loading and reduce SQL queries (#13720)
hundredwz Feb 15, 2025
035e54b
fix: add install a package to improve the accuracy of guessing mime t…
kurokobo Feb 16, 2025
ed7d7a7
Feat/compliance (#13548)
GareArc Feb 17, 2025
7f9eb35
Feat: compliance report download (#13282)
douxc Feb 17, 2025
4229d0f
Revert "Feat/compliance" (#13798)
GareArc Feb 17, 2025
1434d54
Revert "Feat: compliance report download" (#13799)
douxc Feb 17, 2025
566e548
fix: update trial expire time to 3/17 (#13796)
douxc Feb 17, 2025
38609e1
Merge branch main into branch plugin/merge-main-0217
Yeuoly Feb 17, 2025
3ee05cd
Merge branch 'main' into plugin/merge-main-0217
Yeuoly Feb 17, 2025
323c794
fix
Yeuoly Feb 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Poetry and Python ${{ matrix.python-version }}
uses: ./.github/actions/setup-poetry
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@ jobs:
cache-to: type=gha,mode=max,scope=${{ matrix.service_name }}

- name: Export digest
env:
DIGEST: ${{ steps.build.outputs.digest }}
run: |
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
sanitized_digest=${DIGEST#sha256:}
touch "/tmp/digests/${sanitized_digest}"

- name: Upload digest
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -133,10 +135,15 @@ jobs:

- name: Create manifest list and push
working-directory: /tmp/digests
env:
IMAGE_NAME: ${{ env[matrix.image_name_env] }}
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env[matrix.image_name_env] }}@sha256:%s ' *)
$(printf "$IMAGE_NAME@sha256:%s " *)

- name: Inspect image
env:
IMAGE_NAME: ${{ env[matrix.image_name_env] }}
IMAGE_VERSION: ${{ steps.meta.outputs.version }}
run: |
docker buildx imagetools inspect ${{ env[matrix.image_name_env] }}:${{ steps.meta.outputs.version }}
docker buildx imagetools inspect "$IMAGE_NAME:$IMAGE_VERSION"
3 changes: 3 additions & 0 deletions .github/workflows/db-migration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Poetry and Python
uses: ./.github/actions/setup-poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/expose_service_ports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ yq eval '.services["pgvecto-rs"].ports += ["5431:5432"]' -i docker/docker-compos
yq eval '.services["elasticsearch"].ports += ["9200:9200"]' -i docker/docker-compose.yaml
yq eval '.services.couchbase-server.ports += ["8091-8096:8091-8096"]' -i docker/docker-compose.yaml
yq eval '.services.couchbase-server.ports += ["11210:11210"]' -i docker/docker-compose.yaml
yq eval '.services.tidb.ports += ["4000:4000"]' -i docker/docker-compose.yaml
yq eval '.services.tidb.ports += ["4000:4000"]' -i docker/tidb/docker-compose.yaml

echo "Ports exposed for sandbox, weaviate, tidb, qdrant, chroma, milvus, pgvector, pgvecto-rs, elasticsearch, couchbase"
12 changes: 12 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Check changed files
id: changed-files
Expand Down Expand Up @@ -60,6 +63,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Check changed files
id: changed-files
Expand Down Expand Up @@ -96,6 +102,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Check changed files
id: changed-files
Expand Down Expand Up @@ -124,6 +133,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Check changed files
id: changed-files
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tool-test-sdks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/translate-i18n-base-on-english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 2 # last 2 commits
persist-credentials: false

- name: Check for file changes in i18n/en-US
id: check_files
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/vdb-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Poetry and Python ${{ matrix.python-version }}
uses: ./.github/actions/setup-poetry
Expand All @@ -51,8 +54,16 @@
- name: Expose Service Ports
run: sh .github/workflows/expose_service_ports.sh

- name: Set up Vector Stores (TiDB, Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma, MyScale, ElasticSearch, Couchbase)
- name: Set up Vector Store (TiDB)
uses: hoverkraft-tech/[email protected]

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Run VDB Tests' step
Uses Step
uses 'hoverkraft-tech/compose-action' with ref 'v2.0.2', not a pinned commit hash
with:
compose-file: docker/tidb/docker-compose.yaml
services: |
tidb
tiflash

- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma, MyScale, ElasticSearch, Couchbase)
uses: hoverkraft-tech/[email protected]

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Run VDB Tests' step
Uses Step
uses 'hoverkraft-tech/compose-action' with ref 'v2.0.2', not a pinned commit hash
with:
compose-file: |
docker/docker-compose.yaml
Expand All @@ -67,7 +78,9 @@
pgvector
chroma
elasticsearch
tidb

- name: Check TiDB Ready
run: poetry run -P api python api/tests/integration_tests/vdb/tidb_vector/check_tiflash_ready.py

- name: Test Vector Stores
run: poetry run -P api bash dev/pytest/pytest_vdb.sh
3 changes: 3 additions & 0 deletions .github/workflows/web-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Check changed files
id: changed-files
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ docker/volumes/db/data/*
docker/volumes/redis/data/*
docker/volumes/weaviate/*
docker/volumes/qdrant/*
docker/tidb/volumes/*
docker/volumes/etcd/*
docker/volumes/minio/*
docker/volumes/milvus/*
Expand Down
66 changes: 66 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,72 @@ Please refer to our [FAQ](https://docs.dify.ai/getting-started/install-self-host
**7. Backend-as-a-Service**:
All of Dify's offerings come with corresponding APIs, so you could effortlessly integrate Dify into your own business logic.

## Feature Comparison
<table style="width: 100%;">
<tr>
<th align="center">Feature</th>
<th align="center">Dify.AI</th>
<th align="center">LangChain</th>
<th align="center">Flowise</th>
<th align="center">OpenAI Assistants API</th>
</tr>
<tr>
<td align="center">Programming Approach</td>
<td align="center">API + App-oriented</td>
<td align="center">Python Code</td>
<td align="center">App-oriented</td>
<td align="center">API-oriented</td>
</tr>
<tr>
<td align="center">Supported LLMs</td>
<td align="center">Rich Variety</td>
<td align="center">Rich Variety</td>
<td align="center">Rich Variety</td>
<td align="center">OpenAI-only</td>
</tr>
<tr>
<td align="center">RAG Engine</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">Agent</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">Workflow</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">✅</td>
<td align="center">❌</td>
</tr>
<tr>
<td align="center">Observability</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">❌</td>
</tr>
<tr>
<td align="center">Enterprise Feature (SSO/Access control)</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">❌</td>
<td align="center">❌</td>
</tr>
<tr>
<td align="center">Local Deployment</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
</tr>
</table>

## Using Dify

Expand Down
4 changes: 1 addition & 3 deletions README_KL.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ Dify is an open-source LLM app development platform. Its intuitive interface com

## Feature Comparison
<table style="width: 100%;">
<tr

>
<tr>
<th align="center">Feature</th>
<th align="center">Dify.AI</th>
<th align="center">LangChain</th>
Expand Down
69 changes: 68 additions & 1 deletion README_SI.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,73 @@ Prosimo, glejte naša pogosta vprašanja [FAQ](https://docs.dify.ai/getting-star
**7. Backend-as-a-Service**:
AVse ponudbe Difyja so opremljene z ustreznimi API-ji, tako da lahko Dify brez težav integrirate v svojo poslovno logiko.

## Primerjava Funkcij

<table style="width: 100%;">
<tr>
<th align="center">Funkcija</th>
<th align="center">Dify.AI</th>
<th align="center">LangChain</th>
<th align="center">Flowise</th>
<th align="center">OpenAI Assistants API</th>
</tr>
<tr>
<td align="center">Programski pristop</td>
<td align="center">API + usmerjeno v aplikacije</td>
<td align="center">Python koda</td>
<td align="center">Usmerjeno v aplikacije</td>
<td align="center">Usmerjeno v API</td>
</tr>
<tr>
<td align="center">Podprti LLM-ji</td>
<td align="center">Bogata izbira</td>
<td align="center">Bogata izbira</td>
<td align="center">Bogata izbira</td>
<td align="center">Samo OpenAI</td>
</tr>
<tr>
<td align="center">RAG pogon</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">Agent</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">Potek dela</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">✅</td>
<td align="center">❌</td>
</tr>
<tr>
<td align="center">Spremljanje</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">❌</td>
</tr>
<tr>
<td align="center">Funkcija za podjetja (SSO/nadzor dostopa)</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">❌</td>
<td align="center">❌</td>
</tr>
<tr>
<td align="center">Lokalna namestitev</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
</tr>
</table>

## Uporaba Dify

Expand Down Expand Up @@ -187,4 +254,4 @@ Zaradi zaščite vaše zasebnosti se izogibajte objavljanju varnostnih vprašanj

## Licenca

To skladišče je na voljo pod [odprtokodno licenco Dify](LICENSE) , ki je v bistvu Apache 2.0 z nekaj dodatnimi omejitvami.
To skladišče je na voljo pod [odprtokodno licenco Dify](LICENSE) , ki je v bistvu Apache 2.0 z nekaj dodatnimi omejitvami.
4 changes: 3 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ RUN \
# basic environment
curl nodejs libgmp-dev libmpfr-dev libmpc-dev \
# For Security
# expat libldap-2.5-0 perl libsqlite3-0 zlib1g \
expat libldap-2.5-0 perl libsqlite3-0 zlib1g \
# install a chinese font to support the use of tools like matplotlib
fonts-noto-cjk \
# install a package to improve the accuracy of guessing mime type and file extension
media-types \
# install libmagic to support the use of python-magic guess MIMETYPE
libmagic1 \
&& apt-get autoremove -y \
Expand Down
8 changes: 7 additions & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@

4. Create environment.

Dify API service uses [Poetry](https://python-poetry.org/docs/) to manage dependencies. You can execute `poetry shell` to activate the environment.
Dify API service uses [Poetry](https://python-poetry.org/docs/) to manage dependencies. First, you need to add the poetry shell plugin, if you don't have it already, in order to run in a virtual environment. [Note: Poetry shell is no longer a native command so you need to install the poetry plugin beforehand]

```bash
poetry self add poetry-plugin-shell
```

Then, You can execute `poetry shell` to activate the environment.

5. Install dependencies

Expand Down
4 changes: 2 additions & 2 deletions api/configs/feature/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ def WEB_API_CORS_ALLOW_ORIGINS(self) -> list[str]:
)

RESPECT_XFORWARD_HEADERS_ENABLED: bool = Field(
description="Enable or disable the X-Forwarded-For Proxy Fix middleware from Werkzeug"
" to respect X-* headers to redirect clients",
description="Enable handling of X-Forwarded-For, X-Forwarded-Proto, and X-Forwarded-Port headers"
" when the app is behind a single trusted reverse proxy.",
default=False,
)

Expand Down
2 changes: 1 addition & 1 deletion api/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

if dify_config.ETL_TYPE == "Unstructured":
DOCUMENT_EXTENSIONS = ["txt", "markdown", "md", "mdx", "pdf", "html", "htm", "xlsx", "xls"]
DOCUMENT_EXTENSIONS.extend(("docx", "csv", "eml", "msg", "pptx", "xml", "epub"))
DOCUMENT_EXTENSIONS.extend(("doc", "docx", "csv", "eml", "msg", "pptx", "xml", "epub"))
if dify_config.UNSTRUCTURED_API_URL:
DOCUMENT_EXTENSIONS.append("ppt")
DOCUMENT_EXTENSIONS.extend([ext.upper() for ext in DOCUMENT_EXTENSIONS])
Expand Down
1 change: 0 additions & 1 deletion api/controllers/console/datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,6 @@ def get(self):
match vector_type:
case (
VectorType.RELYT
| VectorType.PGVECTOR
| VectorType.TIDB_VECTOR
| VectorType.CHROMA
| VectorType.TENCENT
Expand Down
Loading
Loading