Commit Graph

2140 Commits (dev/plugin-deploy)

Author SHA1 Message Date
Yingchun Lai 32f8439143
fix: add the missing abab6.5t-chat model of Minimax (#11484) 1 year ago
-LAN- 537068cfde
refactor(iteration_node): use Sequence and Mapping in parameters (#11483)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
suzuki.sh c3c6a48059
Fix the token count at the iteration node (#11235)
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
Kazuki Takamatsu 4d7cfd0de5
Fix model provider of vertex ai (#11437) 1 year ago
非法操作 7e1184c071
feat: support json_schema for ollama models (#11449) 1 year ago
非法操作 1ce51e57ab
feat: add gemini exp 1206 (#11444) 1 year ago
非法操作 142b4fd699
feat: add zhipu glm_4v_flash (#11440) 1 year ago
yihong d9d5d35a77
fix: issue #10596 by making the iteration node outputs right (#11394)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
Huỳnh Gia Bôi 9277156b6c
fix(document_extractor): pptx file type and missing metadata_filename UnstructuredIO (#11364)
Co-authored-by: Julian Huynh <julian.huynh@immersio.io>
1 year ago
Jyong 9b7adcd4d9
update tidb batch get endpoint to basic mode (#11426) 1 year ago
Jyong a8d32f9964
fix external retrieval without segment id (#11423) 1 year ago
shirochan 5093337de1
FEAT: cohere rerank 3.5 model added (#11289) 1 year ago
Matsuda f54225568c
fix(model_runtime): add vision to Amazon Nova Lite and Pro (#11398) 1 year ago
Warren Chen 631cbcd781
[fix] rename yaml files to fit windows (#11379) 1 year ago
yihong 5669cac16d
fix: some typos using typos (#11374)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Warren Chen 376726cf90
[feat] Add AWS Bedrock rerank (#11349)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
Akira Noda eca466bdaa
chore: fix typo (#11359) 1 year ago
crazywoola d56abec195
Revert "Fix: iteration not in main thread pool" (#11358) 1 year ago
yihong 961e25f608
fix: better bedrock message handler close #10976 (#11317)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
ybalbert001 1bae9b8ff7
update pricing for bedrock nova LLM models (#11336)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
1 year ago
Jyong d7c1f43b49
fix tidb full-text-search vector missed (#11337) 1 year ago
非法操作 91e1ff5e30
chore: improve zhipu LLM (#11321) 1 year ago
ybalbert001 5908e10549
integrate amazon nove llms to dify (#11324)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
1 year ago
-LAN- 464e6354c5
feat: correct the prompt grammar. (#11328)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
非法操作 d470e55f8c
fix: http node download file always image type (#11319) 1 year ago
Jyong c58d2fce89
roll back rerank topn setting (#11297) 1 year ago
yihong e39e776d03
fix: better wenxin rerank handler, close #11252 (#11283)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Yi Xiao e135ffc2c1
Feat: upgrade variable assigner (#11285)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
Bowen Liang e79eac688a
chore(lint): sort __all__ definitions (#11243) 1 year ago
-LAN- 643a90c48d
fix: use `removeprefix()` instead of `lstrip()` to remove the `data:` prefix (#11272)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Novice 2a448a899d
Fix: iteration not in main thread pool (#11271)
Co-authored-by: Novice Lee <novicelee@NovicedeMacBook-Pro.local>
1 year ago
yihong e686f12317
fix: better handle error (#11265)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Hash Brown c4fad66f2a
fix: `dialogue_count` incorrect in chatflow when there's... (#11175) 1 year ago
yihong 02572e8cca
fix: claude can not handle empty string (#11238)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
-LAN- f8c966c39c
fix(workflow_tool): Rename `stream` to `streaming` (#11258)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 3c8efe7c0a
fix(workflow_cycle_manage): Handle special values in the process_data. (#11253)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
yihong 239bf97b47
fix: nvidia special embedding model payload close #11193 (#11239)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
-LAN- c34bdb74e6
Fix/type-error (#11240)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 9601102885
fix(word_extractor): Fix type error and remove stream in ssrf_proxy (#11241)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
yihong fd4be36991
fix: total tokens is wrong which is zero in inter way, close #11221 (#11224)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Shota Totsuka 594666eb61
fix: use Gemini response metadata for token counting (#11226) 1 year ago
朱晓兵 e80f41a701
fix: support setting variables in url (#10676) 1 year ago
Cling_o3 f9c2aa7689
feat: add retireval_top_n to config in env (#11132) 1 year ago
yihong 5a9b785773
fix: excel in node only read one sheet, close #9661 (#11215)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
catusax d96a28487a
fix: 'validation error for ToolInvokeMessage' when blob_message meta is None (#11212) 1 year ago
liujiamingtiny 6f9ce6a199
fix: fix azure open-4o-08-06 when enable json schema cant process content = "" (#11204)
Co-authored-by: jiaming.liu <jiaming.liu@zkh.com>
1 year ago
ybalbert001 cc0b92bc75
Update aws tools (#11174)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
1 year ago
kazuya-awano 2d6865d421
Ensure consistent float type for cached embedding return values (#10185) 1 year ago
yihong d7160ee563
fix: typo in upstashVector if id is always true, also fix some type hint (#11183)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
yihong 40fc6f529e
fix: gitee ai wrong default model, and better para (#11168)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Hiroshi Fujita a918cea2fe
feat: add VTT file support to Document Extractor (#11148) 1 year ago
-LAN- 9789905a1f
chore(*): Removes debugging print statements (#11145)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Charlie.Wei f458580dee
fix parameter extractor function call Expected str (#11142) 1 year ago
-LAN- 223a30401c
fix: LLM invoke error should not be raised (#11141)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Tao Wang aa135a3780
Add TTS to OpenAI_API_Compatible (#11071) 1 year ago
-LAN- 044e7b63c2
fix(llm_node): Ignore file if not supported. (#11114) 1 year ago
-LAN- 5b7b328193
feat: Allow to contains files in the system prompt even model not support. (#11111) 1 year ago
-LAN- 8d5a1be227
fix: Cannot use files in the user inputs. (#11112) 1 year ago
-LAN- 1db14793fa
fix(anthropic_llm): Ignore non-text parts in the system prompt. (#11107) 1 year ago
-LAN- cbb4e95928
fix(llm_node): Ignore user query when memory is disabled. (#11106) 1 year ago
-LAN- 20c091a5e7
fix: user query be ignored if query_prompt_template is an empty string (#11103) 1 year ago
horochx 9f75970347
fix: ops_trace_manager `from_end_user_id` (#11077) 1 year ago
SebastjanPrachovskij 17ee731546
SearchApi - Return error message instead of raising a ValueError (#11083) 1 year ago
Tao Wang af2461cccc
Add query_prefix + Return TED Transcript URL for Downstream Scraping Tasks (#11090) 1 year ago
fengjiajie ab6dcf7032
fix: update the max tokens configuration for Azure GPT-4o (2024-08-06) to 16384 (#11074) 1 year ago
yihong 8aae235a71
fix: int None will cause error for context size (#11055)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Tao Wang 1065917872
Add grok-vision-beta to xAI + Update grok-beta Features (#11004) 1 year ago
非法操作 56e361ac44
fix: chart tool chinese font display and raise error (#11058) 1 year ago
yihong 2e00829b1e
fix: drop useless and wrong code for zhipu embedding (#11069)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
-LAN- 98d85e6b74
fix: WorkflowNodeExecution.created_at may be earlier than WorkflowRun.created_at (#11070) 1 year ago
Pedro Gomes 319d49084b
fix: ignore empty outputs in Tool node (#10988) 1 year ago
-LAN- 3eb51d85da
fix(workflow_entry): Support receive File and FileList in single step run. (#10947)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
1 year ago
Kalo Chin 684f6b2299
fix: slidespeak text output is not the download link (#10997) 1 year ago
SiliconFlow, Inc a4fc057a1c
ISSUE=11042: add tts model in siliconflow (#11043) 1 year ago
Tao Wang aae29e72ae
Fix Deepseek Function/Tool Calling (#11023) 1 year ago
cyflhn 87c831e5dd
make tool parameters parsing compatible with the response of glm4 model in xinference provider when function tool call integerated (#11049) 1 year ago
-LAN- 60b5dac3ab
fix: query will be None if the query_prompt_template not exists (#11031)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
cyflhn 03ba4bc760
fix error with xinference tool calling with qwen2-instruct and add timeout retry setttings for xinference (#11012)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
litterGuy ae3a2cb272
fix: json parse err when http node send request (#11001) 1 year ago
Bowen Liang 6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386) 1 year ago
yihong 0181f1c08c
fix: wrong convert in PromptTemplateConfigManager (#11016)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
yihong 7f00c5a02e
fix: uuid not import bug (#11014)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
kenwoodjw 096c0ad564
feat: Add support for TEI API key authentication (#11006)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
Kazuhisa Wada 16c41585e1
Fixing #11005: Incorrect max_tokens in yaml file for AWS Bedrock US Cross Region Inference version of 3.5 Sonnet v2 and 3.5 Haiku (#11013) 1 year ago
AkisAya 566ab9261d
fix: gitlab file url not correctly encoded (#10996) 1 year ago
yihong 448a19bf54
fix: fish audio wrong validate credentials interface (#11019)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
yihong ed55de888a
fix: rules should not be None for in (#10977)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
非法操作 08ac36812b
feat: support LLM process document file (#10966)
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- c5f7d650b5
feat: Allow using file variables directly in the LLM node and support more file types. (#10679)
Co-authored-by: Joel <iamjoel007@gmail.com>
1 year ago
CXwudi d9579f418d
chore: Added the new gemini exp-1121 and learnlm-1.5 models (#10963) 1 year ago
Kalo Chin 817b85001f
feat: slidespeak slides generation (#10955) 1 year ago
Agung Besti e8868a7fb9
feat: add gpt-4o-2024-11-20 (#10951)
Co-authored-by: akubesti <agung.besti@insignia.co.id>
1 year ago
yihong 464f384cea
fix: tiny lora bug found by mypy (#10959)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Xu Song 8c2f62fb92
Feat: support json output for bing-search (#10904) 1 year ago
LastHopeOfGPNU 1a6b961b5f
Resolve 8475 support rerank model from infinity (#10939)
Co-authored-by: linyanxu <linyanxu2@qq.com>
1 year ago
AkisAya cb0c55daa7
fix weight rerank of knowledge retrieval (#10931) 1 year ago
-LAN- 82575a7aea
fix(gpt-4o-audio-preview): Remove the vision feature (#10932) 1 year ago
yihong 80da0c5830
fix: default max_chunks set to 1 as other providers (#10937)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Pedro Gomes 83b6abf4ad
Update parse.py to handle empty list result (#10915)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
wy96f 94c9cadbd8
fix image files not deleted on indexing_estimate #9541 (#10798)
Co-authored-by: root <root@localhost.localdomain>
1 year ago
Steven sun 2ae6460f46
Add googlenews tools from rapidapi (#10877)
Co-authored-by: steven <sunzwj@digitalchina.com>
1 year ago
yihong 0067b16d1e
fix: refactor all 'or []' and 'or {}' logic to make code more clear (#10883)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
方程 99b0369f1b
Gitee AI embedding tool (#10903) 1 year ago
-LAN- 4d6b45427c
Support streaming output for OpenAI o1-preview and o1-mini (#10890) 1 year ago
-LAN- 1be8365684
Fix/input-value-type-in-moderation (#10893) 1 year ago
ybalbert001 c3d11c8ff6
fix: aws presign url is not workable remote url (#10884)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
1 year ago
非法操作 bf4b6e5f80
feat: support custom tool upload file (#10796) 1 year ago
-LAN- 25fda7adc5
fix(http_request): allow content type `application/x-javascript` (#10862) 1 year ago
Muntaser Abuzaid 33cfc56ad0
fix: update email validation regex to allow periods in local part (#10868) 1 year ago
GeorgeCaoJ fbfc811a44
feat: support function call for ollama block chat api (#10784) 1 year ago
Ding Jiatong 3087913b74
Fix the situation where output_tokens/input_tokens may be None in response.usage (#10728) 1 year ago
Joe 2dc29cfee3
Feat/add langsmith dotted order (#10856) 1 year ago
Jyong bd05df5cc5
fix tongyi embedding endpoint return None output (#10857) 1 year ago
Jyong ee1f14621a
fix httpx doesn't support stream parameter (#10859) 1 year ago
yihong 58a9d9eb9a
fix: better WeightRerankRunner run logic use O(1) and delete unused code (#10849)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
非法操作 bc1013dacf
feat: support json schema for gemini models (#10835) 1 year ago
Tao Wang 9f195df103
Support Video Proxy and TED Embedding (#10819) 1 year ago
KVOJJJin 328965ed7c
Fix: crash of workflow file upload (#10831)
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
1 year ago
Zane 14f3d44c37
refactor: improve handling of leading punctuation removal (#10761) 1 year ago
8bitpd 873e9720e9
feat: AnalyticDB vector store supports invocation via SQL. (#10802)
Co-authored-by: 璟义 <yangshangpo.ysp@alibaba-inc.com>
1 year ago
Tao Wang 90d6ebc879
Add youtube-transcript-api as tool (#10772)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
Kalo Chin 6de1f8c770
Feat(tools) add tavily extract tool and enhance tavily search implementation (#10786) 1 year ago
非法操作 ba537d657f
feat: add gemini-exp-1114 (#10779) 1 year ago
Kalo Chin 305fbc7c92
fix: fal ai wizper also return text msg (#10789) 1 year ago
Tao Wang 29341d60aa
Add DuckDuckGo Video Search and News Search (#10771) 1 year ago
crazywoola 2fed55ae6b
Fix: number maybe empty string (#10743) 1 year ago
Bowen Liang 51db59622c
chore(lint): cleanup repeated cause exception in logging.exception replaced by helpful message (#10425) 1 year ago
非法操作 2a5c5a4e15
fix: remove default model selection for audio tool (#10729) 1 year ago
非法操作 4b2abf8ac2
fix: create_blob_message of tool will always create image type file (#10701) 1 year ago
Bowen Liang 365cb4b368
chore(lint): bump ruff from 0.6.9 to 0.7.3 (#10714) 1 year ago
Kalo Chin ad16180b1a
feat(tool): fal ai wizper ASR built-in tool (#10716) 1 year ago
SiliconFlow, Inc e61242a337
feat: add vlm models from siliconflow (#10704) 1 year ago
yihong 722964667f
fix: non utf8 code decode close #10691 (#10698)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Xiao Ley fbb9c1c249
fixed the Base URL usage issue in Podcast Generator tool verification (#10697) 1 year ago
非法操作 15f341b655
feat: add the audio tool (#10695) 1 year ago
orangeclk 317ae9233e
feat: add json response format for siliconflow models (#10657) 1 year ago
xiandan-erizo 5b8f03cd9d
add abab7-chat-preview model (#10654)
Co-authored-by: xiandan-erizo <xiandan-erizo@outlook.com>
1 year ago
Kalo Chin 2a4783307a
Feat(tool): fal ai flux image generation (#10606) 1 year ago
-LAN- 70c2ec8ed5
feat(variable-handling): enhance variable and segment conversion (#10483) 1 year ago
wakaka6 9c7edb9242
feat: add builtin tools for send email (#10493) 1 year ago
Jyong 0b2d51d859
add the index field for elasticsearch (#10592) 1 year ago
方程 ef8022f715
Gitee AI Qwen2.5-72B model (#10595) 1 year ago
Kevin9703 e03ec0032b
fix: Azure OpenAI o1 max_completion_token error (#10593) 1 year ago
-LAN- 16b9665033
refactor(api): improve handling of `tools` field and cleanup variable usage (#10553) 1 year ago
Benjamin b7238caea5
chore(vanna): update form parameter from 'form' to 'llm' in vanna.yaml (#10548) 1 year ago
-LAN- bd4a61addd
fix: set default factory for extract_by in ListOperatorNodeData (#10561) 1 year ago
smyhw f19c18dc14
Fixes `you have not added provider None` (#10501) 1 year ago
liuhaoran 570f10d91c
fix issues:Image file not deleted when a doc is removed #9541 (#10465)
Signed-off-by: root <root@localhost.localdomain>
Co-authored-by: root <root@localhost.localdomain>
1 year ago
Novice 4b45ef62ed
fix: iteration invalid output selector doesn't throw an error (#10544) 1 year ago
-LAN- a1543b7da0
fix(extractor): temporary file (#10543) 1 year ago
Benjamin 90087160c6
chore (vanna): update form parameter from 'form' to 'llm' in vanna.yaml (#10488) 1 year ago
-LAN- be33875199
fix(gitee_ai): update English description for clarity and accuracy (#10540) 1 year ago
-LAN- 867bf70f1a
fix(model_runtime): ensure compatibility with O1 models by adjusting token parameters (#10537) 1 year ago
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
非法操作 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- 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
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
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
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
非法操作 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