Commit Graph

2828 Commits (08cfcb453cdb6e5f26f22f0efbf5916c9f2a3af5)

Author SHA1 Message Date
Yeuoly 5cdbfe2f41
Merge branch 'main' into fix/chore-fix 1 year ago
Yeuoly 5fd82084f9
fix: avoid empty plugin entity 1 year ago
Jyong 0c1307b083
add jina rerank http timout parameter (#10476) 1 year ago
-LAN- b8b6cd409a
refactor(code_executor): update input type annotations to use Mapping for better type safety (#10478) 1 year ago
Charlie.Wei fbee41f8c7
The list action node adds methods to extract specific list objects (#10421)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
1 year ago
Xiao Ley 451ccb778d
feat(tools/podcast_generator): add support for setting openai base url with the podcast_generationor tool (#10517) 1 year ago
crazywoola 5656f81bde
Revert "fix the error of unable to retrieve url from file" (#10511) 1 year ago
Xiao Ley 5eb27afd63
fix the error of unable to retrieve url from file (#10498) 1 year ago
fdb02983rhy 05d43a4074
Fix: Correct the max tokens of Claude-3.5-Sonnet-20241022 for Bedrock and VertexAI (#10508) 1 year ago
larcane97 aa895cfa9b
fix: [VESSL-AI] edit some words in vessl_ai.yaml (#10417)
Co-authored-by: moon <moon@vessl.ai>
1 year ago
takatost f0637ba332 fix: create basic app causing internal error when default model is not exist 1 year ago
-LAN- 172c7eb270
fix(file_upload): correct validation method and add unit tests (#10477) 1 year ago
crazywoola eb6c0b8027
Fix/log tz (#10473) 1 year ago
-LAN- 06d2520db2
fix(api): replace Raw field with FilesContainedField in MessageListApi inputs (#10472) 1 year ago
-LAN- bf31a3efbc
feat(workflow-nodes): handle missing variables without failure (#10471) 1 year ago
takatost 115c9486c3 fix hosted issues 1 year ago
Jyong 445dcfe4d0
add create tidb serverless job control (#10467)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
-LAN- 25ca0278dd
refactor(core): Remove extra_config from File. (#10203) 1 year ago
-LAN- 78a380bcc4
fix(migrations): correct schema reference in service API history migration (#10452) 1 year ago
Jyong 4f1a56f0f0
update document and segment word count (#10449) 1 year ago
Bowen Liang 754bfb181c
chore(ci): avoid reinstall pipx and pin poetry version aligned with in api dockerfile (#10426) 1 year ago
Yeuoly 8b5231b7ee
fix: invalid key of marketplace response 1 year ago
非法操作 7903ba0297
chore: make comfy workflow can generate image with a random seed (#10462) 1 year ago
Yeuoly 38cae29757
fix: wrap marketplace apis with try catch 1 year ago
Jyong d52c750942
embedding model check when init the knowledge (#10463) 1 year ago
liuhaoran 7c2a9b0744
celery worker log format following LOG_FORMAT env#9404 (#10016)
Signed-off-by: root <root@localhost.localdomain>
Co-authored-by: root <root@localhost.localdomain>
1 year ago
Jyong 888d7e6422
fix segment enable service api (#10445) 1 year ago
Benjamin 919275cc58
Fix conversation response issue (#10450) 1 year ago
非法操作 4fe5297e35
feat: add cogVideo tool (#10456) 1 year ago
Novice a7dbe58c85
fix: correct output order in parallel mode for iteration nodes (#10323) 1 year ago
Joe aa3da0e24c
fix(ops_tracing): enhance error handle in celery tasks. (#10401) 1 year ago
Yeuoly 7a2b2a04c9
Merge branch 'main' into fix/chore-fix 1 year ago
非法操作 033ab5490b
feat: support LLM understand video (#9828) 1 year ago
Leo.Wang c9f785e00f
Feat/tools/gitlab (#10407) 1 year ago
Bowen Liang 0e8ab0588f
fix: (#10437 followup) fix conditions with DEBUG config (#10438) 1 year ago
Bowen Liang 0ebe198ff1
chore: use DEBUG in dify_config instead of parsing raw system environment variable in place (#10437) 1 year ago
-LAN- 438ad8148b
fix(http_request): send form data (#10431) 1 year ago
Bowen Liang a60133bfb3
fix: config violations when running db migtration ci tests (#10428) 1 year ago
Benjamin 6e23903c63
Conversation delete issue (#10423) 1 year ago
Bowen Liang 574c4a264f
chore(lint): Use logging.exception instead of logging.error (#10415) 1 year ago
ice yao dd5ffaf058
chore: use posixpath to wrapper filepath (#9976) 1 year ago
走在修行的大街上 f562a88249
feat(Tools): add lark tools (#10117)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
1 year ago
Benjamin a5558f8fcc
fix(conversation-service): return success response after conversation… (#10416) 1 year ago
Yeuoly fe677cc5f9
Merge branch 'main' into fix/chore-fix 1 year ago
-LAN- 823ae03a08
fix(remote-files): fallback to get when remote server not support head method (#10370) 1 year ago
-LAN- f8c958a409
refactor(iteration): introduce specific exceptions for iteration errors (#10366) 1 year ago
-LAN- 25785d8c3f
refactor(knowledge-retrieval): improve error handling with custom exceptions (#10385) 1 year ago
-LAN- 35d3da9697
refactor(tool-node): introduce specific exceptions for tool node errors (#10357) 1 year ago
-LAN- d3e9930235
refactor(question_classifier): improve error handling with custom exceptions (#10365) 1 year ago
luckylhb90 1ccca7cc68
fixed: web api remote urls error (#10383)
Co-authored-by: hobo.l <hobo.l@binance.com>
1 year ago
powerfool 12a9e2972a
Adjusted docker manifests and environment variables for OceanBase vector database (#10395) 1 year ago
omr 444c1f170a
fix typo: mMaximum -> Maximum (#10389) 1 year ago
Matsuda 1e8457441d
fix(model_runtime): remove vision from features for Claude 3.5 Haiku (#10360) 1 year ago
Infinitnet 5a9448245b
fix: remove unsupported vision in OpenRouter Haiku 3.5 (#10364) 1 year ago
Yeuoly 28c9ec3f4f
feat: support fetch tool provider info 1 year ago
Yeuoly 6baa98f166
feat: support app-selector, model-selector and tool-selector as parameters 1 year ago
Bowen Liang eafe5a9d8f
chore(ci): bring back poetry cache to speed up CI jobs (#10347) 1 year ago
Bowen Liang d45d90e8ae
chore: lazy import sagemaker (#10342) 1 year ago
-LAN- 1dae1a71fc
fix(api): remove fixed source attribute from FileApi (#10353) 1 year ago
方程 2b7341af57
Gitee AI tools (#10314) 1 year ago
Summer-Gu ce1f9d935d
feat: The SSRF request timeout configuration item is added (#10292) 1 year ago
Infinitnet bdadca1a65
feat: add support for anthropic/claude-3-5-haiku through OpenRouter (#10331) 1 year ago
Benjamin d7b4d0756e
feat(vannaai): add base_url configuration (#10294) 1 year ago
Yeuoly e9d69f020a
feat: cast files into correct type while invoking 1 year ago
Novice 3c89d45a2d
fix: iteration none output error (#10295) 1 year ago
-LAN- baab81714e
fix(http_request): improve parameter initialization and reorganize tests (#10297) 1 year ago
pinsily 2d1e5fb4e0
fix: handle KeyError when accessing rules in CleanProcessor.clean (#10258) 1 year ago
非法操作 43c7739b88
feat: add xAI model provider (#10272) 1 year ago
Matsuda f65d577f54
fix(model_runtime): fix wrong max_tokens for Claude 3.5 Haiku on Amazon Bedrock (#10286) 1 year ago
-LAN- b88145096f
feat(model): add validation for custom disclaimer length (#10287) 1 year ago
-LAN- 33219e850a
fix(node): correct file property name in function switch (#10284) 1 year ago
Benjamin 56e19fd8f5
Updates: Add mplfonts library for customizing matplotlib fonts and Va… (#9903) 1 year ago
Novice d330d31ee5
feat: Iteration node support parallel mode (#9493) 1 year ago
-LAN- 2cd976846a
feat(document_extractor): support tool file in document extractor (#10217) 1 year ago
Matsuda 5d2c88ef59
feat: support Claude 3.5 Haiku on Amazon Bedrock (#10265) 1 year ago
-LAN- fe3cde973e
refactor(parameter_extractor): implement custom error classes (#10260) 1 year ago
-LAN- 794f495ef2
fix(validation): allow to use 0 in the inputs form (#10255) 1 year ago
-LAN- 0dda682033
chore(Dockerfile): upgrade zlib arm64 (#10244) 1 year ago
方程 01d8d10f1c
Using a dedicated interface to obtain the token credential for the gitee.ai provider (#10243) 1 year ago
-LAN- c711c5e36e
feat(workflow): add configurable workflow file upload limit (#10176)
Co-authored-by: JzoNg <jzongcode@gmail.com>
1 year ago
-LAN- 2d9632d8b9
refactor(list_operator): replace ValueError with InvalidKeyError (#10222) 1 year ago
-LAN- 7e42de1e7b
refactor(workflow): introduce specific error handling for LLM nodes (#10221) 1 year ago
-LAN- bd674d27be
refactor(http_request): add custom exception handling for HTTP request nodes (#10219) 1 year ago
-LAN- 5735761920
refactor(workflow): introduce specific exceptions for code validation (#10218) 1 year ago
-LAN- 405b704f02
chore(llm_node): remove unnecessary type ignore for context assignment (#10216) 1 year ago
Jyong f38abaaa6a
fix the ssrf of docx file extractor external images (#10237) 1 year ago
Jiang fe1c0ac602
Add Lindorm as a VDB choice (#10202)
Co-authored-by: jiangzhijie <jiangzhijie.jzj@alibaba-inc.com>
1 year ago
-LAN- 3ea3df7189
refactor(validation): improve input validation logic (#10175) 1 year ago
-LAN- b01e7d778e
chore(list_operator): refine exception handling for error specificity (#10206) 1 year ago
-LAN- 7c45859594
fix(document_extractor): update base exception class (#10208) 1 year ago
-LAN- 987e1b9ced
fix(api): replace current_user with end_user in file upload (#10194) 1 year ago
-LAN- 81a77d0623
feat(document_extractor): integrate unstructured API for PPTX extraction (#10180) 1 year ago
Cling_o3 ac1f93e3d5
[fix] fix the bug that modify document name not effective (#10154) 1 year ago
-LAN- 0d5c0b4fe4
fix(workflow model): ensure consistent timestamp updating (#10172) 1 year ago
jiangbo721 d1c480a7d8
fix: Cannot find declaration to go to CLEAN_DAY_SETTING (#10157)
Co-authored-by: 刘江波 <liujiangbo1@xiaomi.com>
1 year ago
Lawrence Li 007b561e32
feat: add gpustack model provider (#10158) 1 year ago
非法操作 d92e3bd620
fix: special prompt not work for comfyUI tool (#10307) 1 year ago
-LAN- 7f583ec1ac
chore: update version to 0.11.0 across all relevant files (#10278) 1 year ago
Novice 7962101e5e
fix: iteration none output error (#10295) 1 year ago
-LAN- ae254f0a10
fix(http_request): improve parameter initialization and reorganize tests (#10297) 1 year ago
pinsily 5f21d13572
fix: handle KeyError when accessing rules in CleanProcessor.clean (#10258) 1 year ago
非法操作 bf9349c4dc
feat: add xAI model provider (#10272) 1 year ago
Matsuda 4847548779
feat(model_runtime): add new model 'claude-3-5-haiku-20241022' (#10285) 1 year ago
Matsuda cb245b5435
fix(model_runtime): fix wrong max_tokens for Claude 3.5 Haiku on Amazon Bedrock (#10286) 1 year ago
-LAN- 249b897872
feat(model): add validation for custom disclaimer length (#10287) 1 year ago
-LAN- 08c731fd84
fix(node): correct file property name in function switch (#10284) 1 year ago
Benjamin acb22f0fde
Updates: Add mplfonts library for customizing matplotlib fonts and Va… (#9903) 1 year ago
Novice d1505b15c4
feat: Iteration node support parallel mode (#9493) 1 year ago
-LAN- 2c4d8dbe9b
feat(document_extractor): support tool file in document extractor (#10217) 1 year ago
Matsuda 9305ad2102
feat: support Claude 3.5 Haiku on Amazon Bedrock (#10265) 1 year ago
-LAN- 7a98dab6a4
refactor(parameter_extractor): implement custom error classes (#10260) 1 year ago
guogeer 971defbbbd
fix: buitin tool aippt (#10234)
Co-authored-by: jinqi.guo <jinqi.guo@ubtrobot.com>
1 year ago
-LAN- 6b0de08157
fix(validation): allow to use 0 in the inputs form (#10255) 1 year ago
-LAN- 87c1de66f2
chore(Dockerfile): upgrade zlib arm64 (#10244) 1 year ago
方程 2aa171c348
Using a dedicated interface to obtain the token credential for the gitee.ai provider (#10243) 1 year ago
-LAN- 6452342222
feat(workflow): add configurable workflow file upload limit (#10176)
Co-authored-by: JzoNg <jzongcode@gmail.com>
1 year ago
-LAN- 9369cc44e6
refactor(list_operator): replace ValueError with InvalidKeyError (#10222) 1 year ago
-LAN- 38bca6731c
refactor(workflow): introduce specific error handling for LLM nodes (#10221) 1 year ago
-LAN- 2adab7f71a
refactor(http_request): add custom exception handling for HTTP request nodes (#10219) 1 year ago
-LAN- be96f6e62d
refactor(workflow): introduce specific exceptions for code validation (#10218) 1 year ago
-LAN- 8b5ea39916
chore(llm_node): remove unnecessary type ignore for context assignment (#10216) 1 year ago
Jyong 1024fc623e
fix the ssrf of docx file extractor external images (#10237) 1 year ago
Jiang 0c9e79cd67
Add Lindorm as a VDB choice (#10202)
Co-authored-by: jiangzhijie <jiangzhijie.jzj@alibaba-inc.com>
1 year ago
-LAN- 61da0f08dd
refactor(validation): improve input validation logic (#10175) 1 year ago
-LAN- 1432c268a8
chore(list_operator): refine exception handling for error specificity (#10206) 1 year ago
-LAN- ec6a03afdd
fix(document_extractor): update base exception class (#10208) 1 year ago
Xiao Ley b28cf68097
chore: enable vision support for models in OpenRouter that should have supported vision (#10191) 1 year ago
-LAN- 0066531266
fix(api): replace current_user with end_user in file upload (#10194) 1 year ago
takatost c100f24f7d compatible model daemon request exception 1 year ago
-LAN- 53a7cb0e9d
feat(document_extractor): integrate unstructured API for PPTX extraction (#10180) 1 year ago
-LAN- 86739bea8b
fix(tools): suppress RuntimeWarnings in podcast audio generator (#10182) 1 year ago
Cling_o3 ab127ba92e
[fix] fix the bug that modify document name not effective (#10154) 1 year ago
-LAN- 6a2a9460e9
fix(workflow model): ensure consistent timestamp updating (#10172) 1 year ago
jiangbo721 07ad362854
fix: Cannot find declaration to go to CLEAN_DAY_SETTING (#10157)
Co-authored-by: 刘江波 <liujiangbo1@xiaomi.com>
1 year ago
Lawrence Li 76b0328eb1
feat: add gpustack model provider (#10158) 1 year ago
-LAN- 3c85136279
refactor(tools): Avoid warnings. (#10161) 1 year ago
takatost d92cb994a9 fix voice list 1 year ago
Yeuoly 413326905e
rebase migrations 1 year ago
Yeuoly 5605ff9803
fix voice list 1 year ago
Yeuoly 84b7a4607a
fix: setup_required 1 year ago
Yeuoly 10cc4e758c
Merge branch 'main' into fix/chore-fix 1 year ago
-LAN- bf048b8d7c
refactor(migration/model): update column types for workflow schema (#10160) 1 year ago
-LAN- 9ac2bb30f4
Feat/add-remote-file-upload-api (#9906) 1 year ago
Yeuoly 8070be9b76
fix: missing 'follow_redirects' argument while download plugin packages 1 year ago
Jyong 82033af097
clean un-allowed special charters when doing indexing estimate (#10153) 1 year ago
Yeuoly f1f1baae9c
feat: support plugin tags 1 year ago
-LAN- 951308b5f3
refactor(service): handle unsupported DSL version with warning (#10151) 1 year ago
takatost f20c9ef763 fix 1 year ago
takatost f798add31c compatible with original provider name 1 year ago
Yeuoly 8c2dbe876f
fix: custom tool parser 1 year ago
larcane97 8d5456b6d0
Add VESSL AI OpenAI API-compatible model provider and LLM model (#9474)
Co-authored-by: moon <moon@vessl.ai>
1 year ago
Coal Pigeon 4d5546953a
add llm: ernie-4.0-turbo-128k of wenxin (#10135)
Co-authored-by: Pigeon姚宏锋 <pigeon.yhf@galaxyoversea.com>
1 year ago
Shili Cao b61baa87ec
fix: avoid unexpected error when create knowledge base with baidu vector database and wenxin embedding model (#10130) 1 year ago
llinvokerl 805c701767
fix: bar chart issue with duplicate x-axis labels being incorrectly ignored (#10134)
Co-authored-by: liusurong.lsr <liusurong.lsr@alibaba-inc.com>
1 year ago
Jyong dad041c49f
fix issue: query is none when doing retrieval (#10129) 1 year ago
Jyong ce260f79d2
Feat/update knowledge api url (#10102)
Co-authored-by: nite-knite <nkCoding@gmail.com>
1 year ago
omr 11ca1bec0b
fix: optimize unique document filtering with set (#10082) 1 year ago
-LAN- 05d9adeb99
fix(Dockerfile): conditionally install zlib1g based on architecture (#10118) 1 year ago
Jyong 0154a26e0b
fix issue: update document segment setting failed (#10107) 1 year ago
Nam Vu cee1c4f63d
fix: Version '1:1.3.dfsg+really1.3.1-1' for 'zlib1g' was not found (#10096) 1 year ago
Yeuoly 6fd0a55b00
fix: correct dockerfile dependencies 1 year ago
Yeuoly bb58f5c6e5
fix: avoid None to be assigned to WorkflowToolProviderController as provider id 1 year ago
-LAN- e5397c5ec2
feat(app_dsl_service): enhance error handling and DSL version management (#10108) 1 year ago
非法操作 e36f5cb366
chore: save uploaded file extension as lower case (#10111) 1 year ago
-LAN- 8b9fed75f3
refactor(version): simplify version comparison logic (#10109) 1 year ago
非法操作 bd6175157c
feat: enhance comfyui workflow (#10085) 1 year ago
takatost 18edeb8e0a integrate model provider with plugin daemon 1 year ago
Bowen Liang 0bdae34b5e
improve: significantly speed up the server launching time by async preloading tool providers (#9146) 1 year ago
Charlie.Wei f6fecb957e
fix azure chatgpt o1 parameter error (#10067) 1 year ago
crazywoola 0a3d51e9cf
Revert "chore: improve validation and handler of logging timezone with TimezoneName" (#10077) 1 year ago
JasonVV 219f5d9845
Fixed the issue where recall the knowledge base in the iteration of the workflow and report errors when executing (#10060) 1 year ago
-LAN- 3b53e06e0d
fix(workflow): refine variable type checks in LLMNode (#10051) 1 year ago
Yeuoly 459cb9dd72
fix: transform plugin icon incorrect 1 year ago
zhuhao 92a3898540
fix: resolve the incorrect model name of hunyuan-standard-256k (#10052) 2 years ago
zhuhao 7433095240
chore: use dify_config.TIDB_SPEND_LIMIT instead of constant value (#10038) 2 years ago
郭伟伟 190b6a2aa6
feat: /conversations api response add 'update_at' field,and update api docs add sort_by parameter (#10043) 2 years ago
zhuhao 0095896051
feat: add YAML type in document extractor node (#9997) 2 years ago
Bowen Liang bab5c54219
chore: improve validation and handler of logging timezone with TimezoneName (#9595) 2 years ago
Jyong e74479717a
fix update_by_api batch field issue (#10001) 2 years ago
Jyong 9ebd453b87
add rerank check when doing mutil-retrieval (#9998) 2 years ago
ice yao 5ad5d0cff4
chore: Add aliyun oss tests (#10031) 2 years ago
非法操作 c7fb8a4f20
fix: conversation variable may not change in the answer node (#10034) 2 years ago
-LAN- eb87e690ed
fix(llm-node): handle NoneSegment variables properly (#9978) 2 years ago
Hiroshi Fujita 539fc8b760
Fix content-type header case sensitivity (#9961) 2 years ago
zhuhao c6e54c83c8
chore: add tidb-on-qdrant configuration in env and docker-compose file (#10015) 2 years ago
powerfool 878d13ef42
Added OceanBase as an option for the vector store in Dify (#10010) 2 years ago
Jyong 5580bcf870
add tidb spend limit config (#9999) 2 years ago
Yeuoly f9e2c738b0
fix: permission change api should not wraps a permission decorator 2 years ago
非法操作 12adcf8925
fix: gemini model use some tools raise error (#9993) 2 years ago
roadgoat19 c8ef9223e5
feat: couchbase integration (#6165)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Elliot Scribner <elliot.scribner@couchbase.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Bowen Liang <bowenliang@apache.org>
2 years ago
Yeuoly 739e15f88b
feat: support tool plugin id 2 years ago
非法操作 eb69896355
fix: allow external knowledge api use simple host (#9966) 2 years ago
ice yao 61ff2fd0f3
chore: Enable tencent cos test to run (#9971) 2 years ago
Jyong f47177ecb4
add top_k for es full text search (#9963) 2 years ago
-LAN- de57af46c0
chore: update version to 0.10.2 in packaging and docker configurations (#9924) 2 years ago
Jyong badf9baf9b
Fix/external api update (#9955) 2 years ago
-LAN- 4da0b70694
feat(http-request-executor): enhance file handling in HTTP requests (#9944) 2 years ago
Xiao Ley 7056009b6a
feat(tools): add Baidu translation tool (#9943) 2 years ago
非法操作 ddb960ddfb
feat: support Vectorizer can be used in workflow (#9932) 2 years ago
方程 0ebd985672
feat: add models for gitee.ai (#9490) 2 years ago