-LAN-
b3fdd618a1
refactor(core): simplify role handling and improve usability
...
- Replaced explicit string usage with `CreatedByRole` enum for better maintainability.
- Removed duplicate `CreatedByRole` class definition, improving codebase consistency.
- Increased file number limits from 6 to 10 to allow more file uploads.
- Transitioned `AppMode` to a string enum for consistent type usage.
- Refactored `extract_thread_messages` function argument for flexibility.
- Removed file extension limitation in file service to support custom extensions.
- Improved enum import statements across multiple modules for clarity and consistency.
2024-10-15 11:04:28 +08:00
-LAN-
ea18dd1571
feat(api): Enhance multi modal support.
2024-10-14 16:47:03 +08:00
Bowen Liang
0f14873255
chore: cleanup ruff flake8-simplify linter rules ( #8286 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-12 12:55:45 +08:00
Bowen Liang
17fd773a30
chore(api/services): apply ruff reformatting ( #7599 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-26 13:43:57 +08:00
Sangmin Ahn
dd676866aa
chore: exclude .txt extenstion in create_by_text API ( #6956 )
2024-08-05 15:52:07 +08:00
Waffle
7b225a5ab0
refactor(services/tasks): Swtich to dify_config witch Pydantic ( #6203 )
2024-07-12 12:25:38 +08:00
kurokobo
c5d64baba4
fix: correct typos ( #5510 )
2024-06-22 23:01:02 +08:00
Jyong
07387e9586
add the filename length limit ( #5326 )
2024-06-17 20:36:54 +08:00
LIU HONGWEI
c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling ( #3408 ) ( #3416 )
2024-04-12 16:22:24 +08:00
chenxu9741
ad65c891e7
add xls file suport ( #3321 )
2024-04-12 14:53:44 +08:00
LiuVaayne
b00466f025
feat:api Add support for extracting EPUB files in ExtractProcessor ( #3254 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-12 11:25:02 +08:00
Jyong
6c4e6bf1d6
Feat/dify rag ( #2528 )
...
Co-authored-by: jyong <jyong@dify.ai>
2024-02-22 23:31:57 +08:00
Jyong
97fe817186
Fix/upload limit ( #2521 )
...
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-02-22 17:16:22 +08:00
Jyong
20b932da97
del doc support ( #2494 )
...
Co-authored-by: jyong <jyong@dify.ai>
2024-02-20 16:05:09 +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
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
crazywoola
8438d820ad
Feat/2070 glm 4 and glm 3 turbo ( #2114 )
2024-01-21 16:58:06 +08:00
crazywoola
1f48e3d44a
feat: support legacy doc ( #2100 )
2024-01-20 22:21:51 +08:00
Bowen Liang
cc9e74123c
improve: introduce isort for linting Python imports ( #1983 )
2024-01-12 12:34:01 +08:00
Jyong
08494058e9
fix file type not support when preview ( #1841 )
...
Co-authored-by: jyong <jyong@dify.ai>
2023-12-26 15:06:44 +08:00
Jyong
022450768f
fix gpt 4v upload image issue ( #1799 )
...
Co-authored-by: jyong <jyong@dify.ai>
2023-12-20 13:03:08 +08:00
Jyong
5e34f938c1
Feat/add unstructured support ( #1780 )
...
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 23:24:06 +08:00
zxhlyh
5bb841935e
feat: custom webapp logo ( #1766 )
2023-12-18 16:25:37 +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
Jyong
46154c6705
Feat/dataset service api ( #1245 )
...
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-09-27 16:06:32 +08:00