-LAN-
460a825ef1
refactor: decouple Node and NodeData (#22581)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
3 个月前
QuantumGhost
2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025 )
This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.
Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types
Closes #22024 .
3 个月前
-LAN-
6eb155ae69
feat(api/repo): Allow to config repository implementation (#21458)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
3 个月前
QuantumGhost
bd1bbfee4b
Enhance Code Consistency Across Repository with `.editorconfig` (#19023)
6 个月前
ZalterCitty
a1158cc946
fix: Update prompt message content types to use Literal and add union type for content (#17136)
Co-authored-by: 朱庆超 <zhuqingchao@xiaomi.com>
Co-authored-by: crazywoola <427733928@qq.com>
6 个月前
yihong
f04d52c044
fix: autocorrect everything in api (#17859)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
6 个月前
Yongtao Huang
d339403e89
Chore: optimize the code of PromptTransform (#16143)
7 个月前
kurokobo
86d3fff666
fix: respect resolution settings for vision for basic chatbot, text generator, and parameter extractor node (#16041)
7 个月前
yihong
56e15d09a9
feat: mypy for all type check (#10921)
10 个月前
-LAN-
464e6354c5
feat: correct the prompt grammar. (#11328)
Signed-off-by: -LAN- <laipz8200@outlook.com>
11 个月前
Hash Brown
c4fad66f2a
fix: `dialogue_count` incorrect in chatflow when there's... (#11175)
11 个月前
Bowen Liang
6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386)
11 个月前
-LAN-
c5f7d650b5
feat: Allow using file variables directly in the LLM node and support more file types. (#10679)
Co-authored-by: Joel <iamjoel007@gmail.com>
11 个月前
-LAN-
25ca0278dd
refactor(core): Remove extra_config from File. (#10203)
11 个月前
-LAN-
faad247d85
fix(upload): correct incorrect dictionary key usage (#9563)
1年前
-LAN-
e61752bd3a
feat/enhance the multi-modal support (#8818)
1年前
Hash Brown
8c51d06222
feat: regenerate in `Chat`, `agent` and `Chatflow` app (#7661)
1年前
Bowen Liang
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules (#8296)
1年前
Bowen Liang
c69f5b07ba
chore: apply ruff E501 line-too-long linter rule (#8275)
Co-authored-by: -LAN- <laipz8200@outlook.com>
1年前
Bowen Liang
2cf1187b32
chore(api/core): apply ruff reformatting (#7624)
1年前
-LAN-
8f16165f92
chore(api/core): Improve FileVar's type hint and imports. (#7290)
1年前
Bowen Liang
dcb72e0067
chore: apply flake8-comprehensions Ruff rules to improve collection comprehensions (#5652)
Co-authored-by: -LAN- <laipz8200@outlook.com>
1年前
Bowen Liang
f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592)
1年前
takatost
3929d289e0
feat: set default memory messages limit to infinite (#5002)
1年前
takatost
d1dbbc1e33
feat: backend model load balancing support (#4927)
1年前
zeroameli
afed3610fc
fix organize agent's history messages without recalculating tokens (#4324)
Co-authored-by: chenyongzhao <chenyz@mama.cn>
1年前
Yeuoly
e852a21634
Feat/workflow phase2 (#4687)
1年前
Bowen Liang
083ef2e6fc
improve: exract Code Node provider for each supported scripting language (#4164)
1年前
Yeuoly
8578ee0864
feat: support LLM jinja2 template prompt (#3968)
Co-authored-by: Joel <iamjoel007@gmail.com>
1年前
takatost
12435774ca
feat: query prompt template support in chatflow (#3791)
Co-authored-by: Joel <iamjoel007@gmail.com>
1年前
takatost
2ea8c73cd8
fix: type num of variable converted to str (#3758)
1年前
takatost
826c422ac4
feat: Add Cohere Command R / R+ model support (#3333)
1年前
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>
1年前
Jyong
28b1c48235
improve qa generate prompt (#3132)
Co-authored-by: jyong <jyong@dify.ai>
1年前
Mark Sun
510f8ede10
Improve automatic prompt generation (#2805)
1年前
crazywoola
6bd2730317
Fix/2770 suggestions for next steps (#2788)
1年前
Bowen Liang
063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419)
1年前
Bowen Liang
14a19a3da9
chore: apply ruff's pyflakes linter rules (#2420)
1年前
Bowen Liang
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366)
1年前
takatost
556d1d0390
fix variable invalid when key only one character (#2377)
1年前
Bowen Liang
cc9e74123c
improve: introduce isort for linting Python imports (#1983)
1年前
takatost
cca9edc97a
feat: ollama support (#2003)
1年前
Jyong
28b26f67e2
optimize qa prompt (#1957)
Co-authored-by: jyong <jyong@dify.ai>
1年前
takatost
2cfd5568e1
fix: vision fail in complete app (#1933)
1年前
newsouther
0e239a4f71
fix: read file encoding error (#1902)
Co-authored-by: maple <1071520@gi>
1年前
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>
1年前
Garfield Dai
8835435558
fix: change model mode. (#1520)
1年前
takatost
41d0a8b295
feat: [backend] vision support (#1510)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
1年前
Garfield Dai
fe14130b3c
refactor advanced prompt core. (#1350)
2 年前
Garfield Dai
695841a3cf
Feat/advanced prompt enhancement (#1340)
2 年前