Commit Graph

1898 Commits (031c2ad89912827fe1003dd4ebe4947c97bdbfca)

Author SHA1 Message Date
Novice f414d241c1
Feat/iteration single run time (#10512) 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
-LAN- 172c7eb270
fix(file_upload): correct validation method and add unit tests (#10477) 1 year ago
-LAN- bf31a3efbc
feat(workflow-nodes): handle missing variables without failure (#10471) 1 year ago
-LAN- 25ca0278dd
refactor(core): Remove extra_config from File. (#10203) 1 year ago
非法操作 7903ba0297
chore: make comfy workflow can generate image with a random seed (#10462) 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
Joel a9de7f24a2 merge main 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 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
Bowen Liang 574c4a264f
chore(lint): Use logging.exception instead of logging.error (#10415) 1 year ago
走在修行的大街上 f562a88249
feat(Tools): add lark tools (#10117)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
1 year ago
-LAN- 6aa2af215b refactor(iteration): introduce specific exceptions for iteration errors (#10366) 1 year ago
-LAN- 598d307afd refactor(knowledge-retrieval): improve error handling with custom exceptions (#10385) 1 year ago
-LAN- 39fdcfd7e9 refactor(tool-node): introduce specific exceptions for tool node errors (#10357) 1 year ago
-LAN- 47f638e5aa refactor(question_classifier): improve error handling with custom exceptions (#10365) 1 year ago
Matsuda 9143d460fa fix(model_runtime): remove vision from features for Claude 3.5 Haiku (#10360) 1 year ago
Infinitnet c0ff0cf7cf fix: remove unsupported vision in OpenRouter Haiku 3.5 (#10364) 1 year ago
Bowen Liang 0d74466f45 chore: lazy import sagemaker (#10342) 1 year ago
方程 7a217534d1 Gitee AI tools (#10314) 1 year ago
Summer-Gu a9ed0f0b42 feat: The SSRF request timeout configuration item is added (#10292) 1 year ago
Infinitnet 545d2b2622 feat: add support for anthropic/claude-3-5-haiku through OpenRouter (#10331) 1 year ago
Benjamin f114da4e81 feat(vannaai): add base_url configuration (#10294) 1 year ago
非法操作 1277941821 fix: special prompt not work for comfyUI tool (#10307) 1 year ago
-LAN- 13b7e18a50 fix(http_request): improve parameter initialization and reorganize tests (#10297) 1 year ago
pinsily 781e8e1a4a fix: handle KeyError when accessing rules in CleanProcessor.clean (#10258) 1 year ago
非法操作 6b51e81de1 feat: add xAI model provider (#10272) 1 year ago
Matsuda 736719745c feat(model_runtime): add new model 'claude-3-5-haiku-20241022' (#10285) 1 year ago
Matsuda e0e4a6f819 fix(model_runtime): fix wrong max_tokens for Claude 3.5 Haiku on Amazon Bedrock (#10286) 1 year ago
-LAN- 52eb18937e fix(node): correct file property name in function switch (#10284) 1 year ago
Novice baaa3ae02c feat: Iteration node support parallel mode (#9493) 1 year ago
-LAN- 93e9aeb4e9 feat(document_extractor): support tool file in document extractor (#10217) 1 year ago
Matsuda 391ad7734e feat: support Claude 3.5 Haiku on Amazon Bedrock (#10265) 1 year ago
-LAN- c5422af400 refactor(parameter_extractor): implement custom error classes (#10260) 1 year ago
guogeer 65a04ee0be fix: buitin tool aippt (#10234)
Co-authored-by: jinqi.guo <jinqi.guo@ubtrobot.com>
1 year ago
-LAN- 84c35aef6c fix(validation): allow to use 0 in the inputs form (#10255) 1 year ago
方程 cd0f10567f Using a dedicated interface to obtain the token credential for the gitee.ai provider (#10243) 1 year ago
-LAN- 454b755c6b feat(workflow): add configurable workflow file upload limit (#10176)
Co-authored-by: JzoNg <jzongcode@gmail.com>
1 year ago
-LAN- 181eb6038f refactor(list_operator): replace ValueError with InvalidKeyError (#10222) 1 year ago
-LAN- c32cbeb29a refactor(workflow): introduce specific error handling for LLM nodes (#10221) 1 year ago
-LAN- 62f8c875c8 refactor(http_request): add custom exception handling for HTTP request nodes (#10219) 1 year ago
-LAN- baed53bbfa refactor(workflow): introduce specific exceptions for code validation (#10218) 1 year ago
-LAN- 565a0d992a chore(llm_node): remove unnecessary type ignore for context assignment (#10216) 1 year ago
Jyong e90a06a7b7 fix the ssrf of docx file extractor external images (#10237) 1 year ago
Jiang 31445c3782 Add Lindorm as a VDB choice (#10202)
Co-authored-by: jiangzhijie <jiangzhijie.jzj@alibaba-inc.com>
1 year ago
-LAN- e259b360c2 refactor(validation): improve input validation logic (#10175) 1 year ago
-LAN- 762dec2dc4 chore(list_operator): refine exception handling for error specificity (#10206) 1 year ago
-LAN- ada7f5c30f fix(document_extractor): update base exception class (#10208) 1 year ago
Xiao Ley ea67bc1166 chore: enable vision support for models in OpenRouter that should have supported vision (#10191) 1 year ago
-LAN- 101d9798f0 feat(document_extractor): integrate unstructured API for PPTX extraction (#10180) 1 year ago
-LAN- ba48754be6 fix(tools): suppress RuntimeWarnings in podcast audio generator (#10182) 1 year ago
Lawrence Li 6e03c10285 feat: add gpustack model provider (#10158) 1 year ago
-LAN- 8f14c422a7 refactor(tools): Avoid warnings. (#10161) 1 year ago
Jyong 1d411e195a clean un-allowed special charters when doing indexing estimate (#10153) 1 year ago
larcane97 8f8a3f4318 Add VESSL AI OpenAI API-compatible model provider and LLM model (#9474)
Co-authored-by: moon <moon@vessl.ai>
1 year ago
Coal Pigeon 94cd4912e1 add llm: ernie-4.0-turbo-128k of wenxin (#10135)
Co-authored-by: Pigeon姚宏锋 <pigeon.yhf@galaxyoversea.com>
1 year ago
Shili Cao 602f75bb30 fix: avoid unexpected error when create knowledge base with baidu vector database and wenxin embedding model (#10130) 1 year ago
llinvokerl c2810de952 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 1b645c1cc9 fix issue: query is none when doing retrieval (#10129) 1 year ago
omr b1946c60d8 fix: optimize unique document filtering with set (#10082) 1 year ago
非法操作 9f27b5bb12 feat: enhance comfyui workflow (#10085) 1 year ago
Bowen Liang a0abd5d077 improve: significantly speed up the server launching time by async preloading tool providers (#9146) 1 year ago
Charlie.Wei 924dbc128d fix azure chatgpt o1 parameter error (#10067) 1 year ago
-LAN- 4b8896e034 fix(workflow): refine variable type checks in LLMNode (#10051) 1 year ago
zhuhao 0886c6f224 fix: resolve the incorrect model name of hunyuan-standard-256k (#10052) 1 year ago
zhuhao 1ee4c13758 chore: use dify_config.TIDB_SPEND_LIMIT instead of constant value (#10038) 1 year ago
zhuhao 4d5752fc94 feat: add YAML type in document extractor node (#9997) 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
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
Bowen Liang d45d90e8ae
chore: lazy import sagemaker (#10342) 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
非法操作 d92e3bd620
fix: special prompt not work for comfyUI tool (#10307) 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- 08c731fd84
fix(node): correct file property name in function switch (#10284) 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
方程 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- 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
Lawrence Li 76b0328eb1
feat: add gpustack model provider (#10158) 1 year ago
-LAN- 3c85136279
refactor(tools): Avoid warnings. (#10161) 1 year ago
Jyong 82033af097
clean un-allowed special charters when doing indexing estimate (#10153) 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
omr 11ca1bec0b
fix: optimize unique document filtering with set (#10082) 1 year ago
非法操作 bd6175157c
feat: enhance comfyui workflow (#10085) 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
-LAN- 3b53e06e0d
fix(workflow): refine variable type checks in LLMNode (#10051) 1 year ago
zhuhao 92a3898540
fix: resolve the incorrect model name of hunyuan-standard-256k (#10052) 1 year ago
zhuhao 7433095240
chore: use dify_config.TIDB_SPEND_LIMIT instead of constant value (#10038) 1 year ago
zhuhao 0095896051
feat: add YAML type in document extractor node (#9997) 1 year ago
StyleZhang 0f4291bd36 merge main 1 year ago
Jyong 9ebd453b87
add rerank check when doing mutil-retrieval (#9998) 1 year ago
非法操作 c7fb8a4f20
fix: conversation variable may not change in the answer node (#10034) 1 year ago
-LAN- eb87e690ed
fix(llm-node): handle NoneSegment variables properly (#9978) 1 year ago
Hiroshi Fujita 539fc8b760
Fix content-type header case sensitivity (#9961) 1 year ago
powerfool 878d13ef42
Added OceanBase as an option for the vector store in Dify (#10010) 1 year ago
Jyong 5580bcf870
add tidb spend limit config (#9999) 1 year ago
非法操作 12adcf8925
fix: gemini model use some tools raise error (#9993) 1 year 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>
1 year ago
Jyong f47177ecb4
add top_k for es full text search (#9963) 1 year ago
-LAN- 4da0b70694
feat(http-request-executor): enhance file handling in HTTP requests (#9944) 1 year ago
Xiao Ley 7056009b6a
feat(tools): add Baidu translation tool (#9943) 1 year ago
非法操作 ddb960ddfb
feat: support Vectorizer can be used in workflow (#9932) 1 year ago
方程 0ebd985672
feat: add models for gitee.ai (#9490) 1 year ago
Joel 0cec6195a3 test 1 year ago
Joel 765eb282f3 merge main 1 year ago
zhuhao aa11141660
feat: add stable-diffusion-3-5-large for the text-to-image tool with siliconflow (#9909) 1 year ago
zhuhao 8bb5b943d7
fix(tools): remove the undefined variable parameter_type (#9908) 1 year ago
ice yao 22776f24ab
chore: Extract common functions of the base model in Azure OpenAI Provider (#9907) 1 year ago
Zixuan Cheng 216442ddc1
feat(workflow): Support JSON type in document extractor node (#9899)
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 72ea3d6b98
fix(workflow): Take back LLM streaming output after IF-ELSE (#9875) 1 year ago
virgosoy 17cacf258e
fix: wrong element object (#9868) 1 year ago
非法操作 ace7ffab5f
feat: support comfyui workflow tool image generate image (#9871) 1 year ago
非法操作 1b5adf40da
fix: moonshot response_format raise error (#9847) 1 year ago
Jyong 18106a4fc6
add tidb on qdrant type (#9831)
Co-authored-by: Zhaofeng Miao <522856232@qq.com>
1 year ago
Joel 3e011109ad merge main 1 year ago
Joel bdb990eb90 merge main 1 year ago
crazywoola 5b7b765090
fix: yuque book id should be string (#9819) 1 year ago
非法操作 ac9f1e9de5
fix: duckduckgo image search not work (#9821) 1 year ago
非法操作 2346b0ab99
chore: make doc extractor node also can extract text by file extension (#9543) 1 year ago
Zixuan Cheng 88dec6ef2b
Added description for .ppt, specify the reason for unstructured.io (#9452)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
guogeer 70ddc0ce43
openai compatiable api usage and id (#9800)
Co-authored-by: jinqi.guo <jinqi.guo@ubtrobot.com>
1 year ago
非法操作 e2710161f6
fix: chart tool can't display chinese (#9686) 1 year ago
Jyong 5f11fe521d
remove unstructured pdf extract (#9794) 1 year ago
-LAN- d018b32d0b
fix(workflow): enhance prompt handling with vision support (#9790) 1 year ago
luckylhb90 400392230b
fixed: variable reference error (#9722)
Co-authored-by: hobo.l <hobo.l@binance.com>
1 year ago
-LAN- e11d5ac708
feat(model_runtime): add new model 'claude-3-5-sonnet-20241022' (#9708) 1 year ago
Jyong 3e9d271b52
nltk security issue and upgrade unstructured (#9558) 1 year ago
Pan, Wen-Ming ecc8beef3f
feat: added claude 3.5 sonnet v2 model to Google Cloud Vertex AI (#9688) 1 year ago
ybalbert001 4989d0c904
add bedrock claude 3.5 v2 support (#9685)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
1 year ago
-LAN- 9a5bdae07f
feat(condition): add support for 'exists' and 'not exists' operators (#9687) 1 year ago
ice yao ceb2c4f3ef
chore: reuse existing test functions with upstash vdb (#9679) 1 year ago
-LAN- d5a93a6400
fix(variable_pool): handle invalid attributes in variable lookup (#9646) 1 year ago
Zven 8e7a752b2a
feat: add upstash as a new vector database provider (#9644) 1 year ago
feiyang_deepnova 999d3f1539
fix: add downstream nodes of this branch (#9640) 1 year ago
Kota-Yamaguchi a7ee51e5d8
feat: add code generator (#9051)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
1 year ago
走在修行的大街上 a9db06f5e7
feat(Tools): Refactor the base table plugin (#9182)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
1 year ago
-LAN- 5267f34e76
fix(segments): return empty string instead of "null" for text, log, and markdown properties (#9651) 1 year ago
-LAN- 36f66d40e5
refactor(api): simplify limit retrieval and return types (#9641) 1 year ago
非法操作 5f12616cb9
fix: file type document is not supported (#9618) 1 year ago
-LAN- 7263af13ed
fix(http_request): simplify JSON handling in requests (#9616) 1 year ago
zhuhao d992a809f5
fix: update the default model to gpt-4o-mini for duckduckgo ai chat (#9614) 1 year ago
-LAN- 5f12c17355
fix(core): use CreatedByRole enum for role consistency (#9607) 1 year ago
Bowen Liang 4d9160ca9f
refactor: use dify_config to replace legacy usage of flask app's config (#9089) 1 year ago
-LAN- 8f670f31b8
refactor(variables): replace deprecated 'get_any' with 'get' method (#9584) 1 year ago
-LAN- 5838345f48
fix(entities): add validator for `VisionConfig` to handle None values (#9598) 1 year ago
-LAN- ac24300274
refactor(template_transform): use keyword-only arguments (#9575) 1 year ago
-LAN- 2e657b7b12
fix(workflow): handle NoneSegments in variable extraction (#9585) 1 year ago
-LAN- c063617553
fix(workflow): improve database session handling and variable management (#9581) 1 year ago
-LAN- 38a4f0234d
fix(http_request): handle empty and string data inputs (#9579) 1 year ago
-LAN- 740a723072
fix(validation): improve variable handling and validation (#9578) 1 year ago
-LAN- 4ae0bb83f1
fix(file upload): correct upload method key for image config (#9568) 1 year ago
-LAN- 5459d812e7
fix(iteration): handle empty iterator gracefully (#9565) 1 year ago
-LAN- faad247d85
fix(upload): correct incorrect dictionary key usage (#9563) 1 year ago
ice yao 1e829ceaf3
chore: format get_customizable_model_schema return value (#9335) 1 year ago
AAEE86 9b32bfb3db
feat: Updata tongyi models (#9552) 1 year ago