Commit Graph

802 Commits (9889aa10bd5bc6bf65265d93780ec39f0770cacc)

Author SHA1 Message Date
Su Yang 5a1c29fd8c
chore: change Yi model SDK to OpenAI (#2910) 2 years ago
Joshua 518c1ceb94
Feat/add-NVIDIA-as-a-new-model-provider (#2900) 2 years ago
Su Yang 4419d357c4
chore: update Yi models params (#2895) 2 years ago
takatost fbbba6db92
feat: optimize ollama model default parameters (#2894) 2 years ago
Su Yang 8133ba16b1
chore: update Qwen model params (#2892) 2 years ago
Su Yang 7e3c59e53e
chore: Update TongYi models prices (#2890) 2 years ago
呆萌闷油瓶 f6314f8e73
feat:support azure openai llm 0125 version (#2889) 2 years ago
Su Yang 3bcfd84fba
chore: use API Key instead of APIKey (#2888) 2 years ago
Su Yang 2dee8a25d5
fix: anthropic system prompt not working (#2885) 2 years ago
Su Yang 507aa6d949
fix: Fix the problem of system not working (#2884) 2 years ago
crazywoola 59f173f2e6
feat: add icons for 01.ai (#2883) 2 years ago
Su Yang c3790c239c
i18n: update bedrock label (#2879) 2 years ago
Su Yang 45e51e7730
feat: AWS Bedrock Claude3 (#2864)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2 years ago
Onelevenvy cb79a90031
feat: Add tools for open weather search and image generation using the Spark API. (#2845) 2 years ago
Onelevenvy 4502436c47
feat:Embedding models Support for the Aliyun dashscope text-embedding-v1 and text-embedding-v2 (#2874) 2 years ago
orangeclk e7343cc67c
add max_tokens parameter rule for zhipuai glm4 and glm4v (#2861) 2 years ago
VoidIsVoid 83145486b0
fix: fix unstable function call response arguments missing (#2872) 2 years ago
Su Yang 6fd1795d25
feat: Allow users to specify AWS Bedrock validation models (#2857) 2 years ago
Su Yang f770232b63
feat: add model for 01.ai, yi-chat-34b series (#2865) 2 years ago
Yeuoly 742be06ea9
Fix/localai (#2840) 2 years ago
Eric Wang 4fe585acc2
feat(llm/models): add claude-3-haiku-20240307 (#2825) 2 years ago
呆萌闷油瓶 e52448b84b
feat:add api-version selection for azure openai APIs (#2821) 2 years ago
Bowen Liang 8b15b742ad
generalize position helper for parsing _position.yaml and sorting objects by name (#2803) 2 years ago
呆萌闷油瓶 8f9125b08a
fix:typo (#2808) 2 years ago
呆萌闷油瓶 e5e97c0a0a
fix:change azure openai api_version default value to 2024-02-15-preview (#2797) 2 years ago
呆萌闷油瓶 f49b1afd6c
feat:support azure tts (#2751) 2 years ago
Jyong e54c9cd401
Feat/open ai compatible functioncall (#2783)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
洪朔 60e7e17c86
feat: Add new Azure OpenAI Embedding models (#2758) 2 years ago
Yeuoly 40c646cf7a
Feat/model as tool (#2744) 2 years ago
Yeuoly 3231a8c51c
fix: image tokenizer (#2752) 2 years ago
呆萌闷油瓶 b75ff5fa03
fix:missing import (#2739) 2 years ago
呆萌闷油瓶 9819ad347f
feat:support azure whisper model and fix:rename text-embedidng-ada-002.yaml to text-embedding-ada-002.yaml (#2732) 2 years ago
Yeuoly 8fe83750b7
Fix/jina tokenizer cache (#2735) 2 years ago
Yeuoly 1809f05904
Feat/add groq (#2733) 2 years ago
taokuizu 405a00bb2c
fix:delete the slash at the end of xinference provider server_url (#2730) 2 years ago
Yeuoly 3a3ca8e6a9
fix: max tokens can only up to 2048 (#2734) 2 years ago
Jyong 7f3dec7bee
fix error msg format issue (#2715)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Joshua 526c874caa
fix mistralai icon (#2707) 2 years ago
Yeuoly 95733796f0
fix: replace os.path.join with yarl (#2690) 2 years ago
takatost 5c258e212c
feat: add Anthropic claude-3 models support (#2684) 2 years ago
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>
2 years ago
Joshua 8523b34be7
add jina-reranker-v1-base-en (#2676) 2 years ago
taokuizu b6d61a818e
fix: Replace path.join with urljoin. (#2631) 2 years ago
Joshua dc93a292c3
Feat/provider mistralai (#2598) 2 years ago
takatost 174ee1b646
fix: parameter `user` exceeded max length when invoking moonshot llm (#2596) 2 years ago
Joshua 9b1c4f47fb
feat:add mistral ai (#2594) 2 years ago
Yeuoly 3e63abd335
Feat/json mode (#2563) 2 years ago
takatost 952e13fef8
Update README_CN.md (#2550) 2 years ago
Chenhe Gu 5031d64e28
Chore/delete chunk decode error alert (#2500) 2 years ago
crazywoola e031ec9359
remove: parameters in seeds (#2481) 2 years ago
takatost 4cf475680d
fix: credential verification of baichuan did not throw all errors (#2475) 2 years ago
Yeuoly ca4aa340f6
fix: Add model_uid validation for model_uid in Xinference models (#2468) 2 years ago
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>
2 years ago
johnpccd b2ee738bb1
Ignore SSE comments to support openrouter streaming (#2432) 2 years ago
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>
2 years ago
takatost 58df5e5376
fix: tts voice language to zh-Hans instead of zh-CN (#2450) 2 years ago
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>
2 years ago
Yeuoly e47b5b43b8
fix: baichuan frequency_penalty (#2446) 2 years ago
takatost 476eb90a90
fix: List not found in account service (#2434) 2 years ago
Bowen Liang 063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419) 2 years ago
Bowen Liang 589099a005
fix: possible unsent function call in the last chunk of streaming response in OpenAI provider (#2422) 2 years ago
Bowen Liang 14a19a3da9
chore: apply ruff's pyflakes linter rules (#2420) 2 years ago
Bowen Liang 65a02f7d32
chore: apply F811 linter rule to eliminate redefined imports and methods (#2412) 2 years ago
takatost 3242cf5384
fix: moonshot context size error (#2406) 2 years ago
Bowen Liang 843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366) 2 years ago
Jialei 70992609d4
feat: add moonshot support (#2398) 2 years ago
Yeuoly 56c25bfb78
fix: bad xinference error (#2384) 2 years ago
takatost 04fb610fe7
add gpt-3.5-turbo-0125 to trail llm list (#2354) 2 years ago
Honora Green ecf947258a
fix [baichuan] Error: argument of type 'NoneType' is not iterable (#2351)
Co-authored-by: baiyansong <baiyansong@hotmail.com>
2 years ago
呆萌闷油瓶 cd078a6264
feat:add gpt-3.5-turbo-0125 (#2347) 2 years ago
takatost 9f637ead38
bump version to 0.5.3 (#2306) 2 years ago
takatost a84e15b8cc
fix: ignore spark provider credential validate (#2344) 2 years ago
Yeuoly 0c330fc020
feat: add xinference llm context size (#2336) 2 years ago
Yeuoly f0c9bb7c91
fix: typo (#2318) 2 years ago
orangeclk 07279558a5
Change ZHIPU_MAX_LIMITS to 5. Fix issue 2323 (#2324) 2 years ago
呆萌闷油瓶 2166473852
Feat/add spark3.5 llm (#2314)
Co-authored-by: lux@njuelectronics.com <lux@njuelectronics.com>
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
Ricky 2660fbaa20
Fix/typos (#2308) 2 years ago
Yeuoly 6d5b386394
Feat/blocking function call (#2247) 2 years ago
geosmart 9d072920da
fix: remove finish_reason condition logic when deltaContent is empty (#2270)
Co-authored-by: wanggang <wanggy01@servyou.com.cn>
2 years ago
crazywoola 11a75ee78a
fix: remove invalid parameter return_type (#2253) 2 years ago
Garfield Dai bb5d5fc683
Feat/billing enhancement (#2239)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
glay 99e80a8ed0
fix:Bedrock llm issue #2214 (#2215)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2 years ago
Chenhe Gu c9e65f4221
Fix/update broken doc links (#2187)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
Yeuoly 42227f93c0
add openai gpt-4-0125-preview (#2226) 2 years ago
Chenhe Gu 8be7d8a635
Add new OpenAI embedding models (#2217) 2 years ago
geosmart 21450b8a51
feat: openai_api_compatible support config stream_mode_delimiter (#2190)
Co-authored-by: wanggang <wanggy01@servyou.com.cn>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2 years ago
Yeuoly b921c55677
Feat/zhipuai function calling (#2199)
Co-authored-by: Joel <iamjoel007@gmail.com>
2 years ago
takatost 6cf93379b3
fix: split chunks return empty strings (#2197) 2 years ago
Charlie.Wei fd5c45ae10
Add tts document&fix bug (#2156)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2 years ago
takatost 043517717e
fix: minimax request timeout (#2185) 2 years ago
takatost 76c52300a2
feat: abab6-chat supported (#2184) 2 years ago
Yeuoly dda32c6880
fix: credentials validation of ababa (#2183) 2 years ago
Charlie.Wei ac4bb5c35f
Add tongyi tts&tts function optimization (#2177)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 years ago
crazywoola 3c13c4f3ee
fix: filename cause windows import error (#2176) 2 years ago
takatost 00f4e6ec44
feat: add ffmpeg faq link in missing ffmpeg error (#2146) 2 years ago
Charlie.Wei 6355e61eb8
tts models support (#2033)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2 years ago
Yeuoly 86286e1ac8
Feat/assistant app (#2086)
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
2 years ago
takatost 7434d44412
feat: bedrock reorder in provider list (#2121) 2 years ago
Yeuoly 8394bbd47f
feat: support GLM-4V (#2124) 2 years ago
Chenhe Gu 14a2eeba0c
Add bedrock (#2119)
Co-authored-by: takatost <takatost@users.noreply.github.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Charlie.Wei <luowei@cvte.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Benjamin <benjaminx@gmail.com>
2 years ago
takatost a18dde9b0d
feat: add cohere llm and embedding (#2115) 2 years ago
crazywoola 8438d820ad
Feat/2070 glm 4 and glm 3 turbo (#2114) 2 years ago
Joshua 09a8db10d4
Add jina-embeddings-v2-base-de model configuration (#2094) 2 years ago
takatost 1a6ad05a23
feat: service api add llm usage (#2051) 2 years ago
takatost 1d91535ba6
fix: azure customize model name duplicate (#2073) 2 years ago
crazywoola d7209d9057
feat: add abab5.5s-chat (#2063) 2 years ago
Ricky 1a2eacc5a6
Add jina-embeddings-v2-base-zh model configuration (#2049) 2 years ago
takatost b582fc13c3
fix: qwen top_p min/max wrong (#2044) 2 years ago
Yeuoly 149102927b
fix: openai tool tokens (#2026) 2 years ago
Garfield Dai cb7be3767c
feat: huggingface llm add new params. (#2014) 2 years ago
takatost 34bf2877c8
fix: tongyi stream generate not incremental and add qwen max models (#2013) 2 years ago
takatost 1779cea6e3
fix: model provider credentials null value validate failed (#2009) 2 years ago
Bowen Liang cc9e74123c
improve: introduce isort for linting Python imports (#1983) 2 years ago
takatost cca9edc97a
feat: ollama support (#2003) 2 years ago
takatost 5e97eb1840
fix: azure openai stream response usage missing (#1998) 2 years ago
Yeuoly c9e4147b11
optimize baichuan invalid key error (#1996) 2 years ago
takatost bf7045566d
fix: azure openai model parameters wrong when using hosting credentials (#1993) 2 years ago
Yeuoly ebd11e7482
fix: baichuan max chunks (#1990) 2 years ago
Jyong 24bdedf802
fix get embedding model provider in empty dataset (#1986)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 33901384c6
fix: httpx socks package missing (#1977) 2 years ago
Jyong 60ee98f578
zhipu embedding token method (#1976)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Charlie.Wei 5b24d7129e
Azure openai init (#1929)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 years ago
Bowen Liang b8592ad412
fix: indentation violations in YAML files (#1972) 2 years ago
Chenhe Gu 344821ed35
enforce utf-8 encoding for provider response (#1973) 2 years ago
Chenhe Gu 5ff701ca3f
correct xorbits spelling (#1965) 2 years ago
Chenhe Gu 87832ede17
delete remnant 'required': false (#1955) 2 years ago
Chenhe Gu b934232411
change API key field to 'required' (#1953) 2 years ago
takatost 2f120786fd
feat: reorder togetherai (#1951) 2 years ago
Chenhe Gu 6075fee556
Add Together.ai's OpenAI API-compatible inference endpoints (#1947) 2 years ago
Chenhe Gu de584807e1
fix streaming (#1944) 2 years ago
takatost 28883e80d4
fix: gpt-4-32k model name empty in OpenAI response (#1941) 2 years ago
takatost a0f74cdd9d
fix: llm result usage none (#1940) 2 years ago
takatost faf40a42bc
feat: optimize memory & invoke error output (#1931) 2 years ago
takatost 3fa5204b0c
feat: optimize performance (#1928) 2 years ago
Yeuoly 5a756ca981
fix: xinference cache (#1926) 2 years ago
takatost 7c7ee633c1
fix: spark credentials validate (#1906) 2 years ago
crazywoola 18af84e193
fix: array oob in azure openai embeddings (#1905) 2 years ago
takatost 025b859c7e
fix: tongyi generate error (#1904) 2 years ago
newsouther 0e239a4f71
fix: read file encoding error (#1902)
Co-authored-by: maple <1071520@gi>
2 years ago
takatost 0c5892bcb6
fix: zhipuai chatglm turbo prompts must user, assistant in sequence (#1899) 2 years ago
takatost bb7af56e69
fix: zhipuai history format wrong (#1897) 2 years ago
Chenhe Gu 77f9e8ce0f
add example api url endpoint in placeholder (#1887)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
takatost 6333cf43a8
fix: anthropic messages empty raise errors (#1893) 2 years ago
Garfield Dai 91ee62d1ab
fix: huggingface and replicate. (#1888) 2 years ago
takatost ede69b4659
fix: gemini block error (#1877)
Co-authored-by: chenhe <guchenhe@gmail.com>
2 years ago
crazywoola 4d502ea44d
fix: openai embedding list out of bound (#1879) 2 years ago
Yeuoly b43f1441a9
Fix/model runtime (#1873) 2 years ago
takatost 5a2aa83030
fix: ciphertext error (#1872) 2 years ago
Yeuoly c6d59681ff
fix: xinference secret server_url (#1869) 2 years ago
takatost 4aed1fe8a8
fix: Azure text-davinci-003 missing (#1867) 2 years ago
takatost 7be77c19f5
fix: default model parameter precision (#1864) 2 years ago
takatost d069c668f8
Model Runtime (#1858)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2 years ago