Commit Graph

693 Commits

Author SHA1 Message Date
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>
2024-01-24 20:32:04 +08:00
Yeuoly a96cae4f44
refine: faster rsa implement (#2182) 2024-01-24 20:22:01 +08:00
Yeuoly 7cb75cb2e7
feat: add tool labels (#2178) 2024-01-24 20:14:45 +08:00
Garfield Dai 95ad06c8c3
feat: utm supports. (#2181) 2024-01-24 20:14:02 +08:00
crazywoola 3c13c4f3ee
fix: filename cause windows import error (#2176) 2024-01-24 18:24:17 +08:00
takatost 784da52ea6
fix: credentials validate compatible problem (#2170) 2024-01-24 17:19:25 +08:00
Yeuoly 6c614f0c1f
fix: empty usage (#2168) 2024-01-24 15:34:17 +08:00
takatost 6d94126368
fix: transcript asr params wrong (#2162) 2024-01-24 13:36:04 +08:00
takatost e0f72d2791
version to 0.5.0. (#2147) 2024-01-24 12:57:05 +08:00
Yeuoly 48d5628fd4
Refactor: CoT runner (#2157) 2024-01-24 12:09:30 +08:00
Yeuoly c8fb619d37
fix: add tool index (#2152) 2024-01-24 12:01:14 +08:00
Yeuoly 57024614bd
fix: Fix typo in credentials field name (#2155) 2024-01-24 12:00:34 +08:00
Ricky a31b502668
refractor: assistant runner rename (#2150) 2024-01-24 11:38:15 +08:00
takatost 00f4e6ec44
feat: add ffmpeg faq link in missing ffmpeg error (#2146) 2024-01-24 01:45:35 +08:00
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>
2024-01-24 01:05:37 +08:00
Yeuoly 27828f44b9
Fix/assistant none type (#2145) 2024-01-24 00:13:04 +08:00
Yeuoly 9525ca08b9
Fix/assistant none type (#2143) 2024-01-23 22:16:31 +08:00
Yeuoly 501caf0a69
fix: None type in cot assistant app (#2142) 2024-01-23 21:59:09 +08:00
crazywoola c17baef172
Feat/portuguese support (#2075) 2024-01-23 21:14:53 +08:00
Yeuoly 21ade71bad
fix: agent strategy (#2141) 2024-01-23 21:04:46 +08:00
takatost 23e02d8eb0
feat: remove universal chat app (#2140) 2024-01-23 20:31:28 +08:00
Yeuoly 86286e1ac8
Feat/assistant app (#2086)
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
2024-01-23 19:58:23 +08:00
Jyong 741079f317
fix annotation reply (#2127)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-22 17:39:19 +08:00
takatost 7434d44412
feat: bedrock reorder in provider list (#2121) 2024-01-22 12:06:10 +08:00
Yeuoly 8394bbd47f
feat: support GLM-4V (#2124) 2024-01-22 11:56:37 +08:00
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>
2024-01-22 11:00:19 +08:00
takatost a18dde9b0d
feat: add cohere llm and embedding (#2115) 2024-01-21 20:52:56 +08:00
crazywoola 8438d820ad
Feat/2070 glm 4 and glm 3 turbo (#2114) 2024-01-21 16:58:06 +08:00
crazywoola e19ad023d2
Fix/2102 long dify app description throws backend exception (#2112) 2024-01-21 12:30:16 +08:00
Benjamin 0695f08f05
fix: invite email template languages constant var (#2111) 2024-01-21 12:22:59 +08:00
Garfield Dai 51f23c5dc2
feat: support re-invite email. (#2107) 2024-01-20 22:28:41 +08:00
crazywoola 1f48e3d44a
feat: support legacy doc (#2100) 2024-01-20 22:21:51 +08:00
Garfield Dai 0a5de0ff0b
fix: empty keywords moderation. (#2108) 2024-01-20 20:02:51 +08:00
takatost 9c4bad8f1e
fix: arg missing when call method `on_message_replace_func` in output… (#2106) 2024-01-20 17:53:38 +08:00
takatost c7783dbd6c
bump version to 0.4.9 (#2103) 2024-01-19 22:25:23 +08:00
Jyong ee9c7e204f
delete document cache embedding (#2101)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-19 21:37:54 +08:00
Bowen Liang 483dcb6340
fix: skip linking /etc/localtime file first in api docker image (#2099) 2024-01-19 21:06:26 +08:00
Bowen Liang 9ad7b65996
support setting timezone in docker images (#2091) 2024-01-19 20:30:36 +08:00
crazywoola ec1659cba0
fix: saving error in empty dataset (#2098) 2024-01-19 20:12:04 +08:00
Joshua 09a8db10d4
Add jina-embeddings-v2-base-de model configuration (#2094) 2024-01-19 18:11:55 +08:00
Bowen Liang e2c89a9487
fix: bypass admin users to use dataset api with API key (#2072) 2024-01-19 17:23:05 +08:00
Jyong 869690c485
fix notion estimate (#2090)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-19 13:27:12 +08:00
Jyong a3c7c07ecc
use redis to cache embeddings (#2085)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-18 21:39:12 +08:00
takatost 6c28e1e69a
fix: version (#2083) 2024-01-18 16:44:09 +08:00
takatost 0e1163f698
feat: remove deprecated envs (#2078) 2024-01-18 14:44:37 +08:00
takatost 8654415f33
bump version to 0.4.8 (#2074) 2024-01-17 22:51:02 +08:00
takatost 1a6ad05a23
feat: service api add llm usage (#2051) 2024-01-17 22:39:47 +08:00
takatost 1d91535ba6
fix: azure customize model name duplicate (#2073) 2024-01-17 21:17:59 +08:00
takatost 8799c888e3
fix: free quota type apply button missing (#2069)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-01-17 15:02:27 +08:00
crazywoola d7209d9057
feat: add abab5.5s-chat (#2063) 2024-01-16 19:45:21 +08:00
Jyong a61df6cb03
timeout parameter error (#2052)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-16 14:44:47 +08:00
Jyong 790b885d0a
fix multi-dataset retrieve score limit (#2050)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-16 14:14:34 +08:00
Ricky 1a2eacc5a6
Add jina-embeddings-v2-base-zh model configuration (#2049) 2024-01-16 12:25:42 +08:00
takatost c51e179db8
bump version to 0.4.7 (#2045) 2024-01-16 01:13:10 +08:00
takatost b582fc13c3
fix: qwen top_p min/max wrong (#2044) 2024-01-16 01:12:55 +08:00
Jyong add33cb5e6
fix SQL slow query (#2043)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-16 00:59:28 +08:00
Garfield Dai 83105d0d8f
fix: dataset and moderation. (#2042) 2024-01-15 21:53:31 +08:00
takatost 28cd3a8c9f
fix: dependencies security problems (#2040) 2024-01-15 19:26:08 +08:00
Jyong cb7a608d75
ascii filter Unicode U+FFFE (#2038)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-15 16:52:18 +08:00
Yeuoly 149102927b
fix: openai tool tokens (#2026) 2024-01-14 15:51:05 +08:00
Garfield Dai cb7be3767c
feat: huggingface llm add new params. (#2014) 2024-01-12 21:15:07 +08:00
takatost 34bf2877c8
fix: tongyi stream generate not incremental and add qwen max models (#2013) 2024-01-12 19:19:12 +08:00
killpanda 3ebec8fa41
fixup /stop api (#2012)
Co-authored-by: mayue <mayue05@qiyi.com>
2024-01-12 19:10:42 +08:00
Jyong a63a9c7d45
text spliter length method use default embedding model tokenizer (#2011)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-12 18:45:34 +08:00
takatost 1779cea6e3
fix: model provider credentials null value validate failed (#2009) 2024-01-12 16:48:38 +08:00
takatost 9245f0adac
bump version to 0.4.6 (#2006) 2024-01-12 12:43:54 +08:00
Bowen Liang cc9e74123c
improve: introduce isort for linting Python imports (#1983) 2024-01-12 12:34:01 +08:00
takatost cca9edc97a
feat: ollama support (#2003) 2024-01-12 12:29:13 +08:00
Jyong 5e75f7022f
fix data_source_detail_dict parameter error (#2000)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-11 17:49:20 +08:00
takatost 5e97eb1840
fix: azure openai stream response usage missing (#1998) 2024-01-11 17:34:58 +08:00
Yeuoly c9e4147b11
optimize baichuan invalid key error (#1996) 2024-01-11 13:35:24 +08:00
takatost f7939c758f
feat: bump version 0.4.5 (#1994) 2024-01-11 10:55:56 +08:00
takatost bf7045566d
fix: azure openai model parameters wrong when using hosting credentials (#1993) 2024-01-11 10:49:35 +08:00
Yeuoly ebd11e7482
fix: baichuan max chunks (#1990) 2024-01-10 23:13:35 +08:00
takatost 94626487db
fix: resend url optional (#1987) 2024-01-10 21:14:10 +08:00
Jyong 24bdedf802
fix get embedding model provider in empty dataset (#1986)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-10 20:48:16 +08:00
Benjamin 1fe4e3afde
Update Resend SDK and resend api url in configuration. (#1963) 2024-01-10 18:15:02 +08:00
Jyong 9dee9e7ade
fix rerank issue when doing economy search (#1978)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-09 20:56:13 +08:00
takatost 33901384c6
fix: httpx socks package missing (#1977) 2024-01-09 20:16:07 +08:00
Charlie.Wei 7a221d0858
Fix hosting cloud version limit (#1975)
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-01-09 19:56:09 +08:00
Jyong 60ee98f578
zhipu embedding token method (#1976)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-09 19:54:02 +08:00
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>
2024-01-09 19:17:47 +08:00
Bowen Liang b8592ad412
fix: indentation violations in YAML files (#1972) 2024-01-09 18:15:25 +08:00
Chenhe Gu 344821ed35
enforce utf-8 encoding for provider response (#1973) 2024-01-09 14:22:05 +08:00
Bowen Liang c32c177e15
improvement: introduce Super-Linter actions to check style for shell script, dockerfile and yaml files (#1966) 2024-01-09 10:31:52 +08:00
Chenhe Gu 5ff701ca3f
correct xorbits spelling (#1965) 2024-01-08 10:19:56 +08:00
takatost 9f58912fd7
bump version to 0.4.4 (#1962) 2024-01-06 03:08:05 +08:00
takatost 0c746f5c5a
fix: generate not stop when pressing stop link (#1961) 2024-01-06 03:03:56 +08:00
Garfield Dai a8cedea15a
fix: check result should be string. (#1959) 2024-01-05 22:11:51 +08:00
Chenhe Gu 87832ede17
delete remnant 'required': false (#1955) 2024-01-05 19:18:33 +08:00
Jyong 4d99c689f0
prohibit enable and disable function when segment is not completed (#1954)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-01-05 18:18:38 +08:00
Jyong 28b26f67e2
optimize qa prompt (#1957)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-05 18:17:55 +08:00
Chenhe Gu b934232411
change API key field to 'required' (#1953) 2024-01-05 17:19:04 +08:00
takatost 2f120786fd
feat: reorder togetherai (#1951) 2024-01-05 17:04:37 +08:00
Chenhe Gu 6075fee556
Add Together.ai's OpenAI API-compatible inference endpoints (#1947) 2024-01-05 16:36:29 +08:00
Chenhe Gu de584807e1
fix streaming (#1944) 2024-01-05 01:03:54 -06:00
Garfield Dai cf1f6f3961
fix: text completion app cannot get data. (#1942) 2024-01-05 14:29:01 +08:00
takatost f4d97ef9fa
fix: arg user required and must not be null in service generate api (#1943) 2024-01-05 14:28:03 +08:00
takatost 28883e80d4
fix: gpt-4-32k model name empty in OpenAI response (#1941) 2024-01-05 12:49:26 +08:00
takatost a0f74cdd9d
fix: llm result usage none (#1940) 2024-01-05 12:47:10 +08:00
takatost 296bf443a8
feat: reuse decoding_rsa_key & decoding_cipher_rsa & optimize construct (#1937) 2024-01-05 12:13:45 +08:00
takatost af7be9bdd7
Feat/optimize entity construct (#1935) 2024-01-05 09:43:41 +08:00
takatost 2cfd5568e1
fix: vision fail in complete app (#1933) 2024-01-05 04:23:12 +08:00
takatost faf40a42bc
feat: optimize memory & invoke error output (#1931) 2024-01-05 03:47:46 +08:00
takatost 97c972f14d
feat: bump version 0.4.3 (#1930) 2024-01-04 21:16:47 +08:00
takatost 3fa5204b0c
feat: optimize performance (#1928) 2024-01-04 20:48:54 +08:00
Yeuoly 5a756ca981
fix: xinference cache (#1926) 2024-01-04 20:39:58 +08:00
Liu Peng 01f9feff9f
fix a typo in file agent_app_runner.py (#1927) 2024-01-04 20:39:06 +08:00
Jyong 2757494265
alter schedule timedelta (#1923)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-04 18:10:16 +08:00
takatost b88a8f7bb1
feat: optimize invoke errors (#1922) 2024-01-04 17:49:55 +08:00
takatost b4225bedb5
fix: app create raise error when no available model providers (#1921) 2024-01-04 17:33:26 +08:00
waltcow a82b4d315a
Fix comparison bug in ApplicationQueueManager (#1919) 2024-01-04 17:33:08 +08:00
takatost 3d92784bd4
fix: email template style (#1914) 2024-01-04 16:53:11 +08:00
Jyong 4a3d15b6de
fix customer spliter character (#1915)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-04 16:21:48 +08:00
Garfield Dai 665318da3d
fix: remove useless code. (#1913) 2024-01-04 15:27:05 +08:00
takatost a938e1f184
fix: notion_indexing_estimate embedding_model_instance NPE (#1907) 2024-01-04 13:28:52 +08:00
takatost 7c7ee633c1
fix: spark credentials validate (#1906) 2024-01-04 13:20:45 +08:00
crazywoola 18af84e193
fix: array oob in azure openai embeddings (#1905) 2024-01-04 13:11:54 +08:00
takatost 025b859c7e
fix: tongyi generate error (#1904) 2024-01-04 12:57:45 +08:00
newsouther 0e239a4f71
fix: read file encoding error (#1902)
Co-authored-by: maple <1071520@gi>
2024-01-04 12:52:10 +08:00
Jyong a0a9461f79
Fix/add qdrant timeout default value (#1901)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-04 10:58:47 +08:00
takatost 6a2eb5f442
fix: customize model schema fetch failed raise error (#1900) 2024-01-04 10:53:50 +08:00
takatost 0c5892bcb6
fix: zhipuai chatglm turbo prompts must user, assistant in sequence (#1899) 2024-01-04 10:39:21 +08:00
takatost 91ff07fcf7
bump version to 0.4.2 (#1898) 2024-01-04 01:35:07 +08:00
takatost bb7af56e69
fix: zhipuai history format wrong (#1897) 2024-01-04 01:30:23 +08:00
Chenhe Gu 77f9e8ce0f
add example api url endpoint in placeholder (#1887)
Co-authored-by: takatost <takatost@gmail.com>
2024-01-04 01:16:51 +08:00
Jyong 5ca4c4a44d
add qdrant client timeout limit (#1894)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-03 22:23:04 +08:00
takatost 6333cf43a8
fix: anthropic messages empty raise errors (#1893) 2024-01-03 22:12:14 +08:00
Garfield Dai 91ee62d1ab
fix: huggingface and replicate. (#1888) 2024-01-03 18:29:44 +08:00
takatost ede69b4659
fix: gemini block error (#1877)
Co-authored-by: chenhe <guchenhe@gmail.com>
2024-01-03 17:45:15 +08:00
waltcow 61aaeff413
Fix variable name in AgentApplicationRunner (#1884) 2024-01-03 17:44:41 +08:00
crazywoola 4d502ea44d
fix: openai embedding list out of bound (#1879) 2024-01-03 15:30:22 +08:00
Yeuoly 9134849744
fix: remove tiktoken from text splitter (#1876) 2024-01-03 13:02:56 +08:00
Garfield Dai fcf8512956
fix: more like this. (#1875) 2024-01-03 12:51:19 +08:00
takatost ae975b10e9
fix: openai origin credential not start with { (#1874) 2024-01-03 12:10:43 +08:00
Yeuoly b43f1441a9
Fix/model runtime (#1873) 2024-01-03 11:36:57 +08:00
takatost 5a2aa83030
fix: ciphertext error (#1872) 2024-01-03 11:20:46 +08:00
takatost 4de27d0404
bump version to 0.4.1 (#1870) 2024-01-03 10:01:37 +08:00
Yeuoly c6d59681ff
fix: xinference secret server_url (#1869) 2024-01-03 10:01:11 +08:00
takatost 3b668c0bb1
fix: IntegrityError import wrong (#1868) 2024-01-03 09:35:03 +08:00
takatost 4aed1fe8a8
fix: Azure text-davinci-003 missing (#1867) 2024-01-03 09:27:09 +08:00
takatost 2381264a3f
fix: provider create cause IntegrityError (#1866) 2024-01-03 09:12:53 +08:00
takatost 4562e83b24
fix: hit testing throws errors cause internal server error (#1865) 2024-01-03 08:57:39 +08:00
takatost 7be77c19f5
fix: default model parameter precision (#1864) 2024-01-03 08:52:22 +08:00
takatost 82247c0f14
fix: agent strategy missing in app model config (#1863) 2024-01-03 08:43:51 +08:00
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>
2024-01-02 23:42:00 +08:00
Jyong e91dd28a76
fix file estimate issue (#1860)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-02 16:25:59 +08:00
Jyong 595e9b25ba
Add data clean schedule (#1859)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-02 15:29:18 +08:00
waltcow 06d2d8cea3
Refactor BaseVectorIndex delete method (#1853) 2023-12-30 21:49:01 +08:00
Jyong da4847c5a8
fix segment update issue (#1844)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-26 16:22:51 +08:00