Commit Graph

2204 Commits (cac04c5f3caeefca28b6437f88a19dfd4e487bb5)

Author SHA1 Message Date
Nam Vu eaa7e9b1f0
fix: llm_generator.py JSONDecodeError (#8504) 2 years ago
Nam Vu 6e37750fbd
fix: commands.py (#8483) 2 years ago
omr 8fd297f8b4
fix: redundant check for available_document_count (#8491) 2 years ago
Nam Vu ddf6569dc5
chore: enhance configuration descriptions (#8624) 2 years ago
CXwudi 97895ec41a
chore: add Gemini newest experimental models (close #7121) (#8621) 2 years ago
sino 6d56d5c1f6
feat: support o1 series models for openrouter (#8358) 2 years ago
AAEE86 c9f1e18df1
Add model parameter translation (#8509)
Co-authored-by: swingchen01 <swings@126.com>
Co-authored-by: 陈长君 <chenchangjun@shuwen.com>
2 years ago
Waffle 740fad06c1
feat(tools/cogview): Updated cogview tool to support cogview-3 and the latest cogview-3-plus (#8382) 2 years ago
ice yao 0665268578
Add Fireworks AI as new model provider (#8428) 2 years ago
呆萌闷油瓶 c8b9bdebfe
feat:use xinference tts stream mode (#8616) 2 years ago
Shota Totsuka a587f0d3f1
docs: Add Japanese documentation for tools (#8469) 2 years ago
Hash Brown 8c51d06222
feat: regenerate in `Chat`, `agent` and `Chatflow` app (#7661) 2 years ago
Joe b32a7713e0
feat: update pyproject.toml (#8368) 2 years ago
zhuhao 831c5a93af
refactor(ops): Optimize the iteration for filter_none_values and use logging.error to record logs when an exception occurs (#8461) 2 years ago
AAEE86 1a8dcae10e
add Qwen custom add model interface (#8565) 2 years ago
Nam Vu 8219f9e090
fix: api/core/ops/ops_trace_manager.py (#8501) 2 years ago
AAEE86 5ddb601e43
add MixtralAI Model (#8517) 2 years ago
Hongbin 5541248264
Update the PerfXCloud provider model list,Update PerfXCloudProvider validate_provider_credentials method. (#8587)
Co-authored-by: xhb <466010723@qq.com>
2 years ago
方程 e75c33a561
Enhance Readme Documentation to Clarify the Importance of Celery Service (#8558) 2 years ago
takatost e0a3307563
fix(workflow): "Max submit count reached" error occurred when executing workflow as tool in iteration (#8595) 2 years ago
-LAN- 7f3282ec04
Update version to 0.8.3 in packaging and docker-compose files (#8590) 2 years ago
Qun 1583283635
ComfyUI tool use the new internal enumeration class "VariableKey" (#8533) 2 years ago
Su Yang c87f710d58
Fix: update qwen model and model config (#8584)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Su Yang 1568c5cae9
fix: fix qwen series model type (#8580) 2 years ago
MuYu a03919c3b3
feat: add hunyuan-vision (#8529) 2 years ago
Jyong d96f5ba1ca
add storage error log (#8556) 2 years ago
Su Yang d6de96c4b4
feat: sync Qwen API with Aliyun Bailian (#8538) 2 years ago
takatost ffd2f61dd9
fix: thread_pool submit count in parallel workflow not releasing (#8549) 2 years ago
takatost 54b9e1f6d1
fix: ci issues(missing duckduckgo-search==6.2.11, ruff lint issue) (#8543) 2 years ago
Wang Bo 6f222b49f2
refactor: rename task_type to task for jina embeddings v3 (#8488) 2 years ago
-LAN- 8dfe8c773a
chore: Deprecate gpt-3.5-turbo-0613 and gpt-3.5-turbo-16k-0613 models (#8500) 2 years ago
Qun cf645c3ba1
feat: Add ComfyUI tool for Stable Diffusion (#8160) 2 years ago
Xiao Ley 6dba68f62d
feat: Add base URL settings and secure_ascii options to the Brave search tool (#8463)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
非法操作 3d083b758f
feat: add flux dev of siliconflow image-gen tool (#8450) 2 years ago
takatost bf16de50fe
fix: internal error when tool authorization (#8449) 2 years ago
Jyong 7e611ffbf3
multi-retrival use dataset's top-k (#8416) 2 years ago
走在修行的大街上 72b7f8a949
Bugfix/fix feishu plugins (#8443)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
2 years ago
takatost 88c9834ef2
chore(workflow): Optimize the iteration when selecting a variable from a branch in the output variable causes iteration index err (#8440) 2 years ago
ybalbert001 b6ad7a1e06
Fix: https://github.com/langgenius/dify/issues/8190 (Update Model nam… (#8426)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2 years ago
Aaron Ji 6f7625fa47
chore: update Jina embedding model (#8376) 2 years ago
takatost f01602b570
fix(workflow): the answer node after the iteration node containing the answer was output prematurely (#8419) 2 years ago
HowardChan 0123498452
fix:logs and rm unused codes in CacheEmbedding (#8409) 2 years ago
swingchen01 f55e06d8bf
fix: resolve runtime error when self.folder is None (#8401)
Co-authored-by: 陈长君 <chenchangjun@shuwen.com>
2 years ago
ybalbert001 b613b11422
Fix: Support Bedrock cross region inference #8190 (Update Model name to distinguish between different region groups) (#8402)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2 years ago
Nam Vu bf55b1910f
fix: pyproject.toml typo (#8396) 2 years ago
crazywoola 71b4480c4a
fix: o1-mini 65563 -> 65536 (#8388) 2 years ago
Yeuoly b6b1057a18
fix: sandbox issue related httpx and requests (#8397) 2 years ago
Bowen Liang 5b98acde2f
chore: improve usage of striping prefix or suffix of string with Ruff 0.6.5 (#8392) 2 years ago
Bowen Liang aad6f340b3
fix (#8322 followup): resolve the violation of pylint rules (#8391) 2 years ago
Bowen Liang a1104ab97e
chore: refurish python code by applying Pylint linter rules (#8322) 2 years ago
xiandan-erizo 1ab81b4972
support hunyuan-turbo (#8372)
Co-authored-by: sunkesi <sunkesi@hosecloud.com>
2 years ago
非法操作 06b66216d7
chore: update firecrawl scrape to V1 api (#8367) 2 years ago
takatost cd3eaed335
fix(workflow): both parallel and single branch errors occur in if-else (#8378) 2 years ago
Joe 84ac5ccc8f
fix: add before send to remove langfuse defaultErrorResponse (#8361) 2 years ago
takatost 24af4b9313
fix: o1-series model encounters an error when the generate mode is blocking (#8363) 2 years ago
Bowen Liang 6613b8f2e0
chore: fix unnecessary string concatation in single line (#8311) 2 years ago
-LAN- 08c486452f
fix: score_threshold handling in vector search methods (#8356) 2 years ago
sino a45ac6ab98
fix: ark token usage is none (#8351) 2 years ago
-LAN- 80a322aaa2
chore: update version to 0.8.2 in packaging and docker-compose files (#8352) 2 years ago
Joe 82f7875a52
feat: add langfuse sentry ignore error (#8353) 2 years ago
takatost 4637ddaa7f
feat: add o1-series models support in Agent App (ReACT only) (#8350) 2 years ago
fanlia 5f03e66489
Feature/service api workflow logs (#8323) 2 years ago
Jyong 49cee773c5
fixed score threshold is none (#8342) 2 years ago
-LAN- c78828ab7c
chore: update Dify version to 0.8.1 (#8329) 2 years ago
takatost e90d3c29ab
feat: add OpenAI o1 series models support (#8328) 2 years ago
Nam Vu 153807f243
fix: response_format label (#8326) 2 years ago
Ikko Eltociear Ashimine 5db0b56c5b
docs: update lambda_translate_utils.yaml (#8293) 2 years ago
Tamer 404db1ae5b
Fix VariableEntityType Bug external-data-tool -> external_data_tool (#8299) 2 years ago
呆萌闷油瓶 02c4b1af71
chore:add Azure openai api version 2024-08-01-preview (#8291) 2 years ago
ybalbert001 d4985fb3aa
Fix: Support Bedrock cross region inference [#8190](https://github.com/langgenius/dify/issues/8190) (#8317) 2 years ago
Bowen Liang 8815511ccb
chore: apply flake8-pytest-style linter rules (#8307) 2 years ago
Bowen Liang 40fb4d16ef
chore: refurbish Python code by applying refurb linter rules (#8296) 2 years ago
Bowen Liang c69f5b07ba
chore: apply ruff E501 line-too-long linter rule (#8275)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
takatost 56c90e212a
fix(workflow): missing content in the answer node stream output during iterations (#8292)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 0f14873255
chore: cleanup ruff flake8-simplify linter rules (#8286)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 781d294f49
chore: cleanup pycodestyle E rules (#8269) 2 years ago
yalei f515af2232
let claude models in bedrock support the response_format parameter (#8220)
Co-authored-by: duyalei <>
2 years ago
crazywoola 4d2cd6703b
chore: remove useless code (#8198) 2 years ago
Bowen Liang 292220c596
chore: apply pep8-naming rules for naming convention (#8261) 2 years ago
HowardChan 53f37a6704
fix:ollama text embedding 500 error (#8252) 2 years ago
Leo.Wang 75c1a82556
Update Gitlab query field, add query by path (#8244) 2 years ago
Jason Tan c5b3777d93
editor can also create api key (#8214) 2 years ago
Nam Vu 342607f4a4
fix: truthy value (#8208) 2 years ago
takatost 5f4cdd66fa
fix(workflow): IF-ELSE nodes connected to the same subsequent node cause execution to stop (#8247) 2 years ago
HowardChan 82c42b9ec5
fix:error when adding the ollama embedding model (#8236)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
takatost cee0c51dbb
feat: add from_variable_selector for stream chunk / message event (#8228) 2 years ago
takatost fdbbdb706f
fix(workflow): answers are output simultaneously across different braches in the question classifier node. (#8225) 2 years ago
takatost f6dfe23cf8
fix(workflow): in multi-parallel execution with multiple conditional branches (#8221) 2 years ago
Jyong bb3002b173
revert page column (#8217) 2 years ago
Bowen Liang d109881410
chore(api/models): apply ruff reformatting (#7600)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 2cf1187b32
chore(api/core): apply ruff reformatting (#7624) 2 years ago
takatost dabfd74622
feat: Parallel Execution of Nodes in Workflows (#8192)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: Yi <yxiaoisme@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
-LAN- ed37439ef7
refactor(api/core): Improve type hints and apply ruff formatter in agent runner and model manager. (#8166) 2 years ago
Jyong af92f19291
filter excel empty sheet (#8194) 2 years ago
zhuhao 86f7f245e4
fix: The length of the tag should between 1 and 50 (#8187) (#8188) 2 years ago
Jyong 2d690801d1
nvidia rerank top n missed (#8185) 2 years ago
Nam Vu fede54be77
fix: Version '2.6.2-2' for 'expat' was not found (#8182) 2 years ago
Jyong 85ff82a694
code merge error (#8183)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
ice yao c8df92d0eb
add volcengine tos storage (#8164) 2 years ago
-LAN- 4313d92e6b
feat(api/core/model_runtime/entities/defaults.py): Add TOP_K in default parameters. (#8167) 2 years ago
Nam Vu 0695543f63
Fix variable typo (cont) (#8161) 2 years ago
crazywoola 0bec6a037c
update qwen-long (#8157) 2 years ago
AAEE86 fa34b9aed6
Modify model parameters in Spark LLMs and zhipuai LLMs (#8078)
Co-authored-by: Charlie.Wei <luowei@cvte.com>
2 years ago
crazywoola a27d4d58ec
fix: ollama text embedding 500 error (#8131) 2 years ago
邹成卓 a15791e788
Fix: tongyi code wrapper works not stable (#7871)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
ybalbert001 954580a4af
feat: support more model types and builtin tools on aws/sagemaker (#8061)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2 years ago
crazywoola ab7d79275e
fix: Claude can not validate credientials (#8109) 2 years ago
呆萌闷油瓶 d28446301f
feat:add fishaudio in xinference (#8100) 2 years ago
Charlie.Wei feefeb44d7
fix LangSmith project config error (#7996) 2 years ago
Zhi d542b15cc0
feat: support redis sentinel mode (#7756) 2 years ago
Nam Vu 2d7954c7da
Fix variable typo (#8084) 2 years ago
AAEE86 0cef25ef8c
Revert "fix: parameter rule" (#8070) 2 years ago
crazywoola 900fd82a92
fix: parameter rule (#8064) 2 years ago
crazywoola 44f963f281
If else add regexmatch (#8059)
Co-authored-by: 罗威 <luowei@cvte.com>
2 years ago
Charlie.Wei 01858e1caf
ifEsle node add regex match (#8007) 2 years ago
ChengZi 2060db8e11
fix: change milvus init args from (host, port) to (url, token) (#8019)
Signed-off-by: ChengZi <chen.zhang@zilliz.com>
2 years ago
Nam Vu 9ded063417
chore: #7348, support query conversations by updated_at (#8047) 2 years ago
tmuife 89aede80cc
Add OCI(Oracle Cloud Infrastructure) Generative AI Service as a Model Provider (#7775)
Co-authored-by: Walter Jin <jinshuhaicc@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: walter from vm <walter.jin@oracle.com>
2 years ago
zhuhao e0d3cd91c6
support huawei cloud obs storage (#7980) (#7981) 2 years ago
Byeongjin Kang d489b8b3e0
feat: return page number of pdf documents upon retrieval (#7749) 2 years ago
Leng Yue bd0992275c
feat: support fish audio TTS (#7982) 2 years ago
非法操作 3e7597f2bd
feat: add gpt-4o-2024-08-06 and json_schema for azure openAI service (#7648) 2 years ago
Jyong 0e71f6db84
fix spliter length missed (#7987) 2 years ago
wochuideng f6b9982c23
Concurrent calls to the Wenxin model, and the exception problem when obtaining the token is fixed (#7976)
Co-authored-by: puqs1 <puqs1@lenovo.com>
2 years ago
Jyong 15791510c8
fix wrong error message (#7972) 2 years ago
非法操作 0f72a8e89d
chore: refactor the beichuan model (#7953) 2 years ago
KVOJJJin 14af87527f
Feat:remove estimation of embedding cost (#7950)
Co-authored-by: jyong <718720800@qq.com>
2 years ago
呆萌闷油瓶 83494cb4f5
fix:empty voice occurs when xinference CosyVoice tts model (#7958) 2 years ago
Sumkor 571415d1a4
fix: split text keep separator (#7930) 2 years ago
Joe fee4d3f6ca
feat: ops trace add llm model (#7306) 2 years ago
takatost 161cc0cda9
Revert "fix: an issue of keyword search feature in application log list" (#7949) 2 years ago
陳鈞 80d14c9b22
fix(api): Code-Based Extension cause error on position map sorting (#7934)
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2 years ago
crazywoola 596f160a1e
Chore/add default step 1x url (#7933) 2 years ago
Jyong d8b6c053a2
fix rerank model value is empty string (#7937) 2 years ago
Jyong 1a5116cba0
Fix/segment create with api (#7928) 2 years ago
Jyong 01581dd35f
improve the notion table extract (#7925) 2 years ago
-LAN- 8986be0aab
chore: Update versions to 0.7.3 (#7895) 2 years ago
-LAN- f76bbbf5e6
chore(Dockerfile): Bump expat to 2.6.2-2 (#7904) 2 years ago
kurokobo 80aa7c4019
feat: allow users to use the app icon as the answer icon (#7888)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
Jyong 6f33351eb3
ignore linked images when image id is none (#7890) 2 years ago
Fei He a8b9e01b3e
fix: fixed typo on loading reranking_mode (#7887) 2 years ago
Joshua 7193e189f3
Add perplexity search as a new tool (#7861) 2 years ago
orangeclk 3f2a806abe
fix: glm models prices and max_tokens correction (#7882) 2 years ago
omr bf63c5d1e3
fix typo: langauge -> language (#7875) 2 years ago
Seayon 78989e9049
Add ALIYUN_OSS_PATH configuration for Aliyun OSS (#7864)
Co-authored-by: seayon <zhaoxuyang@shouqianba.com>
2 years ago
sino 1f56a20b62
feat: support auth by api key for ark provider (#7845) 2 years ago
Bowen Liang 0c2a62f847
fix: correct http timeout configs‘ default values and ignorance by HttpRequestNode (#7762) 2 years ago
Ethan ea748b50f2
fix: an issue of keyword search feature in application log list (#7816) 2 years ago
Zhi ceb2b150ff
enhance: include workspace name in create-tenant command (#7834) 2 years ago
非法操作 dc015c380a
feat: add zhipu glm_4_plus and glm_4v_plus model (#7824) 2 years ago
YidaHu bd6d4d0553
fix: filter out installed apps without an app (#7799) 2 years ago
hisir f0273f00e1
Fixed when testing the openai compatible interface model, an error is reported when no object is returned (#7808) 2 years ago
Yeuoly 962cdbbebd
chore: add app generator overload (#7792) 2 years ago
Jyong 8e311cc45c
fixed permission is None (#7788) 2 years ago
crazywoola c441bea4d1
fix: datasets permission is missing (#7787) 2 years ago
takatost 0e0a703496
chore: ignore openai error record in sentry (#7770) 2 years ago
Garfield Dai 54b693d5b1
feat: update saas billing hint. (#7760) 2 years ago
Bowen Liang 1262277714
chore: improve http executor configs (#7730) 2 years ago
zhuhao 26abbe8e5b
feat(Tools): add a tool to query the stock price from Alpha Vantage (#7019) (#7752) 2 years ago
Leheng Lu 5d0914daea
fix: not able to pass array of string/number/object into variable aggregator groups (#7757) 2 years ago
crazywoola 3a071b8db9
fix: datasets permission is missing (#7751) 2 years ago
snickerjp 9342b4b951
Update package "libldap-2.5-0" for docker build. (#7726) 2 years ago
Vimpas 4682e0ac7c
fix(storage): 🐛 HeadBucket Operation Permission (#7733)
Co-authored-by: 莫岳恒 <moyueheng@datagrand.com>
2 years ago
sino 7cfebffbb8
chore: update default endpoint for ark provider (#7741) 2 years ago
kurokobo bc3a8e0ca2
feat: store created_by and updated_by for apps, modelconfigs, and sites (#7613) 2 years ago
Jiakun Xu e38334cfd2
fix: doc_language return null when document segment settings (#7719) 2 years ago
走在修行的大街上 92cab33b73
feat(Tools): add feishu document and message plugins (#6435)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
2 years ago
Bowen Liang 3f467613fc
feat: support configs for code execution request (#7704) 2 years ago
crazywoola da326baa5e
fix: tongyi Error: 'NoneType' object is not subscriptable (#7705) 2 years ago
Jyong 60001a62c4
fixed chunk_overlap is None (#7703) 2 years ago
sino ee7d5e7206
feat: support Moonshot and GLM models tool call for volc ark provider (#7666) 2 years ago
呆萌闷油瓶 2726fb3d5d
feat:dailymessages (#7603) 2 years ago
kurokobo d7aa4076c9
feat: display account name on the logs page for the apps (#7668)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 years ago
Kenn 122ce41020
feat: rewrite Elasticsearch index and search code to achieve Elasticsearch vector and full-text search (#7641)
Co-authored-by: haokai <haokai@shuwen.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Bowen Liang <bowenliang@apache.org>
Co-authored-by: wellCh4n <wellCh4n@foxmail.com>
2 years ago
Charlie.Wei e7afee1176
Langfuse view button (#7684) 2 years ago
Bowen Liang a15080a1d7
bug: (#7586 followup) fix config of CODE_MAX_STRING_LENGTH (#7683) 2 years ago
Jyong 35431bce0d
fix dataset_id and index_node_id idx missed in document_segments tabl… (#7681) 2 years ago
Hélio Lúcio 7b7576ad55
Add Azure AI Studio as provider (#7549)
Co-authored-by: Hélio Lúcio <canais.hlucio@voegol.com.br>
2 years ago
Qin Liu 162faee4f2
fix: set score_threshold to zero if it is None for MyScale vectordb (#7640)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 years ago
Zhi b7ff98d7ff
fix: Remove useless debug information. (#7647) 2 years ago
-LAN- 0474f0c906
chore: Update version to 0.7.2 (#7646) 2 years ago
Shota Totsuka 430e100142
refactor: Add @staticmethod decorator in `api/core` (#7652) 2 years ago
Jyong 1473083a41
catch openai rate limit error (#7658) 2 years ago
代君 7c2bb31a55
[fix] openai's tool role dose not support name parameter. (#7659) 2 years ago
非法操作 ba82023445
fix: support float type for tool parameter's default value (#7644) 2 years ago
-LAN- 13be84e4d4
chore(api/controllers): Apply Ruff Formatter. (#7645) 2 years ago
Jyong 7ae728a9a3
fix nltk averaged_perceptron_tagger download and fix score limit is none (#7582)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 years ago
pinsily a7743a4f47
add:save_model_credentials error log (#7630) 2 years ago
Zhi 103ff28530
feat: speed up the Docker build for dify-api for Chinese developers. (#7626) 2 years ago
Zhi 8dfdb37de3
fix: use LOG_LEVEL for celery startup (#7628) 2 years ago
Bowen Liang 17fd773a30
chore(api/services): apply ruff reformatting (#7599)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 979422cdc6
chore(api/tasks): apply ruff reformatting (#7594) 2 years ago
Joe 741c548f3c
feat: web sso (#7135) 2 years ago
非法操作 556f4ad5df
feat: add siliconflow text2img tool (#7612) 2 years ago
Seayon 561a61e7fe
Improve MIME type detection for image URLs (#6531)
Co-authored-by: seayon <zhaoxuyang@shouqianba.com>
2 years ago
Shota Totsuka 47919983bf
fix: typo in comment (#7606) 2 years ago
sino efc136cce5
feat: Introduce Ark SDK v3 and ensure compatibility with models of SDK v2 (#7579)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
Bowen Liang b035c02f78
chore(api/tests): apply ruff reformat #7590 (#7591)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 2da63654e5
chore(api/configs): apply ruff reformat (#7590) 2 years ago
Bowen Liang 3ace01cfb3
chore: cleanup and rearrange unclassified configs into feature config groups (#7586) 2 years ago