Commit Graph

1662 Commits (7a217534d19fd4e839eb9e40be0b7700a67dfcfd)

Author SHA1 Message Date
-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
非法操作 f83ed19dfe
fix: list filter node some operator raise error (#9539) 1 year ago
非法操作 53b14bde4d
fix: list filter node url not work (#9540) 1 year ago
-LAN- e61752bd3a
feat/enhance the multi-modal support (#8818) 1 year ago
非法操作 853b0e84cc
fix: draft run workflow node with image will raise error (#9406) 1 year ago
chzphoenix 42fe208eda
refactor wenxin rerank (#9486)
Co-authored-by: cuihz <cuihz@knowbox.cn>
1 year ago
ice yao 95ce10f23b
feat: Add custom username and avatar define in discord tool (#9514) 1 year ago
Ziyu Huang 660fc3bb34
Resolve 9508 openai compatible rerank (#9511) 1 year ago
Oliver Lee 424a7da470
add yuqye(https://www.yuque.com)tools (#8960)
Co-authored-by: 佐井 <chengwu.lcw@alibaba-inc.com>
1 year ago
Tao Wang b92504bebc
Added Llama 3.2 Vision Models Speech2Text Models for Groq (#9479) 1 year ago
zhuhao e0846792d2
feat: add yi custom llm intergration (#9482) 1 year ago
zhuhao b3cde9900c
feat: add parameter top-k for the llm model provided by openrouter and siliconflow (#9455) 1 year ago
ice yao 2155bba5b0
fix: update mismatch vector type (#9462) 1 year ago
zhuhao 3fc0ebdd51
feat: add yi-lightning llm model for yi (#9458) 1 year ago
chzphoenix 211f416806
feat:add wenxin rerank (#9431)
Co-authored-by: cuihz <cuihz@knowbox.cn>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
zhuhao b90ad587c2
refactor: move the embedding to the rag module and abstract the rerank runner for extension (#9423) 1 year ago
zhuhao a45f8969a0
fix: remove the undefined variable line (#9446) 1 year ago
非法操作 d3c06a3f76
feat: add the workflow tool of comfyUI (#9447) 1 year ago
ybalbert001 fdcf87c70c
fix https://github.com/langgenius/dify/issues/9409 (#9433)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
1 year ago
zhuhao 86594851cb
refactor: update the default values of top-k parameter in vdb to be consistent (#9367) 1 year ago
Jyong 50635e9c15
Fix/economical knowledge retrieval (#9396) 1 year ago
zhuhao 7d3dad3d1d
feat: add timezone conversion for time tool (#9393) 1 year ago
ice yao dd22e78515
fix: Deprecated gemma2-9b model in Fireworks AI Provider (#9373) 1 year ago
crazywoola 423df67042
fix: use gpt-4o-mini for validating credentials (#9387) 1 year ago
非法操作 da25b91980
fix: remove the stream option of zhipu and gemini (#9319) 1 year ago
Jason Tan 9b8aa9b75d
feat: add minimax abab6.5t support (#9365) 1 year ago
非法操作 4ffaabcc04
feat: add glm-4-flashx, deprecated chatglm_turbo (#9357) 1 year ago
Warren Wong b597a0d31c
fix: Azure OpenAI o1 max_completion_token and get_num_token_from_messages error (#9326)
Co-authored-by: wwwc <wwwc@outlook.com>
1 year ago
Wei-shun Bao fb32e5ca9a
fix: In the output, the order of 'ta' is sometimes reversed as 'at'. #8015 (#8791) 1 year ago
zhuhao cd7ab6231f
refactor: Add an enumeration type and use the factory pattern to obtain the corresponding class (#9356) 1 year ago
ice yao 5908fd6552
Adapt input type parameter with MiniMax embedding model (#9342) 1 year ago
ice yao 3f9d6759d4
feat: Add qwen2.5 72B Instruct model in Fireworks AI (#9340) 1 year ago
ice yao aba70207ab
feat: Add fireworks custom llm intergration (#9333) 1 year ago
Hash Brown fa47f0c707
chore: disable chat service API passing `parent_message_id` (#8984) 1 year ago
非法操作 ffc3f33670
chore: remove the copied zhipu_ai sdk (#9270) 1 year ago
kurokobo 857055b797
fix: remove the latest message from the user that does not have any answer yet (#9297) 1 year ago
ice yao d15ba3939d
Add Volcengine VikingDB as new vector provider (#9287) 1 year ago
zhuhao d97d3ff5fc
chore: add abstract decorator and output log when query embedding fails (#9264) 1 year ago
Shili Cao 2ec6ffe478
feat:support baidu vector db (#9185) 1 year ago
takatost 23ce1fb1ba
chore: optimize the trace ops slow queries on node executions. (#9282) 1 year ago
takatost 29188e0562
chore: use cache instead of re-querying node record during workflow execution (#9280) 1 year ago
crazywoola 93af87a9e0
fix: move exception to debug mode (#9258) 1 year ago
Jyong 42b02b3a5f
Fix/agent external knowledge retrieval (#9241) 1 year ago
AkisAya d7b8e071dd
fix:#9222 create or update custum tools error (#9228) 1 year ago
Jyong 80b62d50f5
Fix/add es num_candidates (#9225) 1 year ago
AAEE86 fe41e8bc18
feat: add siliconflow custom add model interface (#8745) 1 year ago
Fei He 5c76131d3d
feat: add gte rerank for tongyi (#9153) 1 year ago
Jyong cabdb4ef17
fix retrieval resource positon missed (#9155)
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
1 year ago
zhuhao 05c1ef75c4
feat: add allow_llm_to_see_data flag for vanna (#9156) 1 year ago
Sa Zhang 75f0a5e36a
fix: Typo Correction in jina.yaml (#9161) 1 year ago
takatost 477beae3bb
fix: missing usage of metadata in the chatflow app (#9167) 1 year ago
Charlie.Wei 6b6e94da08
Fix code indentation errors (#9164) 1 year ago
Ziyu Huang fc60b554a1
Fixes #9159: Modify to make it works to llama.cpp rerank API (#9160) 1 year ago
Joe e947103b6d
Feat/add workflow sys params (#9108)
Co-authored-by: Joel <iamjoel007@gmail.com>
1 year ago
ronaksingh27 62051d5171
Corrected type annotation to "Any" from "any" all files in "model_providers" folder (#9135) 1 year ago
luckylhb90 2024a6c941
fix: vertex ai remote url error(Error: not enough values to unpack) (#9134)
Co-authored-by: hobo.l <hobo.l@binance.com>
1 year ago
呆萌闷油瓶 060897b25b
chore:add azure openai api version 2024-09-01-preview (#9141) 1 year ago
非法操作 499cc57082
fix: response_format of model_parameters will not be removed (#9148) 1 year ago
Hash Brown 511ffa4698
fix: follow-up (suggested questions) does not refer to the most recen… (#9122) 1 year ago
pinsily 7a1da2409d
add generate conversation name error log (#9117) 1 year ago
Charlie.Wei 55679b4389
azure add o1-mini、o1-preview models (#9088)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
1 year ago
Bowen Liang 240b66d737
chore: avoid implicit optional in type annotations of method (#8727) 1 year ago
zhuhao 5fcd614186
feat: output the execution results of tool should only in debug mode (#9104) 1 year ago
zhuhao 4be1aa516c
feat: add tags for vanna tools (#9102) 1 year ago
zhuhao 5e250403d3
chore: add the missing tool names to the _position file (#9099) 1 year ago
SebastjanPrachovskij f8af9c6ad0
refactor: Update countries & languages list for SearchApi engines (#9090) 1 year ago
ybalbert001 57994e4a24
fix s3 presign url check problem, support two versions(v2,v4) (#9093)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
1 year ago
crazywoola 3a0734d94c
Feat/9081 add support for llamaguard through groq provider (#9083) 1 year ago
zhuhao 5b7de7705e
feat: add timestamp conversion and timestamp retrieval for time tool (#9085) 1 year ago
zhuhao 5213650fed
feat: update the xinf tool's API key to optional (#9073) 1 year ago
Infinitnet e741ee2f45
Correct max_tokens for OpenRouter Sonnet 3.5 (#9068) 1 year ago
非法操作 966e65bb66
fix: zhipu ai web_search not work (#9058) 1 year ago
aiscrm 2ab8bc679f
fix: Missing model information in llm span of Langfuse #9029 (#9030)
Co-authored-by: corel <corelchen@qq.com>
1 year ago
zg0d233 fcfa1252a0
fix bug when adding openai or openai-compatible stt model instance (#9006) 1 year ago
Giannis Kepas dc5839b6bb
feat: Update AWS Bedrock supported regions (#8992) 2 years ago
zhaoyi233 4373777871
Update json_in_md_parser.py (#8983)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
ice yao 415d27c8bf
feat(Tools): add discord incoming webhook for sending messages (#7852) 2 years ago
zhuhao 24ba9fdf6c
feat: enhance stepfun image generation tool (#8954) 2 years ago
zhuhao 824a0dd63e
feat: add qwen2.5-72b and llama3.2 for openrouter (#8956) 2 years ago
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