Commit Graph

229 Commits

Author SHA1 Message Date
takatost 9a1ea9ac03
fix: image token calc of OpenAI Compatible API (#3368) 2024-04-11 20:29:48 +08:00
Yeuoly 18b855140d
fix/moonshot-function-call (#3339) 2024-04-11 15:42:26 +08:00
crazywoola 7c520b52c1
feat: update aws bedrock (#3326)
Co-authored-by: chenhe <guchenhe@gmail.com>
2024-04-11 15:38:55 +08:00
Eric Wang e0df7505f6
feat(llm/models): add gemini-1.5-pro (#2925) 2024-04-11 10:58:13 +08:00
takatost 826c422ac4
feat: Add Cohere Command R / R+ model support (#3333) 2024-04-11 01:22:55 +08:00
Kenny bf63a43bda
feat: support gpt-4-turbo-2024-04-09 model (#3300) 2024-04-10 22:55:46 +08:00
Yeuoly 14bb0b02ac
Feat/Agent-Image-Processing (#3293)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-04-10 14:48:40 +08:00
takatost 97d1e0bbbb
feat: vision parameter support of OpenAI Compatible API (#3272) 2024-04-10 11:13:56 +08:00
Yeuoly 835e547195
feat: gpt-4-turbo (#3263) 2024-04-10 10:28:52 +08:00
crazywoola f5e65b98a9
feat: remove unregistered-llm-in-debug (#3251) 2024-04-09 20:49:52 +08:00
Chenhe Gu eb76d7a226
make sure validation flow works for all model providers in bedrock (#3250) 2024-04-09 20:42:18 +08:00
Yeuoly a2c068d949
feat: moonshot function call (#3227) 2024-04-09 15:30:09 +08:00
Jat bae0c071cd
Fix: remove unavailable return_preamble parameter in cohere (#3201)
Signed-off-by: Jat <jat@sinosky.org>
2024-04-09 12:11:53 +08:00
takatost 7753ba2d37
FEAT: NEW WORKFLOW ENGINE (#3160)
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2024-04-08 18:51:46 +08:00
Yeuoly 25b9ac3df4
feat: claude3 tool call (#3111) 2024-04-05 16:35:59 +09:00
Salem Korayem 6b4c8e76e6
feat (new llm): add support for openrouter (#3042) 2024-04-02 18:38:46 +08:00
呆萌闷油瓶 e215aae39a
feat:xinference audio model support (#3045) 2024-03-31 12:44:11 +08:00
Chenhe Gu 9d962053a2
Fix claude request errors in bedrock (#3015)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-03-29 13:57:45 +08:00
Bowen Liang 08b727833e
generalize helper for loading module from source (#2862) 2024-03-28 11:37:26 +08:00
Weaxs 5becb4c43a
update wenxin llm (#2929) 2024-03-27 11:36:21 +08:00
Kenny 13694293e3
fix: resolve header.uid' length must be less or equal than 32 on Spark V1.5 (#2983) 2024-03-27 09:58:41 +08:00
Ricky 40dbf30784
feat: support new reranker [jina-colbert-v1-en] (#2975) 2024-03-26 11:34:40 +08:00
Weishan-0 a676d4387c
fix: Correct image parameter passing in GLM-4v model API calls (#2948) 2024-03-26 10:43:20 +08:00
orangeclk 4fb9606361
fix: max_token default help info improved (#2951) 2024-03-25 10:07:32 +08:00
orangeclk c534d95972
fix: yi model price correction (#2946) 2024-03-24 12:10:57 +08:00
orangeclk 6dc62334d6
doc: model schema document fix and wording about the model price parameter (#2944) 2024-03-24 12:06:20 +08:00
Yeuoly 240a94182e
Feat/add triton inference server (#2928) 2024-03-22 15:15:48 +08:00
Su Yang 5a1c29fd8c
chore: change Yi model SDK to OpenAI (#2910) 2024-03-20 16:02:13 +08:00
Joshua 518c1ceb94
Feat/add-NVIDIA-as-a-new-model-provider (#2900) 2024-03-19 21:08:17 +08:00
Su Yang 4419d357c4
chore: update Yi models params (#2895) 2024-03-19 20:54:31 +08:00
takatost fbbba6db92
feat: optimize ollama model default parameters (#2894) 2024-03-19 18:34:23 +08:00
Su Yang 8133ba16b1
chore: update Qwen model params (#2892) 2024-03-19 18:13:32 +08:00
Su Yang 7e3c59e53e
chore: Update TongYi models prices (#2890) 2024-03-19 16:32:42 +08:00
呆萌闷油瓶 f6314f8e73
feat:support azure openai llm 0125 version (#2889) 2024-03-19 16:32:26 +08:00
Su Yang 3bcfd84fba
chore: use API Key instead of APIKey (#2888) 2024-03-19 16:32:06 +08:00
Su Yang 2dee8a25d5
fix: anthropic system prompt not working (#2885) 2024-03-19 15:50:02 +08:00
Su Yang 507aa6d949
fix: Fix the problem of system not working (#2884) 2024-03-19 13:56:22 +08:00
crazywoola 59f173f2e6
feat: add icons for 01.ai (#2883) 2024-03-19 13:53:21 +08:00
Su Yang c3790c239c
i18n: update bedrock label (#2879) 2024-03-19 00:57:19 +08:00
Su Yang 45e51e7730
feat: AWS Bedrock Claude3 (#2864)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2024-03-18 18:16:36 +08:00
Onelevenvy cb79a90031
feat: Add tools for open weather search and image generation using the Spark API. (#2845) 2024-03-18 16:22:48 +08:00
Onelevenvy 4502436c47
feat:Embedding models Support for the Aliyun dashscope text-embedding-v1 and text-embedding-v2 (#2874) 2024-03-18 15:21:26 +08:00
orangeclk e7343cc67c
add max_tokens parameter rule for zhipuai glm4 and glm4v (#2861) 2024-03-18 13:19:36 +08:00
VoidIsVoid 83145486b0
fix: fix unstable function call response arguments missing (#2872) 2024-03-18 13:17:16 +08:00
Su Yang 6fd1795d25
feat: Allow users to specify AWS Bedrock validation models (#2857) 2024-03-18 00:44:09 +08:00
Su Yang f770232b63
feat: add model for 01.ai, yi-chat-34b series (#2865) 2024-03-17 21:24:01 +08:00
Yeuoly 742be06ea9
Fix/localai (#2840) 2024-03-15 11:41:51 +08:00
Eric Wang 4fe585acc2
feat(llm/models): add claude-3-haiku-20240307 (#2825) 2024-03-14 10:08:24 +08:00
呆萌闷油瓶 e52448b84b
feat:add api-version selection for azure openai APIs (#2821) 2024-03-14 09:14:27 +08:00
Bowen Liang 8b15b742ad
generalize position helper for parsing _position.yaml and sorting objects by name (#2803) 2024-03-13 20:29:38 +08:00
呆萌闷油瓶 8f9125b08a
fix:typo (#2808) 2024-03-13 13:00:46 +08:00
呆萌闷油瓶 e5e97c0a0a
fix:change azure openai api_version default value to 2024-02-15-preview (#2797) 2024-03-12 22:07:06 +08:00
呆萌闷油瓶 f49b1afd6c
feat:support azure tts (#2751) 2024-03-12 12:06:35 +08:00
Jyong e54c9cd401
Feat/open ai compatible functioncall (#2783)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-11 19:48:21 +08:00
洪朔 60e7e17c86
feat: Add new Azure OpenAI Embedding models (#2758) 2024-03-08 19:04:20 +08:00
Yeuoly 40c646cf7a
Feat/model as tool (#2744) 2024-03-08 15:22:55 +08:00
Yeuoly 3231a8c51c
fix: image tokenizer (#2752) 2024-03-08 14:50:51 +08:00
呆萌闷油瓶 b75ff5fa03
fix:missing import (#2739) 2024-03-07 17:31:30 +08:00
呆萌闷油瓶 9819ad347f
feat:support azure whisper model and fix:rename text-embedidng-ada-002.yaml to text-embedding-ada-002.yaml (#2732) 2024-03-07 16:36:58 +08:00
Yeuoly 8fe83750b7
Fix/jina tokenizer cache (#2735) 2024-03-07 16:32:37 +08:00
Yeuoly 1809f05904
Feat/add groq (#2733) 2024-03-07 16:00:40 +08:00
taokuizu 405a00bb2c
fix:delete the slash at the end of xinference provider server_url (#2730) 2024-03-07 15:37:05 +08:00
Yeuoly 3a3ca8e6a9
fix: max tokens can only up to 2048 (#2734) 2024-03-07 15:35:56 +08:00
Jyong 7f3dec7bee
fix error msg format issue (#2715)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-06 16:45:40 +08:00
Joshua 526c874caa
fix mistralai icon (#2707) 2024-03-06 11:08:22 +08:00
Yeuoly 95733796f0
fix: replace os.path.join with yarl (#2690) 2024-03-05 17:25:20 +08:00
takatost 5c258e212c
feat: add Anthropic claude-3 models support (#2684) 2024-03-05 01:37:42 +08:00
Charlie.Wei 6a6133c102
Fix voice selection (#2664)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-03-04 17:50:06 +08:00
Joshua 8523b34be7
add jina-reranker-v1-base-en (#2676) 2024-03-04 17:31:01 +08:00
taokuizu b6d61a818e
fix: Replace path.join with urljoin. (#2631) 2024-03-01 13:07:15 +08:00
Joshua dc93a292c3
Feat/provider mistralai (#2598) 2024-02-28 13:39:55 +08:00
takatost 174ee1b646
fix: parameter `user` exceeded max length when invoking moonshot llm (#2596) 2024-02-28 12:23:34 +08:00
Joshua 9b1c4f47fb
feat:add mistral ai (#2594) 2024-02-28 12:22:57 +08:00
Yeuoly 3e63abd335
Feat/json mode (#2563) 2024-02-26 23:34:40 +08:00
takatost 952e13fef8
Update README_CN.md (#2550) 2024-02-23 17:38:03 +08:00
Chenhe Gu 5031d64e28
Chore/delete chunk decode error alert (#2500) 2024-02-21 03:17:33 +08:00
crazywoola e031ec9359
remove: parameters in seeds (#2481) 2024-02-19 17:00:46 +08:00
takatost 4cf475680d
fix: credential verification of baichuan did not throw all errors (#2475) 2024-02-19 11:52:52 +08:00
Yeuoly ca4aa340f6
fix: Add model_uid validation for model_uid in Xinference models (#2468) 2024-02-19 10:43:25 +08:00
Charlie.Wei c6e2900be7
Display selected tts voice name (#2459)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-02-18 15:39:25 +08:00
johnpccd b2ee738bb1
Ignore SSE comments to support openrouter streaming (#2432) 2024-02-16 10:00:10 +08:00
Charlie.Wei c8ca3ff404
Tts add voice choose (#2453)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-02-16 01:10:11 +08:00
takatost 58df5e5376
fix: tts voice language to zh-Hans instead of zh-CN (#2450) 2024-02-16 00:05:29 +08:00
Charlie.Wei 300d9892a5
tts add voice choose (#2391)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-02-15 22:41:18 +08:00
Yeuoly e47b5b43b8
fix: baichuan frequency_penalty (#2446) 2024-02-14 20:11:41 +08:00
takatost 476eb90a90
fix: List not found in account service (#2434) 2024-02-12 00:56:17 +08:00
Bowen Liang 063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419) 2024-02-09 15:21:33 +08:00
Bowen Liang 589099a005
fix: possible unsent function call in the last chunk of streaming response in OpenAI provider (#2422) 2024-02-09 14:43:38 +08:00
Bowen Liang 14a19a3da9
chore: apply ruff's pyflakes linter rules (#2420) 2024-02-08 14:11:10 +08:00
Bowen Liang 65a02f7d32
chore: apply F811 linter rule to eliminate redefined imports and methods (#2412) 2024-02-07 16:28:45 +08:00
takatost 3242cf5384
fix: moonshot context size error (#2406) 2024-02-06 13:54:38 +08:00
Bowen Liang 843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366) 2024-02-06 13:21:13 +08:00
Jialei 70992609d4
feat: add moonshot support (#2398) 2024-02-05 20:27:27 +08:00
Yeuoly 56c25bfb78
fix: bad xinference error (#2384) 2024-02-05 10:52:14 +08:00
takatost 04fb610fe7
add gpt-3.5-turbo-0125 to trail llm list (#2354) 2024-02-02 15:29:27 +08:00
Honora Green ecf947258a
fix [baichuan] Error: argument of type 'NoneType' is not iterable (#2351)
Co-authored-by: baiyansong <baiyansong@hotmail.com>
2024-02-02 12:56:48 +08:00
呆萌闷油瓶 cd078a6264
feat:add gpt-3.5-turbo-0125 (#2347) 2024-02-02 12:33:11 +08:00
takatost 9f637ead38
bump version to 0.5.3 (#2306) 2024-02-01 18:11:57 +08:00
takatost a84e15b8cc
fix: ignore spark provider credential validate (#2344) 2024-02-01 18:04:05 +08:00
Yeuoly 0c330fc020
feat: add xinference llm context size (#2336) 2024-02-01 17:10:45 +08:00