Commit Graph

1588 Commits

Author SHA1 Message Date
ahasasjeb
cc63af8e72
Removed firecrawl-py, fixed and improved firecrawl tool (#5896)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-07-05 18:04:51 +08:00
非法操作
bf2268b0af
fix API tool's schema not support array (#6006) 2024-07-05 17:11:59 +08:00
xielong
00b4cc3cd4
feat: implement forgot password feature (#5534) 2024-07-05 13:38:51 +08:00
Aurelius Huang
f546db5437
fix: document truncation and loss in notion document sync (#5631)
Co-authored-by: Aurelius Huang <cm.huang@aftership.com>
2024-07-05 11:48:17 +08:00
orangeclk
f8aaa57f31
feat: add retry mechanism for zhipuai (#5926) 2024-07-05 10:49:18 +08:00
jianglin1008
cabcf94be3
fix: TENCENT_VECTOR_DB_REPLICAS can be set to 0 (#5968)
Co-authored-by: jianglin <jianglin@wangxiaobao.com>
2024-07-05 08:32:28 +08:00
legao
2d6624cf9e
typo: Update README.md (#5987) 2024-07-04 22:50:27 +08:00
-LAN-
02982df0d4
fix: Fix some type error in http executor. (#5915) 2024-07-04 19:34:37 +08:00
-LAN-
d7f75d17cc
Chore/remove-unused-code (#5917) 2024-07-04 18:18:26 +08:00
Joe
5d9ad430af
feat: knowledge admin role (#5965)
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2024-07-04 16:21:40 +08:00
Joe
688b8fe114
fix: langfuse logical operator error (#5948) 2024-07-04 13:47:15 +08:00
longzhihun
aecdfa2d5c
feat: add claude3 function calling (#5889) 2024-07-03 22:21:02 +08:00
-LAN-
cb8feb732f
refactor: Create a dify_config with Pydantic. (#5938) 2024-07-03 21:09:23 +08:00
orangeclk
c490bdfbf9
fix: zhipuai pytest correction (#5934) 2024-07-03 19:19:33 +08:00
-LAN-
e7494d632c
docs(api/core/tools/docs/en_US/tool_scale_out.md): Format by markdownlint. (#5903) 2024-07-03 13:13:38 +08:00
takatost
e3006f98c9
chore: remove dify SaaS URL in default configs (#5888) 2024-07-02 22:49:18 +08:00
quicksand
372dc7ac1a
fix bug : TencentVectorDBConfig Add TENCENT_VECTOR_DB_DATABASE (#5879) 2024-07-02 21:31:14 +08:00
-LAN-
66a62e6c13
refactor(api/core/app/apps/base_app_generator.py): improve input validation and sanitization in BaseAppGenerator (#5866) 2024-07-02 18:58:07 +08:00
Jyong
0944ca9d91
Fix/remove tsne position test (#5858)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-07-02 17:57:42 +08:00
Masashi Tomooka
6e256507d3
doc: docker-compose won't start due to wrong README (#5859) 2024-07-02 16:10:22 +08:00
Joe
59ad091e69
feat: add export permission (#5841) 2024-07-02 13:37:37 +08:00
Joe
598e030a7e
feat: update LangfuseConfig host config (#5846) 2024-07-02 13:14:07 +08:00
-LAN-
32d85fb896
chore: Update some type hints in config. (#5833) 2024-07-02 08:50:02 +08:00
Jyong
af308b99a3
sync delete app table record when delete app (#5819) 2024-07-02 08:48:29 +08:00
quicksand
2a27568537
Enhance: tools wecom bot support markdown message (#5791) 2024-07-01 18:19:47 +08:00
hymvp
1d3e96ffa6
add support oracle oci object storage (#5616) 2024-07-01 17:21:44 +08:00
Joe
b7b1396c51
fix: ops trace slow db (#5812) 2024-07-01 17:09:53 +08:00
Jyong
71bcf75d9a
Feat/add delete knowledge confirm (#5810) 2024-07-01 17:06:51 +08:00
Charles Zhou
850c2273ee
feat: Nominatim OpenStreetMap search tool (#5789) 2024-07-01 16:34:32 +08:00
Charles Zhou
cb09dbef66
feat: correctly delete applications using Celery workers (#5787) 2024-07-01 14:21:17 +08:00
longzhihun
fdfbbde10d
[seanguo] modify bedrock Claude3 invoke method to converse API (#5768)
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2024-07-01 04:36:13 +08:00
Joe
f637ae4794
fix: langsmith message_trace end_user_data session_id error (#5759) 2024-06-30 01:12:16 +08:00
Joe
ffb07eb24b
fix: workflow trace none type error (#5758) 2024-06-29 23:32:52 +08:00
Yeuoly
f101fcd0e7
fix: missing process data in parameter extractor (#5755) 2024-06-29 23:29:43 +08:00
takatost
1e045a0187
fix: slow sql of ops tracing (#5749) 2024-06-29 20:28:30 +08:00
takatost
8fd75e6965
bump to 0.6.12-fix1 (#5743) 2024-06-29 17:43:20 +08:00
takatost
d56cedfc67
fix: app config does not use empty string in the env (#5741) 2024-06-29 17:15:25 +08:00
takatost
906857b28a
fix: couldn't log in or resetup after a failed setup (#5739) 2024-06-29 17:07:21 +08:00
takatost
6d0cea5fe6
bump to 0.6.12 (#5712) 2024-06-28 22:00:19 +08:00
takatost
0bf4817474
fix: _convert_prompt_message_to_dict parameters err (#5716) 2024-06-28 21:00:00 +08:00
takatost
8e5569f773
fix: fix-app-site-missing command (#5714) 2024-06-28 20:33:53 +08:00
takatost
d30c13891b
feat: add fix-app-site-missing command (#5711) 2024-06-28 20:20:23 +08:00
takatost
017d2c804b
fix: do not remove (#5706) 2024-06-28 19:33:42 +08:00
呆萌闷油瓶
68ac433218
feat: add support Spark4.0 (#5688) 2024-06-28 17:39:11 +08:00
Joe
dd5f3873da
feat: change TRACE_QUEUE_MANAGER_INTERVAL default value (#5698)
Co-authored-by: takatost <takatost@gmail.com>
2024-06-28 17:34:58 +08:00
scotlandowl
73ce945d40
Feat/add json process tool (#5555) 2024-06-28 11:57:32 +08:00
luckylhb90
d37ee498cd
fix: do not remove (#5682)
Co-authored-by: hobo.l <hobo.l@binance.com>
2024-06-28 11:19:34 +08:00
Kevin
b3d6726f65
Feature/add qwen llm (#5659) 2024-06-28 11:06:29 +08:00
William Espegren
f9e4b4e74c
Fix docker command (#5681) 2024-06-28 01:23:01 +08:00
liuzhenghua
2b080b5cfc
feature: Add presence_penalty and frequency_penalty parameters to the … (#5637)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
2024-06-28 00:27:20 +08:00
Joe
e8b8f6c6dd
Feat/fix ops trace (#5672)
Co-authored-by: takatost <takatost@gmail.com>
2024-06-28 00:24:37 +08:00
Bowen Liang
2a13ef9ae0
chore: rearrange python dependencies in groups (#5603) 2024-06-27 17:52:54 +08:00
takatost
3ccad33194
feat: add jina new pre-defined rerankers, include: jina-reranker-v2 (#5657) 2024-06-27 13:45:35 +08:00
sunxichen
bafc8a0bde
fix: tool call message role according to credentials (#5625)
Co-authored-by: sunxichen <sun.xc@digitalcnzz.com>
2024-06-27 12:35:27 +08:00
非法操作
92c56fdf2b
fix: HTTP request header is overwritten when user set Content-Type (#5628) 2024-06-27 12:31:37 +08:00
Bowen Liang
dcb72e0067
chore: apply flake8-comprehensions Ruff rules to improve collection comprehensions (#5652)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-27 11:21:31 +08:00
luckylhb90
2e718b85e9
fix(api): language list (#5649)
Co-authored-by: hobo.l <hobo.l@binance.com>
2024-06-27 08:46:53 +08:00
-LAN-
17d2f0bb0d
fix(api/configs): Ignore empty environment variables when loading config. (#5647) 2024-06-26 21:39:19 +08:00
takatost
0dfdb61ee9
fix: type error in config (#5643) 2024-06-26 21:01:16 +08:00
非法操作
e1a72e0e2b
fix: ro-RO is not a valid language (#5635) 2024-06-26 18:56:31 +08:00
Diego Romero-Lovo
4c0a31d38b
FR: #4048 - Add color customization to the chatbot (#4885)
Co-authored-by: crazywoola <427733928@qq.com>
2024-06-26 17:51:00 +08:00
Joe
4e2de638af
feat: add ops trace (#5483)
Co-authored-by: takatost <takatost@gmail.com>
2024-06-26 17:33:29 +08:00
Bowen Liang
31a061ebaa
chore: cleanup test_delete_by_document_id method in opensearch vdb test (#5619) 2024-06-26 17:21:36 +08:00
-LAN-
f7234c93af
chore(pyproject.toml): Add Ruff formatter config. (#5627) 2024-06-26 16:30:28 +08:00
Bowen Liang
d0fe56a98e
fix: populate app configs to system environment variables (#5590) 2024-06-26 14:27:49 +08:00
非法操作
b8926ea267
fix: DuckDuckGo image search tool error (#5606) 2024-06-26 13:21:40 +08:00
Jyong
43335b5c87
delete the deprecated method (#5612) 2024-06-26 12:51:50 +08:00
Pan, Wen-Ming
964f0e1400
fix: Modify the incorrect configuration name for Google storage (#5595)
Co-authored-by: Wenming Pan <pwm@google.com>
2024-06-26 07:54:22 +08:00
Bowen Liang
87ee3e627f
chore: fix typo in config descriptions (#5585) 2024-06-25 21:19:56 +08:00
-LAN-
45a3ea6fed
fix: add support for FILE type in ToolParameterConverter (#5578) 2024-06-25 18:47:59 +08:00
Bowen Liang
2a0f03a511
refactor: extract cors configs into dify config and cleanup the config class (#5507)
Co-authored-by: takatost <takatost@gmail.com>
2024-06-25 15:48:02 +08:00
takatost
ec1d3ddee2
feat: support importing and overwriting workflow DSL (#5511)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-06-25 15:46:12 +08:00
keita69
cdc2a6f637
The firecrawl tool now supports self-hosting (#5528)
Co-authored-by: takatost <takatost@gmail.com>
2024-06-25 15:15:21 +08:00
Yeuoly
023dba9475
fix: revert CI path filters (#5561) 2024-06-24 23:46:15 +08:00
sino
877a2c144b
feat: support predefined models for openrouter (#5494) 2024-06-24 16:31:53 +08:00
非法操作
f7900f298f
chore: refactor the http executor node (#5212) 2024-06-24 16:14:59 +08:00
非法操作
1e28a8c033
chore: add create_json_message api for tools (#5440) 2024-06-24 15:46:16 +08:00
-LAN-
ba67206bb9
fix(api/model_runtime/azure/llm): Switch to tool_call. (#5541) 2024-06-24 15:35:21 +08:00
Xiaoguang Sun
13fcd7a901
feat: Add program_name attribute to TiDB connection (#5499)
Signed-off-by: Xiaoguang Sun <sunxiaoguang@gmail.com>
2024-06-24 14:41:07 +08:00
Jyong
756d9a4bc2
add opensearch default value (#5536) 2024-06-24 14:33:31 +08:00
takatost
4a031de0d9
feat: make Citations and Attributions display enable default (#5508)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-06-24 13:03:49 +08:00
crazywoola
47a5d4527b
feat: use root dir to start python and celery (#5515) 2024-06-24 09:53:26 +08:00
Xiao Ley
dcec9d7bb7
feat: add new features to enhance image and link handling in Jina tool (#5517) 2024-06-24 01:06:26 +08:00
kurokobo
ea29007bc0
fix: apply best practices for the latest buildkit (#5527) 2024-06-24 00:45:33 +08:00
Xiao Ley
3a626cd251
fix: added error handling for novita ai tool query (#5506)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-06-23 17:59:03 +08:00
Nam Vu
e9ce0b10de
feat: add Asia/Ho_Chi_Minh timezone (#5521) 2024-06-23 16:47:44 +08:00
kurokobo
c5d64baba4
fix: correct typos (#5510) 2024-06-22 23:01:02 +08:00
Bowen Liang
29ca6815ae
chore: use singular style in middleware config class name (#5502) 2024-06-22 18:26:38 +08:00
Bowen Liang
5217f7cf69
refactor: extract hosted service configs into dify config (#5504) 2024-06-22 17:41:17 +08:00
非法操作
57063095c1
fix: summary of duckduckgo_search (#5488) 2024-06-22 13:58:30 +08:00
vccler
48757e581e
fix: zhipu tool calling, this PR fixes the bug described in issue #5496 (#5469)
Co-authored-by: vccler <vccler@163.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-22 12:41:24 +08:00
LXM
e8ad0339a3
fix: tongyi json output (#5396) 2024-06-22 12:25:23 +08:00
Bowen Liang
f67b164b0d
refactor: extract db configs and celery configs into dify config (#5491) 2024-06-22 10:29:56 +08:00
Bowen Liang
b05cc3a1e4
refactor: extract storage provider configs into dify configs (#5443) 2024-06-22 10:07:03 +08:00
Bowen Liang
8890978ad3
chore: use singular style in config class name (#5489) 2024-06-22 09:54:25 +08:00
takatost
9a5c423d59
chore: remove pip support for api service (#5453)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
2024-06-22 02:05:50 +08:00
tmuife
6a09409ec9
Add Oracle23ai as a vector datasource (#5342)
Co-authored-by: walter from vm <walter.jin@oracle.com>
2024-06-22 01:48:07 +08:00
Bowen Liang
27f0ae8416
build: support Poetry for depencencies tool in api's Dockerfile (#5105)
Co-authored-by: takatost <takatost@gmail.com>
2024-06-22 01:34:08 +08:00
crazywoola
91d38a535f
fix: max_tokens of qwen-plus & qwen-plus-chat (#5480) 2024-06-21 16:49:33 +08:00
Pan, Wen-Ming
95c882934e
feat: add support for Vertex AI claude-3-5-sonnet@20240620 (#5475)
Co-authored-by: Wenming Pan <pwm@google.com>
2024-06-21 16:45:56 +08:00
crazywoola
92ddb410cd
feat: option to hide workflow steps (#5436) 2024-06-21 12:51:10 +08:00
-LAN-
1336b844fd
feat(api/auth): switch-to-stateful-authentication (#5438) 2024-06-21 12:39:07 +08:00
Su Yang
26b6fd2236
feat: add support for bedrock claude-3-5-sonnet-20240620 (#5461) 2024-06-21 10:21:35 +08:00
takatost
ff0f02d809
feat: add support for claude-3-5-sonnet-20240620 (#5452) 2024-06-21 00:23:15 +08:00
Bowen Liang
65d34ebb96
refactor: extract vdb configs into pydantic-setting based dify configs (#5426) 2024-06-20 16:24:10 +08:00
-LAN-
142dc0afd7
refactor: Remove unused code in large_language_model.py (#5433) 2024-06-20 16:20:40 +08:00
Bowen Liang
39c14ec7c1
improve: unify Excel files parsing in either xls or xlsx file format by Pandas (#4965) 2024-06-20 16:14:49 +08:00
-LAN-
23fa3dedc4
fix(core): Fix incorrect type hints. (#5427) 2024-06-20 15:16:21 +08:00
takatost
a51ec2094f
fix: sentry config float type err (#5416) 2024-06-20 11:28:52 +08:00
Bowen Liang
aed56b1a8f
fix: Revert "feat: initial support for Milvus 2.4.x (#3795)" downgrading to 2.3.x for Linux arm64 installation failure (#5414) 2024-06-20 11:18:05 +08:00
takatost
a88aa20824
fix: optional parameter missing default value None in http request node (#5413) 2024-06-20 11:07:01 +08:00
quicksand
0105129fa8
fix bug: tencent vdb #5378 (#5408) 2024-06-20 10:37:39 +08:00
Bowen Liang
c923684edd
chore: extract retrival method literal values into enum (#5060) 2024-06-19 16:05:27 +08:00
liuzhenghua
9d5a89eab6
feat: add log date timezone (#4623)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-06-19 15:51:00 +08:00
-LAN-
bdf3ea4369
docs(api/README): Remove unnecessary = (#5380) 2024-06-19 15:17:13 +08:00
Bowen Liang
bb33ffc332
feat: initial support for Milvus 2.4.x (#3795) 2024-06-19 13:55:44 +08:00
Bowen Liang
3cc6093e4b
feat: introduce pydantic-settings for config definition and validation (#5202)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-19 13:41:12 +08:00
baojingyu
d160d1ed02
feat: support opensearch approximate k-NN (#5322) 2024-06-19 12:44:33 +08:00
fishisnow
e785cbb81d
Fix: multi image preview sign (#5376)
Co-authored-by: huangyusong <huangyusong@yingzi.com>
2024-06-19 12:36:40 +08:00
kurokobo
0e3113b7ce
feat: allow non-english wikipedias to be searched (#5371) 2024-06-19 10:06:47 +08:00
开坦克的贝塔
7d5ebbb611
docs(readme): Optimize the content in the readme file (#5364)
Co-authored-by: 开坦克的贝塔 <k@aircode.io>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-06-18 18:33:22 +08:00
horochx
85eee0dfbb
Update README.md (#5359) 2024-06-18 18:21:45 +08:00
Xiao Ley
369a395ee9
fix: resolve issue with cot_agent_runner not analyzing user-uploaded images correctly (#5360)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-06-18 18:15:41 +08:00
-LAN-
4e3d76a1d1
chore: add novita_client to pyproject.toml (#5349) 2024-06-18 14:52:20 +08:00
Bowen Liang
7450b9acf3
dep: bump chromadb from 0.5.0 to 0.5.1 (#5345) 2024-06-18 14:05:14 +08:00
Bowen Liang
c7d378555a
chore: set build system to Poetry and remove unnecessary settings with package mode disabled (#5263) 2024-06-18 13:27:03 +08:00
Bowen Liang
5f0ce5811a
feat: add flask upgrade-db command for running db upgrade with redis lock (#5333) 2024-06-18 13:26:01 +08:00
rerorero
9b7fdadce4
fix: wrong token usage in iteration node for streaming result (#5336) 2024-06-18 13:08:40 +08:00
Xiao Ley
132f5fb3de
feat: add Novita AI image generation tool, implemented model search, text-to-image and create tile functionalities (#5308)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-06-18 11:08:25 +08:00
Ikko Eltociear Ashimine
8266842809
chore: update llm.py (#5335) 2024-06-18 09:29:14 +08:00
sino
d7213b12cc
fix: extract params by function calling for models supporting tool call (#5334) 2024-06-17 23:25:29 +08:00
Richards Tu
c163521b9e
Update and fix the model param of Deepseek (#5329) 2024-06-17 21:40:04 +08:00
Mitsuki Ogasahara
7305713b97
fix: allow special characters in email (#5327)
Co-authored-by: crazywoola <427733928@qq.com>
2024-06-17 21:32:59 +08:00
sino
edffa5666d
fix: got unknown type of prompt message in multi-round ReAct agent chat (#5245) 2024-06-17 21:20:17 +08:00
-LAN-
54756cd3b2
chore(core/workflow/utils/variable_template_parser): Refactor VariableTemplateParser class for better readability and maintainability. (#5328) 2024-06-17 21:18:56 +08:00
-LAN-
b73ec87afc
fix(core/workflow): Handle special values in node run result outputs (#5321) 2024-06-17 20:41:57 +08:00
Justin Wu
61f4f08744
Add bedrock command r models (#4521)
Co-authored-by: Justin Wu <justin.wu@ringcentral.com>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2024-06-17 20:37:46 +08:00
Jyong
07387e9586
add the filename length limit (#5326) 2024-06-17 20:36:54 +08:00
quicksand
147a39b984
feat: support tencent cos storage (#5297) 2024-06-17 19:18:52 +08:00
Bowen Liang
7a758a35fe
fix: pin tenacity to 8.3.0 (#5319) 2024-06-17 18:03:42 +08:00
sino
be3512aa57
fix: unable to reindex documents (#5276) 2024-06-17 17:19:43 +08:00
Charles Zhou
cc4a4ec796
feat: permission and security fixes (#5266) 2024-06-17 16:06:32 +08:00
非法操作
24282236f0
fix: not checked require_summary of duckduckgo search raise error (#5303) 2024-06-17 14:18:49 +08:00
-LAN-
5a99aeb864
fix(core): Reorder field_validator and classmethod to fit Pydantic V2. (#5257) 2024-06-17 10:04:28 +08:00
Charlie.Wei
e95f8fa3dc
Dalle3 add seed (#5288)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-06-17 09:27:27 +08:00
crazywoola
9a64aa76c1
fix: typo and check (#5287) 2024-06-17 09:15:43 +08:00
kurokobo
42029791e4
fix: add event handler to delete the site when the related app deleted (#5282) 2024-06-17 08:47:26 +08:00
Bowen Liang
d94279ae75
fix: casting non-string type value for tool parameter options (#5267) 2024-06-16 09:47:20 +08:00
rerorero
3a423e8ce7
fix: visioin model always with low quality (#5253) 2024-06-16 09:46:17 +08:00
Pan, Wen-Ming
4b54843ed7
fix: run agent with Vertex AI Gemini models (#5260)
Co-authored-by: Wenming Pan <pwm@google.com>
2024-06-16 09:36:31 +08:00