Yeuoly
e6b20c91b9
fix: exit smoothly
2024-12-10 00:21:27 +08:00
Yeuoly
15c14aedf8
feat: agent plugin
2024-12-09 22:01:41 +08:00
Yeuoly
9e0f50b230
feat: support TOP_K as default parameter
2024-12-05 20:55:53 +08:00
-LAN-
dd77ee95e0
chore: remove unused openai_compatible.py ( #5 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-05 17:28:10 +08:00
-LAN-
42980322a0
feat: support convert in the PromptMessage.transform_content
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-04 15:09:37 +08:00
-LAN-
c2a56f8c85
feat(entities): Add VideoPromptMessageContent and AudioPromptMessageContent
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-04 13:03:15 +08:00
Yeuoly
2fd16834d0
feat: support mime type and type for File
2024-12-03 16:54:01 +08:00
Yeuoly
6bd2aa721f
fix: Sequence to list
2024-12-03 15:30:55 +08:00
Yeuoly
435c0da60e
refactor: use absolute paths
2024-12-03 15:19:19 +08:00
-LAN-
102a9cc2ba
fix: strip-with-multi-characters
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:43:08 +08:00
-LAN-
71b5791c2c
chore: Remove unused variables
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:20:45 +08:00
-LAN-
b4b0c29169
refactor: prevent raise-without-from-inside-except
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:18:56 +08:00
-LAN-
da41fbf0ab
refactor: suppressible-exception
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:13:06 +08:00
-LAN-
061cf9e456
chore: prevent if-else-block-instead-of-if-exp
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:05:48 +08:00
-LAN-
6358a80025
chore: prevent collapsible-if
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:59:13 +08:00
-LAN-
7436c3c98c
refactor: prevent multiple-with-statements
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:56:57 +08:00
-LAN-
ef7b886db4
refactor: prevent yoda-conditions
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:55:35 +08:00
-LAN-
105606e34b
refactor: Remove un-needed bool
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:53:23 +08:00
-LAN-
c58be38047
fix(plugin_executor): Yield data then return
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:32:58 +08:00
-LAN-
63d84d6ae3
fix(llm.py): Use clearly variable name.
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:28:44 +08:00
-LAN-
deb1216d01
refactor: Use pathlib instead of open.
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:27:44 +08:00
-LAN-
4551f79ca3
chore: Fix lines-too-long
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:27:12 +08:00
-LAN-
b3e0612e53
chore: Apply format
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:18:36 +08:00
-LAN-
37128aeadd
chore: Apply unsafe auto-fixes and check manually
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:17:21 +08:00
-LAN-
5858fe715e
chore: Apply formet and auto fix
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:10:36 +08:00
-LAN-
e71dbdef59
feat: Introduce PDM
...
1. Use PDM and `pyproject.toml` instead of the `requirements.txt` under `python/dify_plugin`.
2. Use PDM and `setup-pdm` action instead of setuptools and publish manually.
> You can configure trusted publishers for PyPI so that you don't need to expose the PyPI tokens in the release workflow. To do this, follow [the guide](https://docs.pypi.org/trusted-publishers/adding-a-publisher/ ) to add a publisher.
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 20:44:06 +08:00
Yeuoly
d38869f0c2
fix: add min summarize_length
2024-12-02 16:30:26 +08:00
Yeuoly
ad6ca50b38
feat: summarize, fix: missing files
2024-12-02 16:00:34 +08:00
Yeuoly
642308f123
feat: support detail logs for DEBUGGING
2024-12-02 14:10:00 +08:00
Yeuoly
05d6255e6a
fix: set default value None to permission field
2024-12-02 13:25:27 +08:00
Yeuoly
347cb0c5f0
fix: add ParameterType text
2024-11-29 20:23:48 +08:00
Yeuoly
5bcbae8b80
fix: add json schema
2024-11-29 20:19:57 +08:00
Yeuoly
07a02f67d6
fix: field validator should be wrappered with classmethod
2024-11-29 20:14:12 +08:00
Yeuoly
4afefe26e4
fix: add prompt_message transformer
2024-11-29 20:06:48 +08:00
Yeuoly
9f6754dd31
fix: openai api compatible get_num_tokens and document prompt message content
2024-11-29 20:00:03 +08:00
Yeuoly
7f87021c2a
feat: support DOCUMENT/AUDIO/VIDEO to ModelFeature
2024-11-29 17:48:05 +08:00
Yeuoly
3507f55e46
feat: openai compat
2024-11-29 16:46:37 +08:00
Yeuoly
3811d8d786
refactor: tts
2024-11-29 15:54:56 +08:00
Yeuoly
eb8a9c4039
fix: add float type to default
2024-11-28 17:35:37 +08:00
Yeuoly
afd5c2c3e4
fix: credentials
2024-11-27 17:46:59 +08:00
Yeuoly
b21d97ea39
refactor: allow user_id to be transformed into from_credentials
2024-11-26 17:26:27 +08:00
Yeuoly
af63f59827
refactor: text-embedding
2024-11-22 18:15:58 +08:00
Yeuoly
d6b9a6a84c
fix: increase timeout of http backwards invocations
2024-11-20 21:08:53 +08:00
Yeuoly
d5d796bc29
refactor: remove files to be delivered to dify
2024-11-19 13:11:46 +08:00
Yeuoly
4962415904
fix: missing app permission configuration
2024-11-18 17:04:01 +08:00
Yeuoly
9bddcd4745
fix: decoding error when chunking messages
2024-11-15 19:27:35 +08:00
Yeuoly
39aeab91c9
cleanup
2024-11-15 16:45:44 +08:00
Yeuoly
364c8af027
enhance: add file to global
2024-11-14 20:29:11 +08:00
Yeuoly
b237ed2b50
feat: support file type
2024-11-14 18:56:27 +08:00
Yeuoly
c49b84824c
feat: support upload files
2024-11-14 18:36:03 +08:00