Commit Graph

1620 Commits (b61baa87ecb82383fb06885d094d2d58d0823ca0)

Author SHA1 Message Date
omr 2deaece7e2
refactor: remove unnecessary comment (#8949) 2 years ago
CXwudi 0d84221b2c
chore: sort Gemini models (#8951) 2 years ago
CXwudi cdd7e55a88
chore: add missing models from Voyage (#8950) 2 years ago
Jyong 625e4c4c72
fix multiple retrieval in knowledge node (#8942) 2 years ago
Aurelius Huang 4585cffce1
fix: Compatible with special characters in pg full-text search. (#8921)
Co-authored-by: Aurelius Huang <cm.huang@aftership.com>
2 years ago
Jyong 9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
2 years ago
zhuhao 77aef9ff1d
refactor: optimize the calculation of rerank threshold and the logic for forbidden characters in model_uid (#8879) 2 years ago
zhuhao 503561f464
fix: fix the data validation consistency issue in keyword content review (#8908) 2 years ago
-LAN- ada9d408ac
refactor(api/variables): VariableError as a ValueError. (#8554) 2 years ago
Zhaofeng Miao 369e1e6f58
feat(website-crawl): add jina reader as additional alternative for website crawling (#8761) 2 years ago
zhuhao fb49413a41
feat: add voyage ai as a new model provider (#8747) 2 years ago
zhuhao 42dfde6546
docs: add english versions for the files customizable_model_scale_out and predefined_model_scale_out (#8871) 2 years ago
chenxu9741 c531b4a911
fix: #8843 event: tts_message_end always return in api streaming resp… (#8846) 2 years ago
longzhihun e4ed916baa
Add Jamba and Llama3.2 model support (#8878) 2 years ago
Bowen Liang 74f58f29f9
chore: bump ruff to 0.6.8 for fixing violation in SIM910 (#8869) 2 years ago
zhuhao f97607370a
refactor: update Callback to an abstract class (#8868) 2 years ago
zhuhao 850492dafa
feat: deprecate gte-Qwen2-7B-instruct embedding model (#8866) 2 years ago
zhuhao 61c89a9168
feat: add internlm2.5-20b and qwen2.5-coder-7b model (#8862) 2 years ago
takatost 49af18fbd6
fix: customize model credentials were invalid despite the provider credentials being active (#8864) 2 years ago
zhuhao 6cd22f3bca
fix: update qwen2.5-coder-7b model name (#8861) 2 years ago
ice yao 27e33fb15c
chore: fix wrong VectorType match case (#8857) 2 years ago
zhuhao 55e6123db9
feat: add min-connection and max-connection for pgvector (#8841) 2 years ago
走在修行的大街上 c828a5dfdf
feat(Tools): add feishu tools (#8800)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
2 years ago
CXwudi 0603359e2d
fix: delete harm catalog settings for gemini (#8829) 2 years ago
HowardChan bb781764b8
Add Llama3.2 models in Groq provider (#8831) 2 years ago
zhuhao 29275c7447
feat: deprecate mistral model for siliconflow (#8828) 2 years ago
8bitpd 4c1063e1c5
fix: AnalyticdbVector retrieval scores (#8803) 2 years ago
Shai Perednik a36117e12d
Updated the YouTube channel to Dify's (#8817) 2 years ago
CXwudi e5efd09ebb
chore: massive update of the Gemini models based on latest documentation (#8822) 2 years ago
wenmeng zhou ecc951609d
add more detailed doc for models of qwen series (#8799)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
ice yao 063474f408
Add llama3.2 model in fireworks provider (#8809) 2 years ago
AAEE86 9a4b53a212
feat: add stream for Gemini (#8678) 2 years ago
AAEE86 03edfbe6f5
feat: add qwen to add custom model parameters (#8759) 2 years ago
zhuhao 008e0efeb0
refactor: update delete method as an abstract method (#8794) 2 years ago
cx 128a66f7fe
fix: Ollama modelfeature set vision, and an exception occurred at the… (#8783) 2 years ago
非法操作 d1173a69f8
fix: the Image-1X tool (#8787) 2 years ago
Shenghang Tsai a0b0809b1c
Add more models for SiliconFlow (#8779) 2 years ago
Aaron Ji 4c9ef6e830
fix: update usage for Jina Embeddings v3 (#8771) 2 years ago
非法操作 0c96f0aa51
fix: credential *** should be string (#8785) 2 years ago
zhuhao ac73763726
chore: add input_type param desc for the _invoke method of text_embedding (#8778) 2 years ago
非法操作 5ba19d64e9
fix: TavilySearch tool get api link (#8780) 2 years ago
Qun fefbc43fb0
chore: fix comfyui tool doc url (#8775) 2 years ago
Pan, Wen-Ming 02ff6cca70
feat: add support for Vertex AI Gemini 1.5 002 and experimental models (#8767) 2 years ago
cherryhuahua d0e0111f88
fix:Spark's large language model token calculation error #7911 (#8755) 2 years ago
crazywoola bf64ff215b
fix: . is missing in file_extension (#8736) 2 years ago
ybalbert001 68c7e68a8a
Fix Issue: switch LLM of SageMaker endpoint doesn't take effect (#8737)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2 years ago
ice yao 91f70d0bd9
Add embedding models in fireworks provider (#8728) 2 years ago
Jyong 4669eb24be
add embedding input type parameter (#8724) 2 years ago
Sa Zhang debe5953a8
Fix/update jina ai products labels and descriptions (#8730)
Co-authored-by: sa zhang <sa.zhang@jina.ai>
2 years ago
Shota Totsuka 1c7877b048
fix: remove harm category setting from vertex ai (#8721) 2 years ago
ice yao 64baedb484
fix: update nomic model provider token calculation (#8705) 2 years ago
Benjamin 4638f99aaa
fix: change model provider name issue Ref #8691 (#8710) 2 years ago
AAEE86 aebe5fc68c
fix: Remove unsupported parameters in qwen model (#8699) 2 years ago
zhuhao 1ecf70dca0
feat: add mixedbread as a new model provider (#8523) 2 years ago
ybalbert001 7c485f8bb8
fix llm integration problem: It doesn't work on docker env (#8701)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2 years ago
themanforfree 21e9608b23
feat: add xinference sd web ui api tool (#8385)
Signed-off-by: themanforfree <themanforfree@gmail.com>
2 years ago
Sa Zhang 7f1b028840
fix: change the brand name to Jina AI (#8691)
Co-authored-by: sa zhang <sa.zhang@jina.ai>
2 years ago
Nam Vu bef83a4d2e
fix: typos and improve naming conventions: (#8687) 2 years ago
crazywoola 8cc9e68363
fix: prompt for the follow-up suggestions (#8685) 2 years ago
ice yao d7aada38a1
Add nomic embedding model provider (#8640) 2 years ago
Nam Vu c7eacd1aac
chore: Optimize I18nObject class for better performance and readability (#8681) 2 years ago
AAEE86 a126d535cf
add Spark Max-32K (#8676) 2 years ago
AAEE86 3554a803e7
add zhipuai web search (#8668) 2 years ago
AAEE86 c66cecaa55
add Qwen model translate (#8674) 2 years ago
Bowen Liang 86f90fd9ff
chore: skip PLR6201 linter rule (#8666) 2 years ago
haike-1213 4c7beb9d7b
fix: Assignment exception (#8663)
Co-authored-by: fum <fum@investoday.com.cn>
2 years ago
Aaron Ji 3618a97c20
feat: extend api params for Jina Embeddings V3 (#8657) 2 years ago
Shota Totsuka 03fdf5e7f8
chore: Enable Japanese descriptions for Tools (#8646) 2 years ago
zhuhao e34f04380d
feat: add deepseek-v2.5 for model provider siliconflow (#8639) 2 years ago
zhuhao 6df77038a2
docs: fix predefined_model_scale_out.md redirect error (#8633) 2 years ago
zhuhao 45c0a44411
feat: add qwen2.5 for model provider siliconflow (#8630) 2 years ago
Nam Vu eaa7e9b1f0
fix: llm_generator.py JSONDecodeError (#8504) 2 years ago
omr 8fd297f8b4
fix: redundant check for available_document_count (#8491) 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
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
takatost e0a3307563
fix(workflow): "Max submit count reached" error occurred when executing workflow as tool in iteration (#8595) 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
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
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
crazywoola 71b4480c4a
fix: o1-mini 65563 -> 65536 (#8388) 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
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
takatost 4637ddaa7f
feat: add o1-series models support in Agent App (ReACT only) (#8350) 2 years ago
Jyong 49cee773c5
fixed score threshold is none (#8342) 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 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
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 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
Jyong 2d690801d1
nvidia rerank top n missed (#8185) 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
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
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
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
非法操作 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
陳鈞 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 01581dd35f
improve the notion table extract (#7925) 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
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
非法操作 dc015c380a
feat: add zhipu glm_4_plus and glm_4v_plus model (#7824) 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
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
sino 7cfebffbb8
chore: update default endpoint for ark provider (#7741) 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
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