Commit Graph

508 Commits (5ff701ca3f7e799f5aa67a304c2904005e24ee3e)

Author SHA1 Message Date
YiLi 7699621983
fix: Use correct typehint for return values (#1454)
Co-authored-by: lethe <lethe>
2 years ago
takatost 4dfbcd0b4e
feat: support chatglm_turbo model #1443 (#1460) 2 years ago
crazywoola a9ee18300e
fix: service suggested api (#1452) 2 years ago
takatost 076f3289d2
feat: add spark v3.0 llm support (#1434) 2 years ago
takatost fb64fcb271
feat: upgrade xinference-client to 0.5.4 (#1402) 2 years ago
takatost e122d677ad
fix: return wrong when init 0 quota in trial provider (#1394) 2 years ago
takatost 4c63cbf5b1
feat: adjust anthropic (#1387) 2 years ago
Garfield Dai fe14130b3c
refactor advanced prompt core. (#1350) 2 years ago
wayne.wang 52ebffa857
fix: app config zhipu chatglm_std model, but it still use chatglm_lit… (#1377)
Co-authored-by: wayne.wang <wayne.wang@beibei.com>
2 years ago
takatost 7c9b585a47
feat: support weixin ernie-bot-4 and chat mode (#1375) 2 years ago
takatost c039f4af83
fix: app model config detached in completion thread (#1366) 2 years ago
takatost 07285e5f8b
feat: optimize completion model agent (#1364) 2 years ago
takatost 2feb16d957
feat: bump version to 0.3.28 (#1349) 2 years ago
Garfield Dai 695841a3cf
Feat/advanced prompt enhancement (#1340) 2 years ago
takatost 3efaa713da
feat: use xinference client instead of xinference (#1339) 2 years ago
takatost 9822f687f7
fix: max tokens of OpenAI gpt-3.5-turbo-instruct to 4097 (#1338) 2 years ago
Charlie.Wei 298ad6782d
Add Message Suggested Api (#1326)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2 years ago
takatost f4be2b8bcd
fix: raise error in minimax stream generate (#1336) 2 years ago
takatost 7dea485d57
feat: bump version to 0.3.27 (#1331) 2 years ago
Garfield Dai 42a5b3ec17
feat: advanced prompt backend (#1301)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
takatost 2d1cb076c6
fix: dataset segment not exist return agent response (#1329) 2 years ago
Jyong 289c93d081
Feat/improve document delete logic (#1325)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 9cba1c8bf4
fix: retriever_resource missing (#1317) 2 years ago
takatost cbf095465c
feat: remove llm client use (#1316) 2 years ago
takatost ff493d017b
fix: minimax tests (#1313) 2 years ago
Jyong 7f6ad9653e
Fix/grpc gevent compatible (#1314)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 2851a9f04e
feat: optimize minimax llm call (#1312) 2 years ago
takatost c536f85b2e
fix: compatibility issues with the tongyi model. (#1310) 2 years ago
takatost b1352ff8b7
feat: using random sampling to check if it violates the review mechan… (#1308) 2 years ago
Jyong cc63c8499f
bump version to 0.3.26 (#1307)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong f191b8b8d1
milvus docker compose env (#1306)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 5003db987d
milvus secure check fix (#1305)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 07aab5e868
Feat/add milvus vector db (#1302)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 875dfbbf0e
fix: openllm completion start with prompt, remove it (#1303) 2 years ago
Charlie.Wei 9e7efa45d4
document segmentApi Add get&update&delete operate (#1285)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2 years ago
takatost 8bf892b306
feat: bump version to 0.3.25 (#1300) 2 years ago
takatost 8480b0197b
fix: prompt for baichuan text generation models (#1299) 2 years ago
takatost 4ab4bcc074
feat: support openllm embedding (#1293) 2 years ago
takatost 1d4f019de4
feat: add baichuan llm support (#1294)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
2 years ago
takatost 677aacc8e3
feat: upgrade xinference client to 0.5.2 (#1292) 2 years ago
takatost fda937175d
feat: qdrant support in docker compose (#1286) 2 years ago
takatost 024250803a
feat: move login_required wrapper outside (#1281) 2 years ago
takatost 373e90ee6d
fix: detached model in completion thread (#1269) 3 years ago
takatost 41d4c5b424
fix: count down thread in completion db not commit (#1267) 3 years ago
takatost 86a9dea428
fix: db not commit when streaming output (#1266) 3 years ago
takatost 8606d80c66
fix: request timeout when openai completion (#1265) 3 years ago
takatost 5bffa1d918
feat: bump version to 0.3.24 (#1262) 3 years ago
zxhlyh c9b0fe47bf
Fix/notion sync (#1258) 3 years ago
Jyong 5e511e01bf
Fix/dataset api key delete (#1255)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost a31466d34e
fix: db session not commit before long llm call running (#1251) 3 years ago
takatost d38eac959b
fix: wenxin model name invalid when llm call (#1248) 3 years ago
Jyong 46154c6705
Feat/dataset service api (#1245)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
3 years ago
Garfield Dai 54ff03c35d
fix: dataset query error. (#1244) 3 years ago
Garfield Dai 18c710c906
feat: support binding context var (#1227)
Co-authored-by: Joel <iamjoel007@gmail.com>
3 years ago
zxhlyh 227f9fb77d
Feat/api jwt (#1212) 3 years ago
Jyong 724e053732
Fix/qdrant data issue (#1203)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Garfield Dai e409895c02
Feat/huggingface embedding support (#1211)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
3 years ago
takatost 32d9b6181c
fix: transaction not commit during long LLM calls (#1213) 3 years ago
takatost 2b018fade2
fix: transaction hangs due to message commit block during long LLM calls (#1206) 3 years ago
takatost 5809edd74b
feat: bump version to 0.3.23 (#1198) 3 years ago
takatost 435f804c6f
fix: gpt-3.5-turbo-instruct context size to 8192 (#1196) 3 years ago
takatost ae3f1ac0a9
feat: support gpt-3.5-turbo-instruct model (#1195) 3 years ago
Jyong 269a465fc4
Feat/improve vector database logic (#1193)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost 827c97f0d3
feat: add zhipuai (#1188) 3 years ago
takatost c8bd76cd66
fix: inference embedding validate (#1187) 3 years ago
charli117 20bab6edec
Restore the application template (#1174)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
3 years ago
charli117 67bed54f32
Mermaid front end rendering (#1166)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
3 years ago
Matri fc68c81791
fix: correct invite url (#1173) 3 years ago
Jyong 5d9070bc60
Feat/add blocking mode resource return (#1171)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost f9082104ed
feat: add hosted moderation (#1158) 3 years ago
takatost 983834cd52
feat: spark check (#1134) 3 years ago
takatost 24cb992843
feat: bump version to 0.3.22 (#1153) 3 years ago
Jyong 642842d61b
Feat:dataset retiever resource (#1123)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
3 years ago
KVOJJJin e161c511af
Feat:csv & docx support (#1139)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost f29e82685e
feat: bump version to 0.3.21 (#1145) 3 years ago
takatost 3a5ae96e7b
fix: TRANSFORMERS_OFFLINE orders in Dockerfile (#1144) 3 years ago
takatost b63a685386
feat: set transformers offline default true (#1143) 3 years ago
takatost 877da82b06
feat: cache huggingface gpt2 tokenizer files (#1138) 3 years ago
Joel 2d5ad0d208
feat: support optional query content (#1097)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
3 years ago
takatost 1ade70aa1e
feat: bump version to 0.3.20 (#1135) 3 years ago
takatost 2658c4d57b
fix: answer returned null when response_mode was blocking (#1133) 3 years ago
takatost 6effcd3755
feat: optimize celery start cmd (#1129) 3 years ago
takatost c4d8bdc3db
fix: hf hosted inference check (#1128) 3 years ago
Matri a5d21f3b09
fix: shortening invite url (#1100)
Co-authored-by: MatriQi <matri@aifi.io>
3 years ago
takatost a7cdb745c1
feat: support spark v2 validate (#1086) 3 years ago
takatost 73c86ee6a0
fix: prompt of title generation (#1084) 3 years ago
takatost 48eb590065
feat: optimize last_active_at update (#1083) 3 years ago
takatost 33562a9d8d
feat: optimize prompt (#1080) 3 years ago
Rhon Joe c9194ba382
chore(api): api image multistage build (#1069) 3 years ago
takatost a199fa6388
feat: optimize high load sql query of document segment (#1078) 3 years ago
takatost 4c8608dc61
feat: optimize conversation title generation output must be a valid JSON (#1077) 3 years ago
takatost df6604a734
feat: optimize generation of conversation title (#1075) 3 years ago
takatost 1ca86cf9ce
feat: bump version to 0.3.19 (#1074) 3 years ago
takatost 78e26f8b75
fix: summary no docs (#1073) 3 years ago
takatost 2191312bb9
fix: segments query missing idx hit (#1072) 3 years ago
takatost fcc6b41ab7
feat: decrease claude model request time by set max top_k to 10 (#1071) 3 years ago
takatost d75e8aeafa
feat: disable anthropic retry (#1067) 3 years ago
takatost 2eba98a465
feat: optimize anthropic connection pool (#1066) 3 years ago
takatost a7a7aab7a0
fix: csv import error (#1063) 3 years ago
crazywoola 86bfbb47d5
chore: doc issue (#1062) 3 years ago
yezhwi d33a269548
refactor(file extractor): file extractor (#1059) 3 years ago
Matri d3f8ea2df0
Feat/support to invite multiple users (#1011) 3 years ago
Jyong 7df56ed617
fix error weaviate vector (#1058)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
KVOJJJin c67f345d0e
Fix: disable operations of dataset when embedding unavailable (#1055)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
yezhwi 8b8e510bfe
fix: handle AttributeError for datasets and index (#1052) 3 years ago
takatost 417c19577a
feat: add LocalAI local embedding model support (#1021)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
3 years ago
Jyong b5953039de
recreate qdrant vector (#1049)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Jyong a43e80dd9c
add qdrant migration (#1046)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
WangBooth ad5f27bc5f
fix openpyxl dimensions error (#1041) 3 years ago
takatost 7b3314c5db
fix: dataset desc (#1045) 3 years ago
Jyong a55ba6e614
Fix/ignore economy dataset (#1043)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Jyong 16199e968e
fix notion import limit check (#1042)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost 02452421d5
fix: pub generate message text return null (#1037) 3 years ago
takatost 0796791de5
feat: hf inference endpoint stream support (#1028) 3 years ago
takatost 6c148b223d
fix: dataset query truncated (#1026) 3 years ago
Jyong e053215155
fix document estimate parameter (#1019)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Jyong 38fa152cc4
fix update document index technique (#1018)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Uranus 2d9616c29c
fix: xinference last token being ignored (#1013) 3 years ago
Jyong 915e26527b
update dataset index struct (#1012)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Jyong 2d604d9330
Fix/filter empty segment (#1004)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Jyong e7199826cc
embedding model available check (#1009)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
yezhwi c1602aafc7
refactor:cache in place & function name (#1001) 3 years ago
Jyong b1fd1b3ab3
Feat/vector db manage (#997)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Jyong 5397799aac
document limit (#999)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost 8e837dde1a
feat: bump version to 0.3.18 (#1000) 3 years ago
takatost 9ae91a2ec3
feat: optimize xinference request max token key and stop reason (#998) 3 years ago
takatost ef61e1487f
fix: safetensor arm complie error (#996) 3 years ago
takatost 701e2b334f
feat: remove unnecessary prompt of baichuan (#993) 3 years ago
takatost 6ebd6e7890
feat: bump version to 0.3.17 (#992) 3 years ago
takatost bd3a9b2f8d
fix: xinference-chat-stream-response (#991) 3 years ago
takatost 18d3877151
feat: optimize xinference stream (#989) 3 years ago
takatost 53e83d8697
feat: optimize baichuan prompt (#988) 3 years ago
takatost 2c30d19cbe
feat: add baichuan prompt (#985) 3 years ago
takatost 9b247fccd4
feat: adjust hf max tokens (#979) 3 years ago
John Wang 3d38aa7138 feat: bump version to 0.3.16 3 years ago
takatost 7d2552b3f2
feat: upgrade xinference to 0.2.1 which support stream response (#977) 3 years ago
yezhwi 117a209ad4
Fix:condition for dataset availability check (#973) 3 years ago
takatost a76fde3d23
feat: optimize hf inference endpoint (#975) 3 years ago
Jyong 1fc57d7358
normalize embedding (#974)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost f8fbe96da4
feat: bump version to 0.3.15 (#959) 3 years ago
takatost 5cba2e7087
fix: web reader tool retrieve content empty (#957) 3 years ago
Jyong 5623839c71
update document segment (#950)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost 78d3aa5fcd
fix: embedding init err (#956) 3 years ago
takatost 4f3053a8cc
fix: xinference chat completion error (#952) 3 years ago
Jyong aee15adf1b
update document segment (#948)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost a3aba7a9aa
fix: provider model not delete when reset key pair (#946) 3 years ago
takatost 866ee5da91
fix: openllm generate cutoff (#945) 3 years ago
takatost e0a48c4972
fix: xinference chat support (#939) 3 years ago
Jyong 4b53bb1a32
Feat/token support (#909)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost 4c49ecedb5
feat: optimize web reader summary in 3.5 (#933) 3 years ago
takatost 4ff1870a4b
fix: web reader tool missing nodejs (#932) 3 years ago
takatost 6c832ee328
fix: remove openllm pypi package because of this package too large (#931) 3 years ago
takatost 25264e7852
feat: add xinference embedding model support (#930) 3 years ago
takatost 18dd0d569d
fix: xinference max_tokens alisa error (#929) 3 years ago
takatost 3ea8d7a019
feat: add openllm support (#928) 3 years ago
takatost da3f10a55e
feat: server xinference support (#927) 3 years ago
takatost 22c1aafb9b
fix: document paused at format error (#925) 3 years ago
takatost 8d6d1c442b
feat: optimize generate name length (#924) 3 years ago
takatost 95b179fb39
fix: replicate text generation model validate (#923) 3 years ago
takatost 3a0a9e2d8f
fix: embedding get price definition missing (#922) 3 years ago
takatost 0a0d63457d
feat: record price unit in messages (#919) 3 years ago
takatost 920fb6d0e1
fix: embedding price config (#918) 3 years ago
Krasus.Chen fd0fc8f4fe
Fix/price calc (#862) 3 years ago
takatost 1c552ff23a
fix: azure embedding model credentials include base_model_name is invalid for openai sdk (#917) 3 years ago
takatost 5163dd38e5
fix: run extra model serval ex not return (#916) 3 years ago
takatost 2a27dad2fb
fix: run model serval ex not return (#915) 3 years ago
takatost 930f74c610
feat: remove unuse envs (#912) 3 years ago
takatost 09ea27f1ee
feat: optimize service api authorization header invalid error (#910) 3 years ago
Jyong db7156dafd
Feature/mutil embedding model (#908)
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
3 years ago
takatost d9afebe216
feat: optimize output parse (#906) 3 years ago
takatost 1d9cc5ca05
fix: universal chat when default model invalid (#905) 3 years ago
takatost edb06f6aed
fix: react router agent direct output (#904) 3 years ago
takatost 6ca3bcbcfd
fix: sensitive_word_avoidance npe (#902) 3 years ago
takatost 9adbeadeec
feat: claude paid optimize (#890) 3 years ago
takatost 2f7b234cc5
fix: max token not exist in generate summary when calc rest tokens (#891) 3 years ago
takatost 0cc0b6e052
fix: error raise status code not exist (#888) 3 years ago
takatost f42e7d1a61
feat: add spark v2 support (#885) 3 years ago
takatost c4d759dfba
fix: wenxin error not raise when stream mode (#884) 3 years ago
takatost 39574dcf6b
feat: optimize prompt of suggested_questions_after_answer (#881) 3 years ago
Matri 155a4733f6
Feat/customizable file upload config (#818) 3 years ago
takatost b7c29ea1b6
feat: optimize model when app create (#875) 3 years ago
takatost cc2d71c253
feat: optimize override app model config convert (#874) 3 years ago
takatost 2dfb3e95f6
feat: optimize error record in agent (#869) 3 years ago
Jyong f207e180df
fix multi thread app context (#868)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost 948d64bbef
fix: get_num_tokens_from_messages params error (#866) 3 years ago
takatost 216fc5d312
feat: bump version 0.3.14 (#861) 3 years ago
takatost 7a8590980e
fix: dataset direct output (#860) 3 years ago
takatost e8c14bb732
feat: rename title in site both rename name in app (#857) 3 years ago
Matri 2c77a74c40
fix: frontend permission check (#784) 3 years ago
takatost 3b8234e486
feat: bump version to 0.3.13 (#830) 3 years ago
takatost cc52cdc2a9
Feat/add free provider apply (#829) 3 years ago
crazywoola 48a303b8e9
Feature/fix disable site (#825) 3 years ago
takatost 8e15ba6cd6
Fix/no trial provider (#823) 3 years ago
takatost 7898937eae
feat: optimize message return (#822) 3 years ago
takatost 1bd0a76a20
feat: optimize error raise (#820) 3 years ago
takatost 2f179d61dc
fix: completion error when dataset was deleted (#819) 3 years ago
conghaoyuan c13a90ee69
only admin and owner can delete app (#810) 3 years ago
takatost f18ce203b5
feat: optimize error logging (#808) 3 years ago
takatost b81b8637ec
feat: temp remove paid option of anthropic (#807) 3 years ago
takatost 55b24c373f
Revert "Fix/disable site when change code" (#805) 3 years ago