Commit Graph

314 Commits (56e15d09a9e94de963dd5fc38c7455a7aaee99f3)

Author SHA1 Message Date
Joe b347a2f839
Feat/user session id search (#6638) 2 years ago
Joe 8123a00e97
feat: update prompt generate (#6516) 2 years ago
非法操作 f17d4fe412
fix: extract only `like` feedback to caculate User Satisfaction (#6553) 2 years ago
tmuife 06fc1bce9e
Add search by full text when using Oracle23ai as vector DB (#6559) 2 years ago
-LAN- 5e6fc58db3
Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
Shoya SHIRAKI c57b3931d5
refactor(api): switch to dify_config in controllers/console (#6485) 2 years ago
Bowen Liang 7943f7f697
chore: fix legacy API usages of Query.get() by Session.get() in SqlAlchemy 2 (#6340) 2 years ago
Charlie.Wei 06fcc0c650
Fix tts api err (#6349)
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 0de224b153
fix wrong using of RetrievalMethod Enum (#6345) 2 years ago
takatost 46a5294d94
feat(backend): support import DSL from URL (#6287) 2 years ago
Zhuo Qiu 63e34e5227
feat: support MyScale vector database (#6092) 2 years ago
liuzhenghua 9622fbb62f
feat: app rate limit (#5844)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Joe ce930f19b9
fix dataset operator (#6064)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
8bitpd 7c70eb87bc
feat: support AnalyticDB vector store (#5586)
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2 years ago
chenxu9741 6ef401a9f0
feat:add tts-streaming config and future (#5492) 2 years ago
-LAN- 4d105d7bd7
feat(*): Swtich to dify_config. (#6025) 2 years ago
takatost 79df8825c8
Revert "feat: knowledge admin role" (#6018) 2 years ago
xielong 00b4cc3cd4
feat: implement forgot password feature (#5534) 2 years ago
Joe 5d9ad430af
feat: knowledge admin role (#5965)
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2 years ago
Joe 59ad091e69
feat: add export permission (#5841) 2 years ago
Jyong 71bcf75d9a
Feat/add delete knowledge confirm (#5810) 2 years ago
takatost 906857b28a
fix: couldn't log in or resetup after a failed setup (#5739) 2 years ago
Diego Romero-Lovo 4c0a31d38b
FR: #4048 - Add color customization to the chatbot (#4885)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
Joe 4e2de638af
feat: add ops trace (#5483)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Jyong 43335b5c87
delete the deprecated method (#5612) 2 years ago
takatost ec1d3ddee2
feat: support importing and overwriting workflow DSL (#5511)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2 years ago
Yeuoly 023dba9475
fix: revert CI path filters (#5561) 2 years ago
kurokobo c5d64baba4
fix: correct typos (#5510) 2 years ago
tmuife 6a09409ec9
Add Oracle23ai as a vector datasource (#5342)
Co-authored-by: walter from vm <walter.jin@oracle.com>
2 years ago
crazywoola 92ddb410cd
feat: option to hide workflow steps (#5436) 2 years ago
-LAN- 1336b844fd
feat(api/auth): switch-to-stateful-authentication (#5438) 2 years ago
Bowen Liang c923684edd
chore: extract retrival method literal values into enum (#5060) 2 years ago
Bowen Liang 3cc6093e4b
feat: introduce pydantic-settings for config definition and validation (#5202)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
baojingyu d160d1ed02
feat: support opensearch approximate k-NN (#5322) 2 years ago
Charles Zhou cc4a4ec796
feat: permission and security fixes (#5266) 2 years ago
Jyong ba5f8afaa8
Feat/firecrawl data source (#5232)
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
kurokobo ef6034abfd
fix: allow the name and icon of the web app to be set independently of that of the bot itself (#5225) 2 years ago
Charles Zhou 8bcc5a36bb
feat: new editor user permission profile (#4435)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
quicksand 4080f7b8ad
feat: support tencent vector db (#3568) 2 years ago
Summer-Gu 7f98c2ea3f
refactor: Delete the dataset to verify whether it is in use (#5112) 2 years ago
Bowen Liang f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592) 2 years ago
Bowen Liang cdc08a434f
feat: support Chroma vector store (#5015) 2 years ago
Bowen Liang bdad993901
improve: generalize vector factory classes and vector type (#5033) 2 years ago
Weaxs 0797f9bc05
feat: support tidb vector (#4588) 2 years ago
takatost d1dbbc1e33
feat: backend model load balancing support (#4927) 2 years ago
Jyong 4e3b0c5aea
support rename document (#4915) 2 years ago
Moonlit 86e7c7321f
Fixed a bug where any content in the 'fetch' was converted to True (#4400) 2 years ago
Charlie.Wei d058a234ba
Fixed workflow tts feature audition (#4867) 2 years ago
Yeuoly e852a21634
Feat/workflow phase2 (#4687) 2 years ago
Charlie.Wei cd4924d472
Fix tts audition (#4656)
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
Patryk Garstecki aa13d14019
Feat/chat custom disclaimer (#4306) 2 years ago
zxhlyh 8b931b085c
fix: app logo (#4483) 2 years ago
Garfield Dai dd94931116
Remove useless code (#4416) 2 years ago
Yeuoly 182dadd433
chore: remove model as tool (#4409) 2 years ago
LiuVaayne 875249eb00
Feat/vector db pgvector (#3879) 2 years ago
takatost 8f3042e5b3
feat: Add draft hash check in workflow (#4251) 2 years ago
Garfield Dai 6f1e4a19a2
fix: workflow avg user interaction. (#4056) 2 years ago
Jyong 3e9dbe3e0a
add pgvecto_rs support and upgrade SQLAlchemy (#3833) 2 years ago
羊羽 975b2fb79e
delete duplicate check get_dataset (#3966)
Co-authored-by: baxiang <baxiang@lixiang.com>
2 years ago
Jingpan Xiong 1be222af2e
fix: using api can not execute relyt vector database (#3766)
Co-authored-by: jingsi <jingsi@leadincloud.com>
2 years ago
Bowen Liang c54fcfb45d
extract enum type for tenant account role (#3788) 2 years ago
Jyong f257f2c396
Knowledge optimization (#3755)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
Yeuoly 3480f1c59e
refactor: tool parameter cache (#3703) 2 years ago
Bowen Liang d9b821cecc
chore: apply ruff rules on tests and app.py (#3605) 2 years ago
Garfield Dai 4481906be2
Feat/enterprise sso (#3602) 2 years ago
Jyong 394ceee141
optimize question classifier prompt and support keyword hit test (#3565) 2 years ago
LIU HONGWEI c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling (#3408) (#3416) 2 years ago
takatost f599f41336
fix: empty conversation list of explore chatbot (#3235) 2 years ago
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>
2 years ago
Jyong e12a0c154c
add segment function billing check for SAAS env (#3082)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 32e83e00e4
feat: use en-US as fallback recommend app if using unmaintained language (#3063) 2 years ago
Bowen Liang 1f98a4fff3
improve: cache tool icons by setting max-age HTTP header and enable gzip compression SVG icons from backend (#2971) 2 years ago
Yeuoly f29280ba5c
Fix/compatible to old tool config (#2839) 2 years ago
Yeuoly bbea3a6b84
fix: compatible to old tool config (#2837) 2 years ago
Yeuoly f8951d7f57
fix: api tool provider not found (#2782) 2 years ago
Yeuoly ce58f0607b
Feat/tool secret parameter (#2760) 2 years ago
Yeuoly 40c646cf7a
Feat/model as tool (#2744) 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
Yeuoly 36686d7425
fix: test custom tool already exists without decrypting credentials (#2668) 2 years ago
takatost 76da66fb7e
fix: fix import from explore apps err when OpenAI not inited (#2671) 2 years ago
Garfield Dai 8e66b96221
Feat: Add documents limitation (#2662) 2 years ago
crazywoola 582ba45c00
Fix 500 error when creating from the template and the provider is None (#2591) 2 years ago
Jyong 5b953c1ef2
Fix some RAG bugs (#2570)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 6c4e6bf1d6
Feat/dify rag (#2528)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
zxhlyh 207080babc
fix: audio to text (#2493) 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
takatost e6d22fc3a0
fix: account has no owner workspace by member inviting (#2435) 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 14a19a3da9
chore: apply ruff's pyflakes linter rules (#2420) 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
crazywoola a8f23ed712
Feat/move tenant id into db (#2341) 2 years ago
takatost 9f637ead38
bump version to 0.5.3 (#2306) 2 years ago
Chenhe Gu 09acf215f0
add option to prompt for a validation password when initializing admin user (#2302) 2 years ago
Yeuoly 83063532a0
Fix/api tool (#2317) 2 years ago
Yeuoly 34634bddf1
fix: setting default model to gpt-3.5-turbo-1106 and remove default m… (#2274) 2 years ago
crazywoola b4988ce20c
fix: missing keys language in parser (#2271) 2 years ago
Garfield Dai d3d617239f
Feat/utm update (#2269)
Co-authored-by: Joel <iamjoel007@gmail.com>
2 years ago
Benjamin 7076d41b29
Bugfix/invitemailmultilangs (#2257)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
Garfield Dai bb5d5fc683
Feat/billing enhancement (#2239)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
crazywoola 828822243a
fix: multiple rows were found correctly (#2219) 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
Garfield Dai 95ad06c8c3
feat: utm supports. (#2181) 2 years ago
takatost 6d94126368
fix: transcript asr params wrong (#2162) 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
crazywoola c17baef172
Feat/portuguese support (#2075) 2 years ago
takatost 23e02d8eb0
feat: remove universal chat app (#2140) 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
Garfield Dai 51f23c5dc2
feat: support re-invite email. (#2107) 2 years ago
crazywoola 1f48e3d44a
feat: support legacy doc (#2100) 2 years ago
crazywoola ec1659cba0
fix: saving error in empty dataset (#2098) 2 years ago
takatost 1a6ad05a23
feat: service api add llm usage (#2051) 2 years ago
Bowen Liang cc9e74123c
improve: introduce isort for linting Python imports (#1983) 2 years ago
Jyong 5e75f7022f
fix data_source_detail_dict parameter error (#2000)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
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>
2 years ago
takatost b88a8f7bb1
feat: optimize invoke errors (#1922) 2 years ago
takatost b4225bedb5
fix: app create raise error when no available model providers (#1921) 2 years ago
takatost 4562e83b24
fix: hit testing throws errors cause internal server error (#1865) 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
Jyong e91dd28a76
fix file estimate issue (#1860)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Garfield Dai 7b37e05dec
feat: add billing switch. (#1789)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2 years ago
taokuizu 10fc44e2af
fix typo (#1791) 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
Garfield Dai 2de73991ff
feat: only tenant owner can subscription. (#1770) 2 years ago
zxhlyh 5bb841935e
feat: custom webapp logo (#1766) 2 years ago
Jyong 96d2de2258
fix annotation reply in universal chat (#1768)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong a71f2863ac
Annotation management (#1767)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Garfield Dai 6b499b9a16
remove stripe and anthropic. (#1746) 2 years ago
crazywoola 38b55d2186
fix: default types (#1728) 2 years ago
Garfield Dai 7b8a10f3ea
feat: billing enhancement 20231204 (#1691)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Garfield Dai 053102f433
Feat/dify billing (#1679)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: takatost <takatost@users.noreply.github.com>
2 years ago
Yeuoly d3a2c0ed34
fix wrong syntax of type definitions (#1678) 2 years ago
takatost 0e627c920f
feat: xinference rerank model support (#1615) 2 years ago
waltcow 3c0fbf3a6a
fix sql transaction error in statistic API (#1586) 2 years ago
Jyong cc35d0645a
Compatible model saving error (#1582)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost c9368925a3
feat: add `supported_model_types` field and filter in provider list (#1581) 2 years ago
Jyong 6717bb2b72
fix the error message (#1564)
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 41d0a8b295
feat: [backend] vision support (#1510)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
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
Garfield Dai 695841a3cf
Feat/advanced prompt enhancement (#1340) 2 years ago
Charlie.Wei 298ad6782d
Add Message Suggested Api (#1326)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2 years ago
Garfield Dai 42a5b3ec17
feat: advanced prompt backend (#1301)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
takatost 024250803a
feat: move login_required wrapper outside (#1281) 2 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
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 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