Commit Graph

50 Commits

Author SHA1 Message Date
Bowen Liang
f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592) 2024-06-14 01:05:37 +08:00
takatost
3929d289e0
feat: set default memory messages limit to infinite (#5002) 2024-06-06 17:39:44 +08:00
takatost
d1dbbc1e33
feat: backend model load balancing support (#4927) 2024-06-05 00:13:04 +08:00
zeroameli
afed3610fc
fix organize agent's history messages without recalculating tokens (#4324)
Co-authored-by: chenyongzhao <chenyz@mama.cn>
2024-05-29 15:25:20 +08:00
Yeuoly
e852a21634
Feat/workflow phase2 (#4687) 2024-05-27 22:01:11 +08:00
Bowen Liang
083ef2e6fc
improve: exract Code Node provider for each supported scripting language (#4164) 2024-05-17 11:58:12 +08:00
Yeuoly
8578ee0864
feat: support LLM jinja2 template prompt (#3968)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-05-10 18:08:32 +08:00
takatost
12435774ca
feat: query prompt template support in chatflow (#3791)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-04-25 18:01:53 +08:00
takatost
2ea8c73cd8
fix: type num of variable converted to str (#3758) 2024-04-24 15:07:56 +08:00
takatost
826c422ac4
feat: Add Cohere Command R / R+ model support (#3333) 2024-04-11 01:22:55 +08:00
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>
2024-04-08 18:51:46 +08:00
Jyong
28b1c48235
improve qa generate prompt (#3132)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-07 15:21:11 +08:00
Mark Sun
510f8ede10
Improve automatic prompt generation (#2805) 2024-03-13 14:10:47 +08:00
crazywoola
6bd2730317
Fix/2770 suggestions for next steps (#2788) 2024-03-12 16:27:55 +08:00
Bowen Liang
063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419) 2024-02-09 15:21:33 +08:00
Bowen Liang
14a19a3da9
chore: apply ruff's pyflakes linter rules (#2420) 2024-02-08 14:11:10 +08:00
Bowen Liang
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366) 2024-02-06 13:21:13 +08:00
takatost
556d1d0390
fix variable invalid when key only one character (#2377) 2024-02-04 18:15:13 +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
28b26f67e2
optimize qa prompt (#1957)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-05 18:17:55 +08:00
takatost
2cfd5568e1
fix: vision fail in complete app (#1933) 2024-01-05 04:23:12 +08:00
newsouther
0e239a4f71
fix: read file encoding error (#1902)
Co-authored-by: maple <1071520@gi>
2024-01-04 12:52:10 +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
Garfield Dai
8835435558
fix: change model mode. (#1520) 2023-11-13 23:13:01 +08:00
takatost
41d0a8b295
feat: [backend] vision support (#1510)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2023-11-13 22:05:46 +08:00
Garfield Dai
fe14130b3c
refactor advanced prompt core. (#1350) 2023-10-18 20:02:52 +08:00
Garfield Dai
695841a3cf
Feat/advanced prompt enhancement (#1340) 2023-10-13 16:47:01 +08:00
Garfield Dai
42a5b3ec17
feat: advanced prompt backend (#1301)
Co-authored-by: takatost <takatost@gmail.com>
2023-10-12 10:13:10 -05:00
Jyong
642842d61b
Feat:dataset retiever resource (#1123)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-09-10 15:17:43 +08:00
Joel
2d5ad0d208
feat: support optional query content (#1097)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2023-09-10 00:12:34 +08:00
takatost
73c86ee6a0
fix: prompt of title generation (#1084) 2023-09-01 14:55:58 +08:00
takatost
33562a9d8d
feat: optimize prompt (#1080) 2023-09-01 11:46:06 +08:00
takatost
4c8608dc61
feat: optimize conversation title generation output must be a valid JSON (#1077) 2023-09-01 10:31:42 +08:00
takatost
df6604a734
feat: optimize generation of conversation title (#1075) 2023-09-01 02:28:37 +08:00
takatost
701e2b334f
feat: remove unnecessary prompt of baichuan (#993) 2023-08-24 15:30:59 +08:00
takatost
53e83d8697
feat: optimize baichuan prompt (#988) 2023-08-24 12:07:10 +08:00
takatost
2c30d19cbe
feat: add baichuan prompt (#985) 2023-08-24 10:22:36 +08:00
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>
2023-08-18 17:37:31 +08:00
takatost
39574dcf6b
feat: optimize prompt of suggested_questions_after_answer (#881) 2023-08-17 10:46:33 +08:00
takatost
cc2d71c253
feat: optimize override app model config convert (#874) 2023-08-16 20:48:42 +08:00
KVOJJJin
cf93d8d6e2
Feat: Q&A format segmentation support (#668)
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-07-28 20:47:15 +08:00
John Wang
df68a7c82b
feat: Optimize the quality of the title generate (#484) 2023-06-28 19:59:20 +08:00
John Wang
408fbb0c70
fix: title, summary, suggested questions generate (#476) 2023-06-28 15:43:33 +08:00
John Wang
835bf9fd8d
fix: template parse error when pre prompt include {{}} (#462) 2023-06-27 15:51:55 +08:00
John Wang
c720f831af
feat: optimize template parse (#460) 2023-06-27 15:30:38 +08:00
John Wang
3241e4015b
feat: upgrade langchain (#430)
Co-authored-by: jyong <718720800@qq.com>
2023-06-25 16:49:14 +08:00
John Wang
490858a4d5
feat: auto rule generator (#273) 2023-05-31 22:03:15 +08:00
John Wang
7f48fadd41
fix: prompt template parantheses select error (#244) 2023-05-29 19:10:31 +08:00
John Wang
db896255d6 Initial commit 2023-05-15 08:51:32 +08:00