Commit Graph

432 Commits (767d8a4b052d8753b91e6ae05ed75328befe643e)

Author SHA1 Message Date
Jyong a3c7c07ecc
use redis to cache embeddings (#2085)
Co-authored-by: jyong <jyong@dify.ai>
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
takatost 8799c888e3
fix: free quota type apply button missing (#2069)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2 years ago
crazywoola d7209d9057
feat: add abab5.5s-chat (#2063) 2 years ago
Jyong a61df6cb03
timeout parameter error (#2052)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 790b885d0a
fix multi-dataset retrieve score limit (#2050)
Co-authored-by: jyong <jyong@dify.ai>
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
Jyong add33cb5e6
fix SQL slow query (#2043)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Garfield Dai 83105d0d8f
fix: dataset and moderation. (#2042) 2 years ago
Jyong cb7a608d75
ascii filter Unicode U+FFFE (#2038)
Co-authored-by: jyong <jyong@dify.ai>
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
Jyong a63a9c7d45
text spliter length method use default embedding model tokenizer (#2011)
Co-authored-by: jyong <jyong@dify.ai>
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
Jyong 9dee9e7ade
fix rerank issue when doing economy search (#1978)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 33901384c6
fix: httpx socks package missing (#1977) 2 years ago
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>
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
takatost 0c746f5c5a
fix: generate not stop when pressing stop link (#1961) 2 years ago
Garfield Dai a8cedea15a
fix: check result should be string. (#1959) 2 years ago
Chenhe Gu 87832ede17
delete remnant 'required': false (#1955) 2 years ago
Jyong 28b26f67e2
optimize qa prompt (#1957)
Co-authored-by: jyong <jyong@dify.ai>
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
Garfield Dai cf1f6f3961
fix: text completion app cannot get data. (#1942) 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 296bf443a8
feat: reuse decoding_rsa_key & decoding_cipher_rsa & optimize construct (#1937) 2 years ago
takatost af7be9bdd7
Feat/optimize entity construct (#1935) 2 years ago
takatost 2cfd5568e1
fix: vision fail in complete app (#1933) 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
Liu Peng 01f9feff9f
fix a typo in file agent_app_runner.py (#1927) 2 years ago
takatost b4225bedb5
fix: app create raise error when no available model providers (#1921) 2 years ago
waltcow a82b4d315a
Fix comparison bug in ApplicationQueueManager (#1919) 2 years ago
Jyong 4a3d15b6de
fix customer spliter character (#1915)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Garfield Dai 665318da3d
fix: remove useless code. (#1913) 2 years ago
takatost a938e1f184
fix: notion_indexing_estimate embedding_model_instance NPE (#1907) 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 6a2eb5f442
fix: customize model schema fetch failed raise error (#1900) 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
Jyong 5ca4c4a44d
add qdrant client timeout limit (#1894)
Co-authored-by: jyong <jyong@dify.ai>
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
waltcow 61aaeff413
Fix variable name in AgentApplicationRunner (#1884) 2 years ago
crazywoola 4d502ea44d
fix: openai embedding list out of bound (#1879) 2 years ago
Yeuoly 9134849744
fix: remove tiktoken from text splitter (#1876) 2 years ago
Garfield Dai fcf8512956
fix: more like this. (#1875) 2 years ago
takatost ae975b10e9
fix: openai origin credential not start with { (#1874) 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 3b668c0bb1
fix: IntegrityError import wrong (#1868) 2 years ago
takatost 4aed1fe8a8
fix: Azure text-davinci-003 missing (#1867) 2 years ago
takatost 2381264a3f
fix: provider create cause IntegrityError (#1866) 2 years ago
takatost 7be77c19f5
fix: default model parameter precision (#1864) 2 years ago
takatost 82247c0f14
fix: agent strategy missing in app model config (#1863) 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
waltcow 06d2d8cea3
Refactor BaseVectorIndex delete method (#1853) 2 years ago
Charlie.Wei 6b57e4e0ff
Fix chitchat lost context (#1828)
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
Bannings 0b7e0cadc0
Fix Azure OpenAI Provider BASE_MODELS (#1813)
Co-authored-by: xifan <xifan@gaoding.com>
2 years ago
Charlie.Wei 64642fabc4
Parse base64 eml file (#1796)
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
Jyong df1509983c
ppt & pptx improve (#1790)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 5e34f938c1
Feat/add unstructured support (#1780)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 2fd56cb01c
Fix/vdb index issue (#1776)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong ebc2cdad2e
fix annotation query exception (#1771)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
zxhlyh 5bb841935e
feat: custom webapp logo (#1766) 2 years ago
Jyong a71f2863ac
Annotation management (#1767)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Qiwen Tong c09184fd94
update bm25 search properties (#1758)
Co-authored-by: Blade <zhangxiaobin@unixyz.cn>
2 years ago
Charlie.Wei b0d8d196e1
azure openai add gpt-4-1106-preview、gpt-4-vision-preview models (#1751)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 years ago
Garfield Dai 6b499b9a16
remove stripe and anthropic. (#1746) 2 years ago
Jyong d5695b3170
check rerank document is not empty (#1740)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
crazywoola 994fceece3
fix: qa regex (#1738) 2 years ago
Jyong 8c451eb0e6
fix only full text search in app issue (#1736)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Pascal M bc54cdc537
refactor: typo in dataset docstore (#1711) 2 years ago
Pascal M 5d10cf0fe6
fix: error Class 'builtins.list' is not mapped (#1710) 2 years ago
Yeuoly d3a2c0ed34
fix wrong syntax of type definitions (#1678) 2 years ago
Wen O.Y a1cd043fdc
fix: Incorrect order of embedded documents in CacheEmbedding (#1671) 2 years ago
WangBooth 22bc9ddc73
Hotfix/fix documents index mismatch error in rerank (#1662)
Co-authored-by: baomi.wbm <baomi.wbm@dtwave-inc.com>
2 years ago
zxhlyh 451af66be0
feat: add jina embedding (#1647)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
WangBooth 53be4d2712
fix #1637 (#1638)
Co-authored-by: baomi.wbm <baomi.wbm@dtwave-inc.com>
2 years ago
Jyong 74b2260ba6
fix score_threshold_enabled name (#1626)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 93467cb363
fix: dataset tool missing in n-to-1 retrieve mode (#1617) 2 years ago
takatost ea526d0822
feat: chatglm3 support (#1616) 2 years ago
takatost 0e627c920f
feat: xinference rerank model support (#1615) 2 years ago
Jyong a5b80c9d1f
Fix/multi thread parameter (#1604) 2 years ago
Jyong f704094a5f
fix hybrid search when document is none (#1603)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong b930716745
fix weaviate hybrid search issue (#1600)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 4a55d5729d
feat: add anthropic claude-2.1 support (#1591) 2 years ago
takatost c9368925a3
feat: add `supported_model_types` field and filter in provider list (#1581) 2 years ago
Jyong 0d9ce1bab0
fix multi retrieval with resource score issue (#1578)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 0e08526428
fix hybrid search reranking check (#1563)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 4588831bff
Feat/add retriever rerank (#1560)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost d654770732
feat: supports for new version of openllm (#1554) 2 years ago
Garfield Dai 8835435558
fix: change model mode. (#1520) 2 years ago
takatost 41d0a8b295
feat: [backend] vision support (#1510)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2 years ago
crazywoola d0e1ea8f06
1506 remove duplicated code (#1511) 2 years ago
takatost 9de67c586f
feat: update free plan rules of spark (#1515) 2 years ago
takatost d7ae86799c
feat: support basic feature of OpenAI new models (#1476) 2 years ago
takatost 059c089f93
fix: external data tool batch retrieve bug (#1472) 2 years ago
Garfield Dai db43ed6f41
feat: add api-based extension & external data tool & moderation backend (#1403)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
takatost 4dfbcd0b4e
feat: support chatglm_turbo model #1443 (#1460) 2 years ago
takatost 076f3289d2
feat: add spark v3.0 llm support (#1434) 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 07285e5f8b
feat: optimize completion model agent (#1364) 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
takatost f4be2b8bcd
fix: raise error in minimax stream generate (#1336) 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
Jyong 7f6ad9653e
Fix/grpc gevent compatible (#1314)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost 2851a9f04e
feat: optimize minimax llm call (#1312) 3 years ago
takatost c536f85b2e
fix: compatibility issues with the tongyi model. (#1310) 3 years ago
takatost b1352ff8b7
feat: using random sampling to check if it violates the review mechan… (#1308) 3 years ago
Jyong 5003db987d
milvus secure check fix (#1305)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
Jyong 07aab5e868
Feat/add milvus vector db (#1302)
Co-authored-by: jyong <jyong@dify.ai>
3 years ago
takatost 875dfbbf0e
fix: openllm completion start with prompt, remove it (#1303) 3 years ago
takatost 8480b0197b
fix: prompt for baichuan text generation models (#1299) 3 years ago
takatost 4ab4bcc074
feat: support openllm embedding (#1293) 3 years ago