Commit Graph

4377 Commits

Author SHA1 Message Date
-LAN- d2ce4960f1
chore(versioning): bump version to 0.9.0 (#8911) 2024-09-30 18:33:20 +08:00
zhuhao fa837b2dfd
fix: fix the issue with the system model configuration update (#8923) 2024-09-30 17:14:13 +08:00
Aurelius Huang 4585cffce1
fix: Compatible with special characters in pg full-text search. (#8921)
Co-authored-by: Aurelius Huang <cm.huang@aftership.com>
2024-09-30 16:32:23 +08:00
Jyong 9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
2024-09-30 15:38:43 +08:00
zhuhao 77aef9ff1d
refactor: optimize the calculation of rerank threshold and the logic for forbidden characters in model_uid (#8879) 2024-09-30 12:55:01 +08:00
zhuhao 503561f464
fix: fix the data validation consistency issue in keyword content review (#8908) 2024-09-30 12:52:18 +08:00
-LAN- ada9d408ac
refactor(api/variables): VariableError as a ValueError. (#8554) 2024-09-30 12:48:58 +08:00
-LAN- 3af65b2f45
feat(api): add version comparison logic (#8902) 2024-09-30 11:12:26 +08:00
Zhaofeng Miao 369e1e6f58
feat(website-crawl): add jina reader as additional alternative for website crawling (#8761) 2024-09-30 09:57:19 +08:00
zhuhao fb49413a41
feat: add voyage ai as a new model provider (#8747) 2024-09-29 16:55:59 +08:00
zhuhao 42dfde6546
docs: add english versions for the files customizable_model_scale_out and predefined_model_scale_out (#8871) 2024-09-29 16:16:56 +08:00
chenxu9741 c531b4a911
fix: #8843 event: tts_message_end always return in api streaming resp… (#8846) 2024-09-29 16:13:20 +08:00
longzhihun e4ed916baa
Add Jamba and Llama3.2 model support (#8878) 2024-09-29 16:12:56 +08:00
Bowen Liang 74f58f29f9
chore: bump ruff to 0.6.8 for fixing violation in SIM910 (#8869) 2024-09-29 00:29:59 +08:00
zhuhao f97607370a
refactor: update Callback to an abstract class (#8868) 2024-09-28 21:41:02 +08:00
zhuhao 850492dafa
feat: deprecate gte-Qwen2-7B-instruct embedding model (#8866) 2024-09-28 21:40:27 +08:00
zhuhao 61c89a9168
feat: add internlm2.5-20b and qwen2.5-coder-7b model (#8862) 2024-09-28 16:31:02 +08:00
takatost 49af18fbd6
fix: customize model credentials were invalid despite the provider credentials being active (#8864) 2024-09-28 15:54:26 +08:00
zhuhao 6cd22f3bca
fix: update qwen2.5-coder-7b model name (#8861) 2024-09-28 15:01:27 +08:00
ice yao 27e33fb15c
chore: fix wrong VectorType match case (#8857) 2024-09-28 10:54:04 +08:00
zhuhao 55e6123db9
feat: add min-connection and max-connection for pgvector (#8841) 2024-09-27 18:16:20 +08:00
走在修行的大街上 c828a5dfdf
feat(Tools): add feishu tools (#8800)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
2024-09-27 17:31:45 +08:00
CXwudi 0603359e2d
fix: delete harm catalog settings for gemini (#8829) 2024-09-27 13:49:03 +08:00
HowardChan bb781764b8
Add Llama3.2 models in Groq provider (#8831) 2024-09-27 12:13:00 +08:00
zhuhao 29275c7447
feat: deprecate mistral model for siliconflow (#8828) 2024-09-27 12:11:56 +08:00
8bitpd 4c1063e1c5
fix: AnalyticdbVector retrieval scores (#8803) 2024-09-27 12:05:21 +08:00
Shai Perednik a36117e12d
Updated the YouTube channel to Dify's (#8817) 2024-09-27 09:15:33 +08:00
CXwudi e5efd09ebb
chore: massive update of the Gemini models based on latest documentation (#8822) 2024-09-27 09:14:33 +08:00
wenmeng zhou ecc951609d
add more detailed doc for models of qwen series (#8799)
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-26 22:32:33 +08:00
ice yao 063474f408
Add llama3.2 model in fireworks provider (#8809) 2024-09-26 22:21:01 +08:00
AAEE86 9a4b53a212
feat: add stream for Gemini (#8678) 2024-09-26 19:08:59 +08:00
AAEE86 03edfbe6f5
feat: add qwen to add custom model parameters (#8759) 2024-09-26 19:04:25 +08:00
zhuhao 008e0efeb0
refactor: update delete method as an abstract method (#8794) 2024-09-26 16:36:21 +08:00
cx 128a66f7fe
fix: Ollama modelfeature set vision, and an exception occurred at the… (#8783) 2024-09-26 16:34:40 +08:00
非法操作 d1173a69f8
fix: the Image-1X tool (#8787) 2024-09-26 13:48:06 +08:00
Shenghang Tsai a0b0809b1c
Add more models for SiliconFlow (#8779) 2024-09-26 11:29:53 +08:00
Aaron Ji 4c9ef6e830
fix: update usage for Jina Embeddings v3 (#8771) 2024-09-26 11:29:35 +08:00
非法操作 0c96f0aa51
fix: credential *** should be string (#8785) 2024-09-26 11:24:03 +08:00
zhuhao ac73763726
chore: add input_type param desc for the _invoke method of text_embedding (#8778) 2024-09-26 11:23:09 +08:00
非法操作 5ba19d64e9
fix: TavilySearch tool get api link (#8780) 2024-09-26 11:22:18 +08:00
Qun fefbc43fb0
chore: fix comfyui tool doc url (#8775) 2024-09-26 08:18:13 +08:00
Bowen Liang a8b837c4a9
dep: bump ElasticSearch from 8.14.x to 8.15.x (#8197) 2024-09-25 22:55:24 +08:00
Pan, Wen-Ming 02ff6cca70
feat: add support for Vertex AI Gemini 1.5 002 and experimental models (#8767) 2024-09-25 21:27:26 +08:00
cherryhuahua d0e0111f88
fix:Spark's large language model token calculation error #7911 (#8755) 2024-09-25 14:51:42 +08:00
crazywoola bf64ff215b
fix: . is missing in file_extension (#8736) 2024-09-25 10:09:20 +08:00
ybalbert001 68c7e68a8a
Fix Issue: switch LLM of SageMaker endpoint doesn't take effect (#8737)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2024-09-25 09:12:35 +08:00
ice yao 91f70d0bd9
Add embedding models in fireworks provider (#8728) 2024-09-25 08:47:11 +08:00
Jyong 4669eb24be
add embedding input type parameter (#8724) 2024-09-24 21:53:50 +08:00
Sa Zhang debe5953a8
Fix/update jina ai products labels and descriptions (#8730)
Co-authored-by: sa zhang <sa.zhang@jina.ai>
2024-09-24 21:19:49 +08:00
Shota Totsuka 1c7877b048
fix: remove harm category setting from vertex ai (#8721) 2024-09-24 20:53:26 +08:00
非法操作 9ca2e2c968
chore: remove windows platform timezone set (#8712) 2024-09-24 17:33:29 +08:00
ice yao 64baedb484
fix: update nomic model provider token calculation (#8705) 2024-09-24 14:04:07 +08:00
Benjamin 4638f99aaa
fix: change model provider name issue Ref #8691 (#8710) 2024-09-24 13:26:58 +08:00
AAEE86 aebe5fc68c
fix: Remove unsupported parameters in qwen model (#8699) 2024-09-24 13:06:21 +08:00
zhuhao 1ecf70dca0
feat: add mixedbread as a new model provider (#8523) 2024-09-24 11:20:15 +08:00
ybalbert001 7c485f8bb8
fix llm integration problem: It doesn't work on docker env (#8701)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2024-09-24 10:33:30 +08:00
themanforfree 21e9608b23
feat: add xinference sd web ui api tool (#8385)
Signed-off-by: themanforfree <themanforfree@gmail.com>
2024-09-24 10:20:06 +08:00
Sa Zhang 7f1b028840
fix: change the brand name to Jina AI (#8691)
Co-authored-by: sa zhang <sa.zhang@jina.ai>
2024-09-23 21:39:26 +08:00
Nam Vu bef83a4d2e
fix: typos and improve naming conventions: (#8687) 2024-09-23 21:32:58 +08:00
crazywoola 8cc9e68363
fix: prompt for the follow-up suggestions (#8685) 2024-09-23 20:00:34 +08:00
ice yao d7aada38a1
Add nomic embedding model provider (#8640) 2024-09-23 19:57:21 +08:00
Vikey Chen 4f69adc8ab
fix: document_create_args_validate (#8569) 2024-09-23 18:45:10 +08:00
Nam Vu c7eacd1aac
chore: Optimize I18nObject class for better performance and readability (#8681) 2024-09-23 18:40:40 +08:00
AAEE86 a126d535cf
add Spark Max-32K (#8676) 2024-09-23 16:39:46 +08:00
AAEE86 3554a803e7
add zhipuai web search (#8668) 2024-09-23 16:19:42 +08:00
AAEE86 c66cecaa55
add Qwen model translate (#8674) 2024-09-23 16:18:55 +08:00
Bowen Liang 86f90fd9ff
chore: skip PLR6201 linter rule (#8666) 2024-09-23 15:28:57 +08:00
haike-1213 4c7beb9d7b
fix: Assignment exception (#8663)
Co-authored-by: fum <fum@investoday.com.cn>
2024-09-23 15:23:52 +08:00
Aaron Ji 3618a97c20
feat: extend api params for Jina Embeddings V3 (#8657) 2024-09-23 13:45:09 +08:00
Shota Totsuka 03fdf5e7f8
chore: Enable Japanese descriptions for Tools (#8646) 2024-09-23 09:06:01 +08:00
zhuhao e34f04380d
feat: add deepseek-v2.5 for model provider siliconflow (#8639) 2024-09-22 21:44:06 +08:00
zhuhao 6df77038a2
docs: fix predefined_model_scale_out.md redirect error (#8633) 2024-09-22 16:45:45 +08:00
zhuhao 45c0a44411
feat: add qwen2.5 for model provider siliconflow (#8630) 2024-09-22 16:42:34 +08:00
Nam Vu eaa7e9b1f0
fix: llm_generator.py JSONDecodeError (#8504) 2024-09-22 14:02:12 +08:00
Nam Vu 6e37750fbd
fix: commands.py (#8483) 2024-09-22 13:41:09 +08:00
omr 8fd297f8b4
fix: redundant check for available_document_count (#8491) 2024-09-22 13:39:41 +08:00
Nam Vu ddf6569dc5
chore: enhance configuration descriptions (#8624) 2024-09-22 13:38:41 +08:00
CXwudi 97895ec41a
chore: add Gemini newest experimental models (close #7121) (#8621) 2024-09-22 13:38:08 +08:00
sino 6d56d5c1f6
feat: support o1 series models for openrouter (#8358) 2024-09-22 10:23:50 +08:00
AAEE86 c9f1e18df1
Add model parameter translation (#8509)
Co-authored-by: swingchen01 <swings@126.com>
Co-authored-by: 陈长君 <chenchangjun@shuwen.com>
2024-09-22 10:14:33 +08:00
Waffle 740fad06c1
feat(tools/cogview): Updated cogview tool to support cogview-3 and the latest cogview-3-plus (#8382) 2024-09-22 10:14:14 +08:00
ice yao 0665268578
Add Fireworks AI as new model provider (#8428) 2024-09-22 10:13:00 +08:00
呆萌闷油瓶 c8b9bdebfe
feat:use xinference tts stream mode (#8616) 2024-09-22 10:08:35 +08:00
Shota Totsuka a587f0d3f1
docs: Add Japanese documentation for tools (#8469) 2024-09-22 09:04:00 +08:00
Hash Brown 8c51d06222
feat: regenerate in `Chat`, `agent` and `Chatflow` app (#7661) 2024-09-22 03:15:11 +08:00
Joe b32a7713e0
feat: update pyproject.toml (#8368) 2024-09-21 23:59:50 +08:00
zhuhao 831c5a93af
refactor(ops): Optimize the iteration for filter_none_values and use logging.error to record logs when an exception occurs (#8461) 2024-09-21 22:56:37 +08:00
AAEE86 1a8dcae10e
add Qwen custom add model interface (#8565) 2024-09-21 22:52:10 +08:00
Nam Vu 8219f9e090
fix: api/core/ops/ops_trace_manager.py (#8501) 2024-09-21 20:49:01 +08:00
AAEE86 5ddb601e43
add MixtralAI Model (#8517) 2024-09-21 18:08:07 +08:00
Hongbin 5541248264
Update the PerfXCloud provider model list,Update PerfXCloudProvider validate_provider_credentials method. (#8587)
Co-authored-by: xhb <466010723@qq.com>
2024-09-21 17:33:15 +08:00
方程 e75c33a561
Enhance Readme Documentation to Clarify the Importance of Celery Service (#8558) 2024-09-21 17:30:58 +08:00
takatost e0a3307563
fix(workflow): "Max submit count reached" error occurred when executing workflow as tool in iteration (#8595) 2024-09-20 19:47:25 +08:00
-LAN- 7f3282ec04
Update version to 0.8.3 in packaging and docker-compose files (#8590) 2024-09-20 18:24:03 +08:00
Qun 1583283635
ComfyUI tool use the new internal enumeration class "VariableKey" (#8533) 2024-09-20 17:42:47 +08:00
Su Yang c87f710d58
Fix: update qwen model and model config (#8584)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-20 17:05:57 +08:00
Su Yang 1568c5cae9
fix: fix qwen series model type (#8580) 2024-09-20 15:29:33 +08:00
MuYu a03919c3b3
feat: add hunyuan-vision (#8529) 2024-09-19 18:08:01 +08:00
Jyong d96f5ba1ca
add storage error log (#8556) 2024-09-19 17:34:12 +08:00
Su Yang d6de96c4b4
feat: sync Qwen API with Aliyun Bailian (#8538) 2024-09-19 17:08:59 +08:00
takatost ffd2f61dd9
fix: thread_pool submit count in parallel workflow not releasing (#8549) 2024-09-19 15:34:56 +08:00
takatost 54b9e1f6d1
fix: ci issues(missing duckduckgo-search==6.2.11, ruff lint issue) (#8543) 2024-09-19 11:43:00 +08:00
Wang Bo 6f222b49f2
refactor: rename task_type to task for jina embeddings v3 (#8488) 2024-09-18 14:53:15 +08:00
-LAN- 8dfe8c773a
chore: Deprecate gpt-3.5-turbo-0613 and gpt-3.5-turbo-16k-0613 models (#8500) 2024-09-18 14:38:09 +08:00
Qun cf645c3ba1
feat: Add ComfyUI tool for Stable Diffusion (#8160) 2024-09-18 10:56:29 +08:00
Xiao Ley 6dba68f62d
feat: Add base URL settings and secure_ascii options to the Brave search tool (#8463)
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-15 17:38:43 +08:00
非法操作 3d083b758f
feat: add flux dev of siliconflow image-gen tool (#8450) 2024-09-15 17:14:12 +08:00
takatost bf16de50fe
fix: internal error when tool authorization (#8449) 2024-09-14 21:50:02 +08:00
Jyong 7e611ffbf3
multi-retrival use dataset's top-k (#8416) 2024-09-14 21:48:44 +08:00
走在修行的大街上 72b7f8a949
Bugfix/fix feishu plugins (#8443)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
2024-09-14 18:59:06 +08:00
takatost 88c9834ef2
chore(workflow): Optimize the iteration when selecting a variable from a branch in the output variable causes iteration index err (#8440) 2024-09-14 18:02:43 +08:00
ybalbert001 b6ad7a1e06
Fix: https://github.com/langgenius/dify/issues/8190 (Update Model nam… (#8426)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2024-09-14 17:14:18 +08:00
Aaron Ji 6f7625fa47
chore: update Jina embedding model (#8376) 2024-09-14 16:21:17 +08:00
takatost f01602b570
fix(workflow): the answer node after the iteration node containing the answer was output prematurely (#8419) 2024-09-14 14:02:09 +08:00
HowardChan 0123498452
fix:logs and rm unused codes in CacheEmbedding (#8409) 2024-09-14 12:56:45 +08:00
swingchen01 f55e06d8bf
fix: resolve runtime error when self.folder is None (#8401)
Co-authored-by: 陈长君 <chenchangjun@shuwen.com>
2024-09-14 11:07:16 +08:00
ybalbert001 b613b11422
Fix: Support Bedrock cross region inference #8190 (Update Model name to distinguish between different region groups) (#8402)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2024-09-14 11:06:20 +08:00
Nam Vu bf55b1910f
fix: pyproject.toml typo (#8396) 2024-09-14 09:45:49 +08:00
crazywoola 71b4480c4a
fix: o1-mini 65563 -> 65536 (#8388) 2024-09-14 02:39:58 +08:00
Yeuoly b6b1057a18
fix: sandbox issue related httpx and requests (#8397) 2024-09-14 02:02:55 +08:00
Bowen Liang 5b98acde2f
chore: improve usage of striping prefix or suffix of string with Ruff 0.6.5 (#8392) 2024-09-13 23:34:39 +08:00
Bowen Liang aad6f340b3
fix (#8322 followup): resolve the violation of pylint rules (#8391) 2024-09-13 23:19:36 +08:00
Bowen Liang a1104ab97e
chore: refurish python code by applying Pylint linter rules (#8322) 2024-09-13 22:42:08 +08:00
xiandan-erizo 1ab81b4972
support hunyuan-turbo (#8372)
Co-authored-by: sunkesi <sunkesi@hosecloud.com>
2024-09-13 20:21:48 +08:00
非法操作 06b66216d7
chore: update firecrawl scrape to V1 api (#8367) 2024-09-13 20:02:00 +08:00
takatost cd3eaed335
fix(workflow): both parallel and single branch errors occur in if-else (#8378) 2024-09-13 19:55:54 +08:00
Joe 84ac5ccc8f
fix: add before send to remove langfuse defaultErrorResponse (#8361) 2024-09-13 16:08:08 +08:00
takatost 24af4b9313
fix: o1-series model encounters an error when the generate mode is blocking (#8363) 2024-09-13 15:37:54 +08:00
Bowen Liang 6613b8f2e0
chore: fix unnecessary string concatation in single line (#8311) 2024-09-13 14:24:49 +08:00
-LAN- 08c486452f
fix: score_threshold handling in vector search methods (#8356) 2024-09-13 14:24:35 +08:00
sino a45ac6ab98
fix: ark token usage is none (#8351) 2024-09-13 14:19:24 +08:00
-LAN- 80a322aaa2
chore: update version to 0.8.2 in packaging and docker-compose files (#8352) 2024-09-13 13:45:13 +08:00
Joe 82f7875a52
feat: add langfuse sentry ignore error (#8353) 2024-09-13 13:44:19 +08:00
takatost 4637ddaa7f
feat: add o1-series models support in Agent App (ReACT only) (#8350) 2024-09-13 13:08:27 +08:00
fanlia 5f03e66489
Feature/service api workflow logs (#8323) 2024-09-13 11:03:57 +08:00
Jyong 49cee773c5
fixed score threshold is none (#8342) 2024-09-13 10:21:58 +08:00
-LAN- c78828ab7c
chore: update Dify version to 0.8.1 (#8329) 2024-09-13 02:48:24 +08:00
takatost e90d3c29ab
feat: add OpenAI o1 series models support (#8328) 2024-09-13 02:15:19 +08:00
Nam Vu 153807f243
fix: response_format label (#8326) 2024-09-12 23:17:29 +08:00
Ikko Eltociear Ashimine 5db0b56c5b
docs: update lambda_translate_utils.yaml (#8293) 2024-09-12 20:33:07 +08:00
Tamer 404db1ae5b
Fix VariableEntityType Bug external-data-tool -> external_data_tool (#8299) 2024-09-12 20:27:55 +08:00
呆萌闷油瓶 02c4b1af71
chore:add Azure openai api version 2024-08-01-preview (#8291) 2024-09-12 20:22:57 +08:00
ybalbert001 d4985fb3aa
Fix: Support Bedrock cross region inference [#8190](https://github.com/langgenius/dify/issues/8190) (#8317) 2024-09-12 19:15:20 +08:00
Bowen Liang 8815511ccb
chore: apply flake8-pytest-style linter rules (#8307) 2024-09-12 18:09:16 +08:00
Bowen Liang 40fb4d16ef
chore: refurbish Python code by applying refurb linter rules (#8296) 2024-09-12 15:50:49 +08:00
Bowen Liang c69f5b07ba
chore: apply ruff E501 line-too-long linter rule (#8275)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-12 14:00:36 +08:00
takatost 56c90e212a
fix(workflow): missing content in the answer node stream output during iterations (#8292)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-12 13:59:48 +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 781d294f49
chore: cleanup pycodestyle E rules (#8269) 2024-09-11 18:55:00 +08:00
yalei f515af2232
let claude models in bedrock support the response_format parameter (#8220)
Co-authored-by: duyalei <>
2024-09-11 18:24:50 +08:00
crazywoola 4d2cd6703b
chore: remove useless code (#8198) 2024-09-11 18:19:34 +08:00
Bowen Liang 292220c596
chore: apply pep8-naming rules for naming convention (#8261) 2024-09-11 16:40:52 +08:00
HowardChan 53f37a6704
fix:ollama text embedding 500 error (#8252) 2024-09-11 16:23:19 +08:00
Leo.Wang 75c1a82556
Update Gitlab query field, add query by path (#8244) 2024-09-11 16:09:53 +08:00
Jason Tan c5b3777d93
editor can also create api key (#8214) 2024-09-11 16:07:15 +08:00
Nam Vu 342607f4a4
fix: truthy value (#8208) 2024-09-11 15:44:53 +08:00
takatost 5f4cdd66fa
fix(workflow): IF-ELSE nodes connected to the same subsequent node cause execution to stop (#8247) 2024-09-11 12:28:32 +08:00
HowardChan 82c42b9ec5
fix:error when adding the ollama embedding model (#8236)
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-11 10:25:45 +08:00
takatost cee0c51dbb
feat: add from_variable_selector for stream chunk / message event (#8228) 2024-09-10 22:15:50 +08:00
takatost fdbbdb706f
fix(workflow): answers are output simultaneously across different braches in the question classifier node. (#8225) 2024-09-10 21:11:35 +08:00
takatost f6dfe23cf8
fix(workflow): in multi-parallel execution with multiple conditional branches (#8221) 2024-09-10 21:09:18 +08:00
Jyong bb3002b173
revert page column (#8217) 2024-09-10 18:21:22 +08:00
Bowen Liang d109881410
chore(api/models): apply ruff reformatting (#7600)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-10 17:08:06 +08:00
Bowen Liang 2cf1187b32
chore(api/core): apply ruff reformatting (#7624) 2024-09-10 17:00:20 +08:00
takatost dabfd74622
feat: Parallel Execution of Nodes in Workflows (#8192)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: Yi <yxiaoisme@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-10 15:23:16 +08:00
-LAN- ed37439ef7
refactor(api/core): Improve type hints and apply ruff formatter in agent runner and model manager. (#8166) 2024-09-10 15:00:25 +08:00
Jyong af92f19291
filter excel empty sheet (#8194) 2024-09-10 14:55:08 +08:00
zhuhao 86f7f245e4
fix: The length of the tag should between 1 and 50 (#8187) (#8188) 2024-09-10 14:07:06 +08:00
Jyong 2d690801d1
nvidia rerank top n missed (#8185) 2024-09-10 13:17:48 +08:00
Nam Vu fede54be77
fix: Version '2.6.2-2' for 'expat' was not found (#8182) 2024-09-10 13:00:37 +08:00
Jyong 85ff82a694
code merge error (#8183)
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-10 12:52:50 +08:00
ice yao c8df92d0eb
add volcengine tos storage (#8164) 2024-09-10 09:19:47 +08:00
-LAN- 4313d92e6b
feat(api/core/model_runtime/entities/defaults.py): Add TOP_K in default parameters. (#8167) 2024-09-10 09:11:31 +08:00
Nam Vu 0695543f63
Fix variable typo (cont) (#8161) 2024-09-09 23:46:13 +08:00
crazywoola 0bec6a037c
update qwen-long (#8157) 2024-09-09 19:09:42 +08:00
AAEE86 fa34b9aed6
Modify model parameters in Spark LLMs and zhipuai LLMs (#8078)
Co-authored-by: Charlie.Wei <luowei@cvte.com>
2024-09-09 15:36:47 +08:00
crazywoola a27d4d58ec
fix: ollama text embedding 500 error (#8131) 2024-09-09 15:27:49 +08:00
邹成卓 a15791e788
Fix: tongyi code wrapper works not stable (#7871)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-09 11:15:17 +08:00
ybalbert001 954580a4af
feat: support more model types and builtin tools on aws/sagemaker (#8061)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2024-09-09 10:34:11 +08:00
crazywoola ab7d79275e
fix: Claude can not validate credientials (#8109) 2024-09-09 10:22:42 +08:00
呆萌闷油瓶 d28446301f
feat:add fishaudio in xinference (#8100) 2024-09-08 23:58:02 +08:00
Charlie.Wei feefeb44d7
fix LangSmith project config error (#7996) 2024-09-08 13:25:27 +08:00
Zhi d542b15cc0
feat: support redis sentinel mode (#7756) 2024-09-08 13:23:51 +08:00
Nam Vu 2d7954c7da
Fix variable typo (#8084) 2024-09-08 13:14:11 +08:00
AAEE86 0cef25ef8c
Revert "fix: parameter rule" (#8070) 2024-09-07 10:44:56 +08:00
crazywoola 900fd82a92
fix: parameter rule (#8064) 2024-09-06 19:15:24 +08:00
crazywoola 44f963f281
If else add regexmatch (#8059)
Co-authored-by: 罗威 <luowei@cvte.com>
2024-09-06 18:35:51 +08:00
Charlie.Wei 01858e1caf
ifEsle node add regex match (#8007) 2024-09-06 17:44:09 +08:00
ChengZi 2060db8e11
fix: change milvus init args from (host, port) to (url, token) (#8019)
Signed-off-by: ChengZi <chen.zhang@zilliz.com>
2024-09-06 17:32:48 +08:00
Nam Vu 9ded063417
chore: #7348, support query conversations by updated_at (#8047) 2024-09-06 17:31:51 +08:00
tmuife 89aede80cc
Add OCI(Oracle Cloud Infrastructure) Generative AI Service as a Model Provider (#7775)
Co-authored-by: Walter Jin <jinshuhaicc@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: walter from vm <walter.jin@oracle.com>
2024-09-06 14:15:40 +08:00
zhuhao e0d3cd91c6
support huawei cloud obs storage (#7980) (#7981) 2024-09-06 14:00:47 +08:00
Byeongjin Kang d489b8b3e0
feat: return page number of pdf documents upon retrieval (#7749) 2024-09-05 16:43:26 +08:00
Leng Yue bd0992275c
feat: support fish audio TTS (#7982) 2024-09-05 14:18:39 +08:00
非法操作 3e7597f2bd
feat: add gpt-4o-2024-08-06 and json_schema for azure openAI service (#7648) 2024-09-04 21:56:08 +08:00
Jyong 0e71f6db84
fix spliter length missed (#7987) 2024-09-04 21:47:12 +08:00
wochuideng f6b9982c23
Concurrent calls to the Wenxin model, and the exception problem when obtaining the token is fixed (#7976)
Co-authored-by: puqs1 <puqs1@lenovo.com>
2024-09-04 21:44:57 +08:00
Jyong 15791510c8
fix wrong error message (#7972) 2024-09-04 16:46:41 +08:00
非法操作 0f72a8e89d
chore: refactor the beichuan model (#7953) 2024-09-04 16:22:31 +08:00
KVOJJJin 14af87527f
Feat:remove estimation of embedding cost (#7950)
Co-authored-by: jyong <718720800@qq.com>
2024-09-04 14:41:47 +08:00
呆萌闷油瓶 83494cb4f5
fix:empty voice occurs when xinference CosyVoice tts model (#7958) 2024-09-04 13:04:31 +08:00
Sumkor 571415d1a4
fix: split text keep separator (#7930) 2024-09-04 12:59:10 +08:00
Joe fee4d3f6ca
feat: ops trace add llm model (#7306) 2024-09-04 10:39:00 +08:00
takatost 161cc0cda9
Revert "fix: an issue of keyword search feature in application log list" (#7949) 2024-09-04 10:00:55 +08:00
陳鈞 80d14c9b22
fix(api): Code-Based Extension cause error on position map sorting (#7934)
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-09-04 08:41:12 +08:00
crazywoola 596f160a1e
Chore/add default step 1x url (#7933) 2024-09-04 08:32:22 +08:00
Jyong d8b6c053a2
fix rerank model value is empty string (#7937) 2024-09-03 21:25:21 +08:00
Jyong 1a5116cba0
Fix/segment create with api (#7928) 2024-09-03 18:14:47 +08:00
Jyong 01581dd35f
improve the notion table extract (#7925) 2024-09-03 17:52:07 +08:00
-LAN- 8986be0aab
chore: Update versions to 0.7.3 (#7895) 2024-09-03 09:49:32 +08:00
-LAN- f76bbbf5e6
chore(Dockerfile): Bump expat to 2.6.2-2 (#7904) 2024-09-03 09:48:30 +08:00
kurokobo 80aa7c4019
feat: allow users to use the app icon as the answer icon (#7888)
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-02 20:00:41 +08:00
Jyong 6f33351eb3
ignore linked images when image id is none (#7890) 2024-09-02 19:37:05 +08:00
Fei He a8b9e01b3e
fix: fixed typo on loading reranking_mode (#7887) 2024-09-02 16:18:47 +08:00
Joshua 7193e189f3
Add perplexity search as a new tool (#7861) 2024-09-02 14:48:13 +08:00
orangeclk 3f2a806abe
fix: glm models prices and max_tokens correction (#7882) 2024-09-02 14:29:09 +08:00
omr bf63c5d1e3
fix typo: langauge -> language (#7875) 2024-09-02 08:41:45 +08:00
Seayon 78989e9049
Add ALIYUN_OSS_PATH configuration for Aliyun OSS (#7864)
Co-authored-by: seayon <zhaoxuyang@shouqianba.com>
2024-09-01 21:30:17 +08:00
sino 1f56a20b62
feat: support auth by api key for ark provider (#7845) 2024-08-31 10:56:32 +08:00
Bowen Liang 0c2a62f847
fix: correct http timeout configs‘ default values and ignorance by HttpRequestNode (#7762) 2024-08-30 19:09:10 +08:00
Ethan ea748b50f2
fix: an issue of keyword search feature in application log list (#7816) 2024-08-30 18:48:05 +08:00
Zhi ceb2b150ff
enhance: include workspace name in create-tenant command (#7834) 2024-08-30 15:53:50 +08:00
非法操作 dc015c380a
feat: add zhipu glm_4_plus and glm_4v_plus model (#7824) 2024-08-30 15:08:31 +08:00
YidaHu bd6d4d0553
fix: filter out installed apps without an app (#7799) 2024-08-29 19:03:08 +08:00
hisir f0273f00e1
Fixed when testing the openai compatible interface model, an error is reported when no object is returned (#7808) 2024-08-29 18:58:19 +08:00
Yeuoly 962cdbbebd
chore: add app generator overload (#7792) 2024-08-29 16:04:01 +08:00
Jyong 8e311cc45c
fixed permission is None (#7788) 2024-08-29 12:46:42 +08:00
crazywoola c441bea4d1
fix: datasets permission is missing (#7787) 2024-08-29 12:46:33 +08:00
takatost 0e0a703496
chore: ignore openai error record in sentry (#7770) 2024-08-28 23:26:11 +08:00
Garfield Dai 54b693d5b1
feat: update saas billing hint. (#7760) 2024-08-28 18:55:47 +08:00
Bowen Liang 1262277714
chore: improve http executor configs (#7730) 2024-08-28 17:46:37 +08:00
zhuhao 26abbe8e5b
feat(Tools): add a tool to query the stock price from Alpha Vantage (#7019) (#7752) 2024-08-28 17:27:20 +08:00
Leheng Lu 5d0914daea
fix: not able to pass array of string/number/object into variable aggregator groups (#7757) 2024-08-28 17:25:20 +08:00
crazywoola 3a071b8db9
fix: datasets permission is missing (#7751) 2024-08-28 15:36:11 +08:00
snickerjp 9342b4b951
Update package "libldap-2.5-0" for docker build. (#7726) 2024-08-28 14:44:05 +08:00
Vimpas 4682e0ac7c
fix(storage): 🐛 HeadBucket Operation Permission (#7733)
Co-authored-by: 莫岳恒 <moyueheng@datagrand.com>
2024-08-28 13:57:45 +08:00
sino 7cfebffbb8
chore: update default endpoint for ark provider (#7741) 2024-08-28 13:56:50 +08:00
kurokobo bc3a8e0ca2
feat: store created_by and updated_by for apps, modelconfigs, and sites (#7613) 2024-08-28 08:47:30 +08:00
Jiakun Xu e38334cfd2
fix: doc_language return null when document segment settings (#7719) 2024-08-28 08:45:51 +08:00
走在修行的大街上 92cab33b73
feat(Tools): add feishu document and message plugins (#6435)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
2024-08-27 20:21:42 +08:00
Bowen Liang 3f467613fc
feat: support configs for code execution request (#7704) 2024-08-27 19:38:33 +08:00
crazywoola da326baa5e
fix: tongyi Error: 'NoneType' object is not subscriptable (#7705) 2024-08-27 16:56:06 +08:00
Jyong 60001a62c4
fixed chunk_overlap is None (#7703) 2024-08-27 16:38:06 +08:00
sino ee7d5e7206
feat: support Moonshot and GLM models tool call for volc ark provider (#7666) 2024-08-27 14:43:37 +08:00
呆萌闷油瓶 2726fb3d5d
feat:dailymessages (#7603) 2024-08-27 12:53:27 +08:00
kurokobo d7aa4076c9
feat: display account name on the logs page for the apps (#7668)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-08-27 12:40:44 +08:00
Kenn 122ce41020
feat: rewrite Elasticsearch index and search code to achieve Elasticsearch vector and full-text search (#7641)
Co-authored-by: haokai <haokai@shuwen.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Bowen Liang <bowenliang@apache.org>
Co-authored-by: wellCh4n <wellCh4n@foxmail.com>
2024-08-27 11:43:44 +08:00
Charlie.Wei e7afee1176
Langfuse view button (#7684) 2024-08-27 11:25:56 +08:00
Bowen Liang a15080a1d7
bug: (#7586 followup) fix config of CODE_MAX_STRING_LENGTH (#7683) 2024-08-27 10:38:24 +08:00
Jyong 35431bce0d
fix dataset_id and index_node_id idx missed in document_segments tabl… (#7681) 2024-08-27 10:25:24 +08:00
Hélio Lúcio 7b7576ad55
Add Azure AI Studio as provider (#7549)
Co-authored-by: Hélio Lúcio <canais.hlucio@voegol.com.br>
2024-08-27 09:52:59 +08:00
Qin Liu 162faee4f2
fix: set score_threshold to zero if it is None for MyScale vectordb (#7640)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-08-27 09:47:16 +08:00
Zhi b7ff98d7ff
fix: Remove useless debug information. (#7647) 2024-08-26 20:40:26 +08:00
-LAN- 0474f0c906
chore: Update version to 0.7.2 (#7646) 2024-08-26 20:11:55 +08:00
Shota Totsuka 430e100142
refactor: Add @staticmethod decorator in `api/core` (#7652) 2024-08-26 19:45:03 +08:00
Jyong 1473083a41
catch openai rate limit error (#7658) 2024-08-26 19:36:44 +08:00
代君 7c2bb31a55
[fix] openai's tool role dose not support name parameter. (#7659) 2024-08-26 18:52:34 +08:00
非法操作 ba82023445
fix: support float type for tool parameter's default value (#7644) 2024-08-26 17:10:54 +08:00
-LAN- 13be84e4d4
chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00
Jyong 7ae728a9a3
fix nltk averaged_perceptron_tagger download and fix score limit is none (#7582)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-08-26 15:14:05 +08:00
pinsily a7743a4f47
add:save_model_credentials error log (#7630) 2024-08-26 14:46:29 +08:00
Zhi 103ff28530
feat: speed up the Docker build for dify-api for Chinese developers. (#7626) 2024-08-26 14:45:28 +08:00
Zhi 8dfdb37de3
fix: use LOG_LEVEL for celery startup (#7628) 2024-08-26 14:44:58 +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
Bowen Liang 979422cdc6
chore(api/tasks): apply ruff reformatting (#7594) 2024-08-26 13:38:37 +08:00
Joe 741c548f3c
feat: web sso (#7135) 2024-08-25 18:47:02 +08:00
非法操作 556f4ad5df
feat: add siliconflow text2img tool (#7612) 2024-08-25 14:39:58 +08:00
Seayon 561a61e7fe
Improve MIME type detection for image URLs (#6531)
Co-authored-by: seayon <zhaoxuyang@shouqianba.com>
2024-08-25 13:36:16 +08:00
Shota Totsuka 47919983bf
fix: typo in comment (#7606) 2024-08-25 09:56:08 +08:00
sino efc136cce5
feat: Introduce Ark SDK v3 and ensure compatibility with models of SDK v2 (#7579)
Co-authored-by: crazywoola <427733928@qq.com>
2024-08-24 19:29:45 +08:00
Bowen Liang b035c02f78
chore(api/tests): apply ruff reformat #7590 (#7591)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-23 23:52:25 +08:00
Bowen Liang 2da63654e5
chore(api/configs): apply ruff reformat (#7590) 2024-08-23 23:46:01 +08:00
Bowen Liang 3ace01cfb3
chore: cleanup and rearrange unclassified configs into feature config groups (#7586) 2024-08-23 22:40:07 +08:00
Junyan Qin e3d7c7c6f9
fix(onebot): use yarl to format url (#7589) 2024-08-23 22:22:42 +08:00
Junyan Qin 8807d880dc
Feat: add OneBot protocol tool (#7583) 2024-08-23 19:16:30 +08:00
Jie.F 70d6ab0bf5
Update stable_diffusion.py (#7536) 2024-08-23 18:58:13 +08:00
Amos e42848f4b7
Do not pass query parameter when the value is empty (#7585) 2024-08-23 18:50:38 +08:00
张皮皮 f29685f8a1
fix score_threshold is none, return all top K documents (#7581) 2024-08-23 16:59:34 +08:00
噢哎哟喂 ad13011043
add JSON Mode support for moonshot models (#7568) 2024-08-23 16:24:45 +08:00
Charlie.Wei 9864b35465
langfuser add view button (#7571) 2024-08-23 15:53:49 +08:00
Fei He 6025002971
add qwen text-embedding-v3 support. (#7567) 2024-08-23 15:32:38 +08:00
orangeclk a24717765e
feat: forward zhipu finish_reason (#7560) 2024-08-23 11:15:38 +08:00
AllenWriter 931e6f1625
Added Space between Chinese and English within tools' description (#7545) 2024-08-22 19:20:13 +08:00
Jyong 4ce47284dc
update nltk version to 3.8.1 (#7544) 2024-08-22 18:17:21 +08:00
Vimpas 0006c6f0fd
fix(storage): 🐛 Create S3 bucket if it doesn't exist (#7514)
Co-authored-by: 莫岳恒 <moyueheng@datagrand.com>
2024-08-22 09:45:42 +08:00
crazywoola 2c427e04be
Feat/7134 use dataset api create a dataset with permission (#7508) 2024-08-21 20:25:45 +08:00
orangeclk f53454f81d
add finish_reason to the LLM node output (#7498) 2024-08-21 17:29:30 +08:00
Yeuoly 784b11ce19
Chore/remove python dependencies selector (#7494) 2024-08-21 16:57:14 +08:00
Jyong 715eb8fa32
fix rerank mode is none (#7496) 2024-08-21 16:42:28 +08:00
Yeuoly a02118d5bc
Fix/incorrect code template (#7490) 2024-08-21 15:31:13 +08:00
Nam Vu 85fc0fdb51
chore: support CODE_MAX_PRECISION (#7484) 2024-08-21 15:11:56 +08:00
非法操作 f7af8c7cc7
feat: gpt-4o-mini-2024-07-18 support json schema (#7489) 2024-08-21 15:11:29 +08:00
Xiao Ley 0c99a3d0c5
fix the issue of the refine_switches at param being invalid in the Novita.AI tool (#7485) 2024-08-21 15:09:05 +08:00
hisir 6435b4eb44
Separate CODE_MAX_DEPTH and set it as an environment variable (#7474) 2024-08-21 12:48:25 +08:00
Xiyuan Chen 4e7b6aec3a
feat: support pinning, including, and excluding for model providers and tools (#7419)
Co-authored-by: GareArc <chen4851@purude.edu>
2024-08-21 11:16:43 +08:00
luckylhb90 9a715f6b68
fix(tool): tool node error (#7459)
Co-authored-by: hobo.l <hobo.l@binance.com>
2024-08-21 09:04:54 +08:00
wellCh4n b7778de224
fix: document error message can not be cleared (#7453) 2024-08-20 19:30:57 +08:00
KinWang e35e251863
feat: Sort conversations by updated_at desc (#7348)
Co-authored-by: wangpj <wangpj@hundsunc.om>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-20 17:55:44 +08:00
-LAN- eae53e11e6
refactor(api/models/workflow.py): Add `__init__` to Workflow (#7443) 2024-08-20 17:52:21 +08:00
-LAN- 4f5f27cf2b
refactor(api/core/workflow/enums.py): Rename SystemVariable to SystemVariableKey. (#7445) 2024-08-20 17:52:06 +08:00
-LAN- 5e42e90abc
fix(api/services/workflow/workflow_converter.py): Add NoneType checkers & format file. (#7446) 2024-08-20 17:51:49 +08:00
-LAN- a10b207de2
refactor(api/core/app/app_config/entities.py): Move Type to outside and add EXTERNAL_DATA_TOOL. (#7444) 2024-08-20 17:30:14 +08:00
-LAN- 4f64a5d36d
refactor(api/core/workflow/nodes/variable_assigner): Split into multi files. (#7434) 2024-08-20 15:40:19 +08:00
Yeuoly 0d4753785f
chore: remove .idea and .vscode from root path (#7437) 2024-08-20 15:37:29 +08:00
-LAN- 2e9084f369
chore(database): Rename table name from `workflow__conversation_variables` to `workflow_conversation_variables`. (#7432) 2024-08-20 14:34:03 +08:00
Jyong 0f90e6df75
add pgvector full text search settting (#7427) 2024-08-20 13:20:19 +08:00
非法操作 53146ad685
feat: support line break of tooltip content (#7424) 2024-08-20 11:03:55 +08:00
Byeongjin Kang 0223fc6fd5
feat: add pgvector full_text_search (#7396) 2024-08-20 11:01:13 +08:00
Nam Vu 6991a243aa
chore: correct _tts_invoke_streaming max length (#7423) 2024-08-20 10:20:04 +08:00
Chengyu Yan 1f944c6eeb
feat(api): support wenxin bge-large and tao embedding model. (#7393) 2024-08-19 22:25:09 +08:00
-LAN- 3d27d15f00
chore(*): Bump version 0.7.1 (#7389) 2024-08-19 21:24:56 +08:00
RookieAgent 4ff4859036
add CrossRef builtin tool: doi query and title query (#7406) 2024-08-19 19:14:20 +08:00
Xiao Ley 53cf756207
feat: OpenRouter add gpt-4o-2024-08-06 model (#7409) 2024-08-19 19:14:08 +08:00
-LAN- 0087afc2e3
fix(api/core/model_runtime/model_providers/__base/large_language_model.py): Add TEXT type checker (#7407) 2024-08-19 18:45:30 +08:00
Bowen Liang 68dc6d5bc3
chore: rearrange api python dependencies (#7391) 2024-08-19 14:05:41 +08:00
SoaringEthan acd72e3ab2
feat: support xinference's auth system (#7369) 2024-08-19 12:41:56 +08:00
Bowen Liang bbb6fcc4f0
chore: update ruff from 0.5.x to 0.6.x (#7384) 2024-08-19 09:21:11 +08:00
Hash Brown fbf31b5d52
feat: custom app icon (#7196)
Co-authored-by: crazywoola <427733928@qq.com>
2024-08-19 09:16:33 +08:00
非法操作 a0c689c273
feat: add jina tokenizer tool (#7375) 2024-08-19 09:15:46 +08:00
Chengyu Yan bfd905602f
feat(api): support wenxin text embedding (#7377) 2024-08-19 09:15:19 +08:00
sino a0a67873aa
chore: optimize ark model parameters (#7378) 2024-08-19 08:44:19 +08:00
-LAN- 5350b1d938
fix(api/services/workflow/workflow_converter.py): Add converrsation variable to workflow. (#7257) 2024-08-17 10:30:12 +08:00
噢哎哟喂 baaa3f7f42
add base url for moonshot model (#7360) 2024-08-17 10:28:09 +08:00
crazywoola 4d4af00399
fix: keywords (#7357) 2024-08-16 20:43:55 +08:00
Weaxs 3a33062405
feat: support siliconflow rerank (#7337) 2024-08-16 20:21:41 +08:00
Leo.Wang 5a729a69cd
feat: tools/gitlab (#7329)
Co-authored-by: crazywoola <427733928@qq.com>
2024-08-16 16:54:49 +08:00
Nam Vu dbc1ae45de
chore: update docstrings (#7343) 2024-08-16 14:19:01 +08:00
-LAN- a2fafee53a
chore(api/libs/bearer_data_source.py): Remove expired fie. (#7300) 2024-08-16 10:33:51 +08:00
Xiyuan Chen c7df6783df
Revert "feat: support pinning, including, and excluding for Model Providers and Tools" (#7324) 2024-08-15 23:51:00 +08:00
Jason Tan acfab01dcf
fix editor auth (#7297) 2024-08-15 20:36:51 +08:00
噢哎哟喂 6fdbc7dbf3
fix error when use farui-plus model (#7316)
Co-authored-by: 雪风 <xuefeng@shifaedu.cn>
2024-08-15 20:14:13 +08:00
Hongbin d1a6702aa4
Update PerfXCloud Model List (#7212)
Co-authored-by: xhb <466010723@qq.com>
2024-08-15 19:42:15 +08:00
Nam Vu ed85d8281a
fix: null annotation (#7313) 2024-08-15 19:20:14 +08:00
-LAN- 9414143b5f
chore(api/libs): Apply ruff format. (#7301) 2024-08-15 17:53:12 +08:00
-LAN- 2d89b7d0a9
fix(api/services/app_dsl_service.py): Add conversation variables. (#7304) 2024-08-15 16:46:48 +08:00
-LAN- 3f9720bca0
fix(api/core/app/segments/segments.py): Fix file to markdown. (#7293) 2024-08-15 13:09:49 +08:00
Xiyuan Chen 7619850855
feat: support pinning, including, and excluding for Model Providers and Tools (#7283) 2024-08-15 12:58:38 +08:00
-LAN- 3571292fbf
chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
-LAN- 8f16165f92
chore(api/core): Improve FileVar's type hint and imports. (#7290) 2024-08-15 12:43:18 +08:00
非法操作 6ff7fd80a1
feat: support OPENAI json_schema (#7258) 2024-08-15 11:29:19 +08:00
非法操作 5aa373dc04
feat: add chatgpt-4o-latest (#7289) 2024-08-15 11:19:10 +08:00
-LAN- 32dc963556
feat(api/workflow): Add `Conversation.dialogue_count` (#7275) 2024-08-15 10:53:05 +08:00
Nam Vu d2ccd8ba53
fix: #7222 docstrings (#7276) 2024-08-15 09:47:26 +08:00
Xiyuan Chen d29b32fce2
fix: typo in upstage/llm/_position.yaml (#7286) 2024-08-15 08:39:35 +08:00
pp 101db126c8
fix: missed rerank_mode when convert to DatasetEntity (#7269) 2024-08-15 00:41:12 +08:00
mochi ba79088ffc
Fix SQL parser Error in MyScale vdb. (#7255) 2024-08-14 16:41:18 +08:00
非法操作 3a27166c2e
chore: allow download audio/video through HTTP node (#7224) 2024-08-14 16:25:59 +08:00
-LAN- b5d472fad7
test(*): Avoid import from `api` in tests. (#7251) 2024-08-14 14:09:26 +08:00
噢哎哟喂 52383d0161
add support for tongyi-farui (#7248)
Co-authored-by: 雪风 <xuefeng@shifaedu.cn>
2024-08-14 14:09:13 +08:00
-LAN- 48d2febebf
fix(api/core/tools/entities/tool_entities.py): Fix type define. (#7250) 2024-08-14 14:08:54 +08:00
-LAN- f6c12b10ac
chore: update package versions to 0.7.0 (#7236) 2024-08-13 22:28:06 +08:00
-LAN- 5b77ef01d4
chore(api/services/app_dsl_service.py): Bump DSL version to 0.1.1 (#7235) 2024-08-13 18:20:41 +08:00
feng0 2fe2e350ce
add secondary sort_key when using `order_by` and `paginate` at the same time (#7225) 2024-08-13 17:39:51 +08:00
Leo.Wang 986fd5bfc6
Add gitlab support (#7179)
Co-authored-by: crazywoola <427733928@qq.com>
2024-08-13 17:36:45 +08:00
miendinh f104b930cf
feat: support elasticsearch vector database (#3558)
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-08-13 17:36:20 +08:00
Onelevenvy 0f59d76997
fix: add context_size and max_chunks to Tongyi embedding to resolve issue #7189 (#7227) 2024-08-13 16:35:22 +08:00
非法操作 b3743a9ae5
chore: refactor searXNG tool (#7220) 2024-08-13 15:34:29 +08:00
lichao 13d061911b
Error Exception Message Of "Message Not Exists.", Should be "Suggested Questions Is Disabled." (#7219) 2024-08-13 15:17:18 +08:00
KVOJJJin 935e72d449
Feat: conversation variable & variable assigner node (#7222)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-13 14:44:10 +08:00
yusuke_ten 8b55bd5828
fix: display notion document title correctly (#7215) 2024-08-13 14:05:57 +08:00
shAlfred a12ddc47e7
feat: add support of speech2text function for OpenAI-API-compatible and Siliconflow (#7197) 2024-08-12 21:38:59 +08:00
Weaxs 67b9fdaad7
siliconflow support bge-3 && bce-v1 embedding (#7198) 2024-08-12 19:14:43 +08:00
mago960806 a68df696ec
Fix issue with incorrect port number in app_base_url due to NAT networks (#6653) 2024-08-12 12:26:12 +08:00
Bowen Liang ccb6ddd840
chore: bump Ruff to 0.5.7 (#7174) 2024-08-12 10:24:48 +08:00
ybalbert001 f2cb1fb09f
Fix : Workflow "start" paste url not support s3 pre-signed URL (#6855)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2024-08-11 16:45:15 +08:00
灰灰 ac60182c91
fix: solving http-request-tool bugs in workflow (#6685) 2024-08-11 16:32:06 +08:00
crazywoola 8b5761efb2
change secret input to text input in searxng (#7160) 2024-08-10 16:58:22 +08:00
Yanyi Liu 5b32f2e0dd
Feat: Add model provider Text Embedding Inference for embedding and rerank (#7132) 2024-08-09 19:12:13 +08:00
Yanyi Liu 4cbeb6815b
Fix: Wrong cutoff length lead to empty input in openai compatible embedding model. (#7133) 2024-08-09 19:11:57 +08:00
Jeff Li d338f69837
feat: add decode option to json process tools (#7138) 2024-08-09 19:05:27 +08:00
Jyong c6b0dc6a29
update dataset embedding model, update document status to be indexing (#7145) 2024-08-09 16:47:15 +08:00
crazywoola f667ef98cb
Feat/update tools length (#7141) 2024-08-09 16:07:37 +08:00
Joe 425174e82f
feat: update ops trace (#7102) 2024-08-09 15:22:16 +08:00
Joe 7201b56a6d
fix: workflow log run time error (#7130) 2024-08-09 14:46:31 +08:00
Matri 4dfa8eedb8
Feat/tool-D-ID (#6278) 2024-08-09 11:05:33 +08:00
forrestlinfeng 07511dfaf4
update stepfun model (#7118)
Co-authored-by: chenlinfeng <chenlinfeng@step.ai>
Co-authored-by: Tfsh <tianfs_fight@163.com>
2024-08-08 20:40:37 +08:00
小羽 7944ce0594
feat: wenxin add yi-34b-chat (#7117) 2024-08-08 20:01:21 +08:00
Aero Kang ad682c394d
fix annotation reply is null (#7103) 2024-08-08 19:07:50 +08:00
orangeclk 83acb53c08
feat: add zhipu embedding-3 (#7100) 2024-08-08 17:08:46 +08:00
shAlfred a7162240e6
feat: add text-embedding functon and LLM models to Siliconflow (#7090) 2024-08-08 17:08:28 +08:00
Jyong 12095f8cd6
extract docx filter comment element (#7092) 2024-08-08 16:53:29 +08:00
majian 5542ee4d0d
workflow logs support workflow run id filter (#6833) 2024-08-08 14:54:02 +08:00
zhuhao 4ffa706e4f
feat: add a builtin tool to support regex extraction. (#7081) (#7087) 2024-08-08 14:23:57 +08:00
Jyong 169cde6c3c
add nltk punkt resource (#7063) 2024-08-08 14:23:22 +08:00
小羽 34a9dbe826
Feat/add 360-zhinao provider (#7069) 2024-08-08 14:23:08 +08:00
Nam Vu 8e23e24bd5
feat: Poetry requests timeout (#7086) 2024-08-08 14:17:29 +08:00
orangeclk f288d367ac
Add price info for zhipu models (#7084) 2024-08-08 14:17:05 +08:00
Waffle 5e2fa13126
feat: support glm-4-long (#7070)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-08-08 10:54:39 +08:00
-LAN- 67a2f14cef
fix(api/core/workflow/nodes/tool/tool_node.py): Keep None value in tool params. (#7066) 2024-08-07 19:36:21 +08:00
Joe d7bb422a5c
fix: hunyuan assistant_prompt_message pydantic error (#7062) 2024-08-07 18:31:40 +08:00
8bitpd 40c6f3c724
fix: add redis lock to AnalyticdbVector init (#6859)
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2024-08-07 17:32:06 +08:00
-LAN- df8f8c9a2c
feat(api/core/rag/datasource/vdb/analyticdb/analyticdb_vector.py): Checking config before init analyticdb (#7050) 2024-08-07 17:31:36 +08:00
-LAN- 536c43257b
refactor(*): Update hard-code '[__HIDDEN__]' to the constant. (#7048) 2024-08-07 17:30:56 +08:00
-LAN- 4e8f6b3603
chore(api/core/app/segments/segments.py): Remove todo tags. (#7052) 2024-08-07 17:29:35 +08:00
Jyong 80c94f02e9
add vector field for other vectordb (#7051) 2024-08-07 17:14:03 +08:00
-LAN- aad02113c6
fix(api/core/app/segments): Allow to contains boolean value in object segment (#7047) 2024-08-07 16:20:22 +08:00
chenxu9741 72c75b75cf
feat: Add hyperlink parsing to the DOCX document. (#7017) 2024-08-07 16:01:14 +08:00
Sadegh Ghanbari Shohani ffa992acf7
Add support for i18n Farsi language (fa-IR) (#7044) 2024-08-07 15:44:42 +08:00
majian 99b78dd198
feat: add gpt-4o-2024-08-06 (#7046) 2024-08-07 15:35:57 +08:00
Sangmin Ahn 7f81a86e9e
chore: show non-English characters in exported DSL files (#7042) 2024-08-07 14:03:15 +08:00
Achim a93bc83c8d
Provide output data also in json property of workflow tool (#6924) (#7027) 2024-08-07 08:54:51 +08:00
crazywoola 3516989738
fix: typos in wenxin llm (#7021) 2024-08-06 22:33:03 +08:00
Sa Zhang 26991443ed
fix: Fix incorrect context size for jina-reranker-v2 model (#7006) 2024-08-06 21:08:29 +08:00
Bryan eece50acec
fix: tran list issue (#7009)
Co-authored-by: libing <libing@healink.cn>
2024-08-06 21:01:38 +08:00
Jyong 28d4e5b045
Fix/reranking mode is null (#7012) 2024-08-06 19:12:04 +08:00
yanghx c53875ce8c
fix #6902 .docx handles images within tables and handles cross-column tables (#6951) 2024-08-06 17:14:24 +08:00
灰灰 96dcf0fe8a
fix: code tool fails when null property exists in object (#6988) 2024-08-06 16:11:00 +08:00
Yefori bd3ed89516
feat: add function calling for deepseek models (#6990) 2024-08-06 13:37:27 +08:00
小羽 23ed15d19f
feat:nvidia add nemotron4-340b and microsoft/phi-3 (#6973) 2024-08-06 10:16:41 +08:00
非法操作 312d905c9b
chore: update duckduckgo tool (#6983) 2024-08-06 10:16:04 +08:00
takatost d839f1ada7
version to 0.6.16 (#6972) 2024-08-05 23:33:37 +08:00
takatost 6da14c2d48
security: fix api image security issues (#6971) 2024-08-05 20:21:08 +08:00
Pedro Gomes a34285196b
Revise the wrong pricing of certain LLM models. (#6967) 2024-08-05 18:41:44 +08:00
takatost ea30174057
chore: optimize streaming tts of xinference (#6966) 2024-08-05 18:23:23 +08:00
Sangmin Ahn dd676866aa
chore: exclude .txt extenstion in create_by_text API (#6956) 2024-08-05 15:52:07 +08:00
TzuxinChen f0d10553b4
Fixed a bug where permission was clearly displaye… (#6934) 2024-08-05 13:19:01 +08:00
liuzhenghua ef616c604a
fix: The permissions issue of the editor role accessing some backend … (#6945)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
2024-08-05 12:55:55 +08:00
Bowen Liang f656e1bae2
fix: ensure db migration in docker entry script running with `upgrade-db` command for proper locking (#6946) 2024-08-05 10:55:26 +08:00
liuzhenghua 141e4e0276
fix: restore xinference secret field (#6941)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
2024-08-04 22:32:24 +08:00
Pedro Gomes 20d3e1d297
Fix increase_usage of total_price in agent_runner (#6688) 2024-08-04 14:42:22 +08:00
chenxu9741 dff3f41ef6
Workflow TTS playback node filtering issue. (#6877) 2024-08-04 14:28:56 +08:00
Weaxs 5e634a59a2
compatible xinference reranker server (#6927) 2024-08-04 13:49:38 +08:00
Joe 26e46d365c
fix: workflow trace user_id error (#6932) 2024-08-04 03:28:50 +08:00
takatost bcd7c8e921
fix: sending app trace data to other app trace provider (#6931) 2024-08-04 00:05:51 +08:00
Bowen Liang 70283f5b9f
dep: support for Python 3.12 (#6771) 2024-08-02 21:14:36 +08:00
JuHyung Son 2e941bb91c
add new provider Solar (#6884) 2024-08-02 20:48:09 +08:00
zhuhao 541bf1db5a
feat: add the tool Serper for Google search. (#6786) (#6790) 2024-08-02 20:37:04 +08:00
Jyong 048bc4c06e
fix update dataset failed when embedding model is not exist (#6920) 2024-08-02 20:30:22 +08:00
Joe f97a51ce24
fix: reranking disable timer error (#6910) 2024-08-02 16:34:50 +08:00
Bowen Liang 6aa02f8c63
dep: bump pgvecto-rs client from 0.1.x to 0.2.x (#6891) 2024-08-02 15:51:23 +08:00
crazywoola 7ab04e17e7
fix: return code in service api (#6911) 2024-08-02 15:48:58 +08:00
非法操作 bf3f1027c8
fix: code execution node not display clear reasons when sandbox res error (#6830) 2024-08-02 15:36:44 +08:00
sino 8166a8caf5
feat: update llama3.1 parameters for openrouter (#6901) 2024-08-02 13:13:34 +08:00
Jyong 44801df8f8
fix score threshold limit be None (#6900) 2024-08-02 12:10:51 +08:00
灰灰 56af1a0adf
pref: change ollama embedded api request (#6876) 2024-08-02 12:04:47 +08:00
dufei f8617db012
fix tongyi tool calls (#6896) 2024-08-02 10:03:43 +08:00
Jyong 2ab9af3b38
delete weight_type in knowledge retrieval node (#6892) 2024-08-01 21:38:59 +08:00
Weaxs cc4785f094
fix: xinference reranker return_documents (#6888) 2024-08-01 19:57:53 +08:00
ian 093f902335
fix: Change API key authentication failure response code from 404 to 401 (#6885) 2024-08-01 17:41:35 +08:00
hursit 104c797dd0
feat: Add support for i18n Turkish language (tr-TR) (#6886)
Co-authored-by: hursit <hursit.topal@enuygun.com>
2024-08-01 17:30:35 +08:00
chenxu9741 a9cd6df97e
Remove tts (blocking call) (#6869) 2024-08-01 14:50:22 +08:00
呆萌闷油瓶 f31142e758
Azure 4o mini options (#6873) 2024-08-01 14:04:18 +08:00
crazywoola 792f908afb
Revert "feat:Azure gpt4o mini" (#6870) 2024-08-01 13:32:03 +08:00
非法操作 29e3c3061c
fix: remote image not display in answer node (#6867) 2024-08-01 13:21:49 +08:00
呆萌闷油瓶 14367ddc09
feat:Azure gpt4o mini (#6866) 2024-08-01 13:03:08 +08:00
Jyong 8157fccf6d
delete weight_type (#6865) 2024-08-01 13:02:33 +08:00
Charlie.Wei cbf7f21ade
Add azure gpt4omini (#6862)
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-08-01 12:57:52 +08:00
Weaxs f6e8e120a1
support xinference tts (#6746) 2024-08-01 11:59:15 +08:00
Joe 08f922d8c9
fix: anthropic max token NoneType error (#6858) 2024-08-01 11:30:00 +08:00
-LAN- feb4576ee7
chore: update SQLAlchemy configuration with custom naming convention (#6854) 2024-08-01 11:16:49 +08:00
小羽 56b43f62d1
feat: nvidia add llama3.1 model (#6844) 2024-07-31 21:24:02 +08:00
Giga Group 4b410494b3
Add model parameter enable_enhance for hunyuan llm model (#6847)
Co-authored-by: sun <sun@centen.cn>
2024-07-31 20:04:43 +08:00
Joe df9bd36cab
fix: claude-3-5-sonnet-20240620 max token error (#6843) 2024-07-31 18:34:44 +08:00
Jyong af76381b98
fix notion internal setting (#6836) 2024-07-31 17:17:46 +08:00
William Espegren 4be12b29b9
fix: improved error handling for spider tool (#6835) 2024-07-31 17:11:52 +08:00
ybalbert001 c23aa50bea
Add AWS builtin Tools (#6721)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-07-31 14:41:42 +08:00
Nam Vu 8eb0d0fddd
feat: support Celery auto-scale (#6249)
Co-authored-by: takatost <takatost@gmail.com>
2024-07-31 14:34:44 +08:00
Ever 545d3c5a93
chore: Add processId field for metrics of threads/db-pool-stat/health (#6797)
Co-authored-by: 老潮 <zhangyongsheng@3vjia.com>
Co-authored-by: takatost <takatost@users.noreply.github.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-07-31 00:21:16 +08:00
crazywoola 3c371a6cb0
fix: workflow api (#6810) 2024-07-30 23:51:48 +08:00
longzhihun 9ce5cea911
feat: bedrock invoke enhancement (#6808) 2024-07-30 21:57:18 +08:00
eric-0x72 98d9837fbc
fix wrong charset when decoding Chinese content (#6774)
Co-authored-by: zhangwb <zhangwb@zts.com.cn>
2024-07-30 21:32:45 +08:00
Yeuoly 72963d1f13
fix: nonetype in webscraper validation (#6788) 2024-07-30 14:45:14 +08:00
-LAN- a98284b1ef
refactor(api): Switch to `dify_config` (#6750)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-30 11:15:26 +08:00
Bowen Liang daa31b2cb3
chore: remove redundant version pinning for indirect dependencies (#6772) 2024-07-30 08:45:57 +08:00
Bowen Liang b414ea41d6
dep: initial support for Milvus 2.4.x (#6084) 2024-07-29 19:56:45 +08:00
Joe f78d0082ae
feat: implement function dispatch table for trace processing (#6628) 2024-07-29 18:47:25 +08:00
SiliconFlow, Inc 3e18d32ce5
add deepseek-coder-v2 in siliconflow (#6149) 2024-07-29 18:45:19 +08:00
Charles 94d68b6a08
upgrade deepseek params (#6744) 2024-07-29 18:31:56 +08:00
Giga Group c9ff0e3961
Add model hunyuan-embedding (#6657)
Co-authored-by: sun <sun@centen.cn>
2024-07-29 18:30:52 +08:00
-LAN- 8dd68e2034
fix(api/core/moderation/output_moderation.py): Fix config call. (#6769) 2024-07-29 18:30:29 +08:00
Bowen Liang cb01bf2986
chore: set logging level to debug when reading YAML files and falling back to default value in case of None (#6758) 2024-07-29 13:40:18 +08:00
Bowen Liang 20268708cc
chore: improve position map conversion and tolerate empty position yaml file (#6541) 2024-07-29 10:32:11 +08:00
Vicky Guo 829472a1d7
switch to diffy_config with Pydantic in files, moderation and app (#6747)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-07-29 02:57:45 +08:00
Hiroshige Aoki e23461c837
Fix/6615 40 varchar limit on DatasetCollectionBinding and Embedding model name (#6723) 2024-07-28 09:42:58 +08:00
非法操作 21f6caacd4
feat: enhance the firecrawl tool (#6705) 2024-07-27 15:00:06 +08:00
-LAN- 6a3bef8378
feat(api/core/app/segments): Update segment types and variables (#6734)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-27 14:43:51 +08:00
-LAN- b6c3010f02
refactor(api/core/workflow/nodes/base_node.py): Update extract_variable_selector_to_variable_mapping method signature. (#6733)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-27 14:43:25 +08:00
crazywoola 90d2c01218
Feat/6725 can not get image url from cogview tool (#6728) 2024-07-27 00:07:31 +08:00
-LAN- 83af50368f
fix(api/core/model_runtime/model_providers/azure_openai/llm/llm.py): Try to skip if `delta.delta` is None. (#6727)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-27 00:05:21 +08:00
Jyong cf258b7a67
add xlsx support hyperlink extract (#6722) 2024-07-26 19:26:52 +08:00
-LAN- 5d77dc4f58
feat(api/core/app/segments/parser.py): Remove blank segment in `convert_template` (#6709)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-26 18:19:33 +08:00
Joe e4542215cc
fix: tongyi empty tool_calls is not supported in message (#6719) 2024-07-26 18:10:13 +08:00
Jason 3d3677e912
Feat/model provider novita (#6717)
Co-authored-by: takatost <takatost@gmail.com>
2024-07-26 17:37:21 +08:00
-LAN- c6996a48a4
refactor(api/core/app/segments): Support more kinds of Segments. (#6706)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-26 15:03:56 +08:00
chenxu9741 6b50bb0fe6
issues #6655 Open ai tts issues (#6696) 2024-07-26 14:55:49 +08:00
Sangmin Ahn ecb9c311b5
chore: make prompt generator max tokens configurable (#6693) 2024-07-26 10:20:23 +08:00
Yeuoly 79cb23e8ac
security/SSRF vulns (#6682) 2024-07-25 20:50:26 +08:00
longzhihun c5ac004f15
[seanguo] fix: unsupported filename in windows & add Mistral Large 2 (#6679) 2024-07-25 19:26:46 +08:00
RookieAgent 78a339a794
modify llama3-1 yaml filename to support Windows pull operations (#6677) 2024-07-25 18:58:55 +08:00
灰灰 5e4ac11df3
fix: code block segmentation problem of markdown document (#6465) 2024-07-25 17:24:37 +08:00
tmuife 16b4f560cd
fix bugs(when using Oracle23ai as Vector DB) (#6658) 2024-07-25 17:07:14 +08:00
-LAN- 75e6576c67
refactor(api/core/app/segments): implement `to_object` in ObjectVariable and ArrayVariable. (#6671)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-25 17:06:38 +08:00
Seayon 0b4c26578e
Enhance database URI security and add URL encoding (#6668) 2024-07-25 16:48:00 +08:00
xielong ebcc07e3e9
feat: support max_retries in jina requests (#6585) 2024-07-25 13:10:39 +08:00
-LAN- 55c2b61921
fix(api/fields/workflow_fields.py): Add check in environment variables (#6621) 2024-07-25 11:30:52 +08:00
Giga Group ca696fe94c
Add support of tool-call for model provider "hunyuan" (#6656)
Co-authored-by: sun <sun@centen.cn>
2024-07-25 11:27:58 +08:00
longzhihun 9815aab7a3
[seanguo] feat: add llama 3.1 support in bedrock (#6645) 2024-07-25 11:20:37 +08:00
yanghx 349ec0db77
fix tencent_cos_storage image-preview error is not a byte (#6652) 2024-07-25 11:20:20 +08:00
majian a876baf0a9
Resolve variable type parameter error (#6646) 2024-07-25 11:15:54 +08:00
Jyong 91fd8521c3
fix reranking model field error (#6654) 2024-07-25 10:07:55 +08:00
-LAN- 4ec9a87e46
fix(api/core/workflow/nodes/iteration/iteration_node.py): Extend output in iteration if output is a array. (#6647)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-25 00:32:39 +08:00
Vico Chu fb5e3662d5
Chores: add missing profile for middleware docker compose cmd and fix ssrf-proxy doc link (#6372)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-07-24 19:36:06 +08:00
-LAN- 31efe10c75
refactor(api/core/workflow/workflow_engine_manager.py): Remove (#6630)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-24 19:35:40 +08:00
-LAN- 72bc9d5f2b
feat(api/core/app/segments/variables.py): Support description in Variable. (#6636)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-24 19:35:22 +08:00
Jyong 600f13436d
remove rerank model must be required when retrieval_model is multiple (#6640) 2024-07-24 19:34:41 +08:00
Joe b347a2f839
Feat/user session id search (#6638) 2024-07-24 19:34:23 +08:00
zhangzhiqiangcs d4c55748f1
doc: fix about model features (#6619) 2024-07-24 19:12:10 +08:00
takatost 0625db0bf5
chore: optimize asynchronous workflow deletion performance of app related data (#6639) 2024-07-24 19:00:37 +08:00
takatost 05141ede16
chore: optimize asynchronous deletion performance of app related data (#6634) 2024-07-24 18:15:03 +08:00
dufei 5af2df0cd5
fix: qwen fc error (#6620)
Co-authored-by: dufei <du_fei@venusgroup.com.cn>
2024-07-24 16:56:06 +08:00
crazywoola f324374b95
Fix/6615 40 varchar limit on model name (#6623) 2024-07-24 16:23:16 +08:00
Jyong e4bb943fe5
Feat/delete single dataset retrival (#6570) 2024-07-24 12:50:11 +08:00
takatost 0fb741f269
fix: downgraded sentry-sdk to 1.44.1 due to claude LLM token returning 0 (#6597) 2024-07-24 04:49:03 +08:00
takatost 4c85393a1d
feat: add GroqCloud llama3.1 series models support (#6596) 2024-07-24 00:41:58 +08:00
sino d5c2680fde
feat: support llama3.1 series models for openrouter provider (#6595) 2024-07-24 00:37:48 +08:00
takatost 49729647ea
bump to 0.6.15 (#6592) 2024-07-23 22:46:42 +08:00
-LAN- 85a883e281
fix(variables): NoneVariable should inherit from NoneSegment. (#6584) 2024-07-23 21:46:08 +08:00
Joe 8123a00e97
feat: update prompt generate (#6516) 2024-07-23 19:52:14 +08:00
-LAN- 2bc0632d0d
fix(segments): Support NoneType. (#6581) 2024-07-23 17:59:32 +08:00
-LAN- ad7552ea8d
fix(api/core/workflow/nodes/llm/llm_node.py): Fix LLM Node error. (#6576) 2024-07-23 17:09:16 +08:00
非法操作 c0ada940bd
fix: tool params not work as expected when develop a tool (#6550) 2024-07-23 17:00:39 +08:00
takatost 1690788827
fix: name 'current_app' is not defined in recommended_app_service (#6574) 2024-07-23 16:48:21 +08:00
Lance Mao 7c55c39085
feat: add tencent asr (#6091) 2024-07-23 16:38:39 +08:00
非法操作 f17d4fe412
fix: extract only `like` feedback to caculate User Satisfaction (#6553) 2024-07-23 16:32:36 +08:00
-LAN- f019bc4bd7
feat(variables): Support `to_object`. (#6572) 2024-07-23 16:22:06 +08:00
-LAN- cfc408095c
fix(api/nodes): Fallback to `get_any` in some nodes that use object or array. (#6566) 2024-07-23 15:51:07 +08:00
takatost 6b5fac3004
fix: fetch context error in llm node (#6562) 2024-07-23 15:04:51 +08:00
崔亮 0569c547ee
fix the issue of MILVUS_DATABASE has no effect. (#6424) 2024-07-23 15:03:55 +08:00
tmuife 06fc1bce9e
Add search by full text when using Oracle23ai as vector DB (#6559) 2024-07-23 15:03:21 +08:00
Sangmin Ahn 093b8ca475
fix: escape double quotation marks in the vector DB search query (#6506) 2024-07-23 15:02:25 +08:00
Ryan Tian 5fcc2caeed
feat: add Mingdao HAP tool, implemented read and maintain HAP application worksheet data. (#6257)
Co-authored-by: takatost <takatost@gmail.com>
2024-07-23 14:34:19 +08:00
dependabot[bot] 642723d09e
chore(deps): bump sentry-sdk from 1.39.2 to 2.8.0 in /api (#6517)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 13:48:23 +08:00
-LAN- cd7fa8027a
fix(api/core/model_manager.py): Avoid mutation during iteration. (#6536) 2024-07-22 22:58:22 +08:00
-LAN- 617847e3c0
fix(api/services/app_generate_service.py): Remove wrong type hints. (#6535) 2024-07-22 22:58:07 +08:00
-LAN- 5e6fc58db3
Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-07-22 15:29:39 +08:00
Benjamin a67831773f
refactor: handle missing position file gracefully (#6513) 2024-07-22 13:24:32 +08:00
sino dfb6f4fec6
fix: extract tool calls correctly while arguments is empty (#6503) 2024-07-22 07:43:18 +08:00
Jyong f38034e455
clean vector collection redis cache (#6494) 2024-07-21 15:09:09 +08:00
Shoya SHIRAKI c57b3931d5
refactor(api): switch to dify_config in controllers/console (#6485) 2024-07-21 01:11:40 +08:00
Jyong f73a3a58ae
update delete embeddings by id (#6489) 2024-07-20 09:04:21 +08:00
Jyong 1e0e573165
update clean embedding cache query logic (#6483) 2024-07-20 01:29:25 +08:00
Joe 27e08a8e2e
Fix/extra table tracing app config (#6487) 2024-07-20 00:53:31 +08:00
Matri 49ef9ef225
feat(tool): getimg.ai integration (#6260) 2024-07-19 20:32:42 +08:00
Even c013086e64
fix: next suggest question logic problem (#6451)
Co-authored-by: evenyan <yikun.yan@ubtrobot.com>
2024-07-19 20:26:11 +08:00
sino 4f9f175f25
fix: correct gpt-4o-mini max token (#6472)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-07-19 18:24:58 +08:00
Jyong 57729823a0
fix wrong method using (#6459) 2024-07-19 13:48:13 +08:00
sino 9e168f9d1c
feat: support gpt-4o-mini for openrouter provider (#6447) 2024-07-19 13:09:41 +08:00
Weaxs ea45496a74
update ernie models (#6454) 2024-07-19 13:08:39 +08:00
Waffle 2ba05b041f
refactor(myscale):Set the default value of the myscale vector db in DifyConfig. (#6441) 2024-07-19 10:57:45 +08:00
Richards Tu 8e49146a35
[EMERGENCY] Fix Anthropic header issue (#6445) 2024-07-19 07:38:15 +08:00
takatost dad3fd2dc1
feat: add gpt-4o-mini (#6442) 2024-07-19 01:53:43 +08:00
Jyong e493ce9981
update clean embedding cache logic (#6434) 2024-07-18 20:25:28 +08:00
Weishan-0 7b45a5d452
fix: Unable to display images generated by Dall-E 3 (#6155) 2024-07-18 19:37:04 +08:00
ybalbert001 4a026fa352
Enhancement: add model provider - Amazon Sagemaker (#6255)
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-07-18 19:32:31 +08:00
leoterry dc847ba145
Fix the vector retrieval sorting issue (#6431)
Co-authored-by: weifj <“weifj@tuyuansu.com.cn”>
2024-07-18 19:25:41 +08:00
-LAN- c0ec40e483
fix(api/core/tools/provider/builtin/spider/tools/scraper_crawler.yaml): Fix wrong placeholder config in scraper crawler tool. (#6432) 2024-07-18 19:23:18 +08:00
themanforfree ba181197c2
feat: api_key support for xinference (#6417)
Signed-off-by: themanforfree <themanforfree@gmail.com>
2024-07-18 18:58:46 +08:00
Songyawn 218930c897
fix tool icon get failed (#6375)
Co-authored-by: songyawen <songyawen@zkme.xyz>
2024-07-18 18:55:48 +08:00
Poorandy c8f5dfcf17
refactor(rag): switch to dify_config. (#6410)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-07-18 18:40:36 +08:00
非法操作 afe95fa780
feat: support get workflow task execution status (#6411) 2024-07-18 15:06:14 +08:00
William Espegren 588615b20e
feat: Spider web scraper & crawler tool (#5725) 2024-07-18 14:29:33 +08:00
listeng d5dca46854
feat: add a Tianditu tool (#6320)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-07-18 13:04:03 +08:00
Xiao Ley 23e5eeec00
feat: added custom secure_ascii to the json_process tool (#6401) 2024-07-18 08:43:14 +08:00
Masashi Tomooka 5236cb1888
fix: kill signal is not passed to the main process (#6159) 2024-07-18 07:50:54 +08:00
forrestlinfeng 3b5b548af3
Add Stepfun LLM Support (#6346) 2024-07-18 07:47:18 +08:00
Richards Tu 4782fb50c4
Support new Claude-3.5 Sonnet max token limit (#6335) 2024-07-18 07:47:06 +08:00
Jyong f55876bcc5
fix web import url is too long (#6402) 2024-07-18 01:14:36 +08:00
Poorandy 8a80af39c9
refactor(models&tools): switch to dify_config in models and tools. (#6394)
Co-authored-by: Poorandy <andymonicamua1@gmail.com>
2024-07-17 22:26:18 +08:00
Jyong 443e96777b
update empty document caused delete exist collection (#6392) 2024-07-17 20:38:32 +08:00
xielong f3f052ba36
fix: rename model from ernie-4.0-8k-Latest to ernie-4.0-8k-latest (#6383) 2024-07-17 19:07:47 +08:00
Jyong 1bc90b992b
Feat/optimize clean dataset logic (#6384) 2024-07-17 17:36:11 +08:00
-LAN- fc37887a21
refactor(api/core/workflow/nodes/http_request): Remove `mask_authorization_header` because its alwary true. (#6379) 2024-07-17 16:52:14 +08:00
Lion 4ed1476531
fix: incorrect config key name (#6371)
Co-authored-by: LionYuYu <lyu@theknotww.com>
2024-07-17 15:52:51 +08:00
FamousMai 20f73cb756
fix: default model set wrong(#6327) (#6332)
Co-authored-by: maiyouming <maiyouming@yafex.cn>
2024-07-17 14:14:12 +08:00
Weaxs 4e2fba404d
WebscraperTool bypass cloudflare site by cloudscraper (#6337) 2024-07-17 14:13:57 +08:00
Bowen Liang 7943f7f697
chore: fix legacy API usages of Query.get() by Session.get() in SqlAlchemy 2 (#6340) 2024-07-17 13:54:35 +08:00
Jyong 7c397f5722
update celery beat scheduler time to env (#6352) 2024-07-17 02:31:30 +08:00
Charlie.Wei 06fcc0c650
Fix tts api err (#6349)
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-07-16 21:53:57 +08:00
Jyong 0de224b153
fix wrong using of RetrievalMethod Enum (#6345) 2024-07-16 19:09:04 +08:00
longzhihun ed9e692263
feat: bedrock model runtime enhancement (#6299) 2024-07-16 15:54:39 +08:00
svcvit cc0c826f36
Add tool: Google Translate (#6156) 2024-07-16 15:28:33 +08:00
Jyong 988aa4b5da
update clean_unused_datasets_task timedelta (#6324) 2024-07-16 13:43:04 +08:00
Bowen Liang c5d06e7943
dep: bump Pydantic from 2.7 to 2.8 (#6273) 2024-07-16 13:40:58 +08:00
呆萌闷油瓶 d66d7146a3
chore:update azure GA version 2024-06-01 (#6307) 2024-07-16 10:32:18 +08:00
takatost eabfd84ceb
bump to 0.6.14 (#6294) 2024-07-15 21:01:09 +08:00
Jyong d320d1468d
Feat/delete file when clean document (#5882) 2024-07-15 19:57:05 +08:00
Onelevenvy b47fa27a35
fix: zhipuai validate error when user's api key not support for chatglm_turbo in issue #6289 (#6290) 2024-07-15 19:27:18 +08:00
thibautleaux-kreactive 96c171805a
Update bedrock.yaml (#6281) 2024-07-15 16:53:03 +08:00
takatost 46a5294d94
feat(backend): support import DSL from URL (#6287) 2024-07-15 16:23:40 +08:00
Benjamin ec181649ae
Update model provider configuration for Triton Inference Server and X… (#6274) 2024-07-15 15:07:28 +08:00
guogeer 4fdcb30ff8
fix: custom tool input number fail (#6200)
Co-authored-by: jinqi.guo <jinqi.guo@ubtrobot.com>
2024-07-14 22:11:13 +08:00
Waffle 07add06c59
Feat/add zhipu CogView 3 tool (#6210) 2024-07-13 17:39:17 +08:00
tangyoha 0cbbaf3f68
fix: markdown proc will remove image (#5855) 2024-07-12 20:07:22 +08:00
Little 羊 7c2c949f01
Update ernie_bot.py (#6236) 2024-07-12 19:54:53 +08:00
天魂 1df71ec64d
refactor(api): switch to dify_config with Pydantic in controllers and schedule (#6237) 2024-07-12 16:51:43 +08:00
Matri a9ee52f2d7
Fix/firecrawl parameters issue (#6213) 2024-07-12 12:59:50 +08:00
Waffle 7b225a5ab0
refactor(services/tasks): Swtich to dify_config witch Pydantic (#6203) 2024-07-12 12:25:38 +08:00
耐小心 d7a6f25c63
fix: differentiate prompts fields based on function_calling_type (#5880) 2024-07-12 11:07:38 +08:00
crazywoola ee3936916f
upgrade deepseek params (#6215) 2024-07-12 10:55:44 +08:00
dufei 109de52fe2
Fix: When editing an Agent, selecting custom tools does not allow filtering by labels. (#6197)
Co-authored-by: dufei <du_fei@venusgroup.com.cn>
2024-07-12 09:02:25 +08:00
Little 羊 2f064c68bc
Create ernie-4.0-turbo-8k-preview (#6132) 2024-07-11 20:20:07 +08:00
JasonVV 0e82072323
Fix if_else node compatibility with historical workflows. (#6186) 2024-07-11 17:13:16 +08:00
Jyong 678ad6b7eb
Fix/file stream azure blob (#6196) 2024-07-11 17:01:03 +08:00
Zhuo Qiu 63e34e5227
feat: support MyScale vector database (#6092) 2024-07-11 15:21:59 +08:00
非法操作 5660878f7b
chore: update the tool's doc (#6167) 2024-07-11 11:02:58 +08:00
liuzhenghua 9622fbb62f
feat: app rate limit (#5844)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-07-10 21:31:35 +08:00
crazywoola cc8dc6d35e
Revert "chore: update the tool's doc" (#6153) 2024-07-10 19:57:12 +08:00
Su Yang 215661ef91
feat: add PerfXCloud, Qwen series #6116 (#6117) 2024-07-10 18:26:10 +08:00
Joe 5a3e09518c
feat: add if elif (#6094) 2024-07-10 18:22:51 +08:00
非法操作 1d2ab2126c
chore: update the tool's doc (#6122) 2024-07-10 12:42:34 +08:00
Bowen Liang f9d00e0498
chore: use poetry for linter tools installation and bump Ruff from 0.4 to 0.5 (#6081) 2024-07-09 23:06:23 +08:00
sino d27e3ab99d
chore: remove unresolved reference (#6110) 2024-07-09 23:04:44 +08:00
Joe ce930f19b9
fix dataset operator (#6064)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-07-09 17:47:54 +08:00
8bitpd 7c70eb87bc
feat: support AnalyticDB vector store (#5586)
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2024-07-09 13:32:04 +08:00
chenxu9741 6ef401a9f0
feat:add tts-streaming config and future (#5492) 2024-07-09 11:33:58 +08:00
takatost 17f22347ae
bump to 0.6.13 (#6078) 2024-07-08 23:23:07 +08:00
takatost 68b1d063f7
chore: remove tsne unused code (#6077) 2024-07-08 21:25:19 +08:00
Xiao Ley 6610b4cee5
feat: add request_params field to jina_reader tool (#5610) 2024-07-08 18:11:50 +08:00
Jyong cbbe28f40d
fix azure stream download (#6063) 2024-07-08 17:13:16 +08:00
75py 610da4f662
Fix authorization header validation to handle bearer types correctly - "authorization config header is required" error (#6040) 2024-07-08 00:09:59 +08:00
crazywoola 3ec80f9dda
Fix/6034 get random order of categories in explore and workflow is missing in zh hant (#6043) 2024-07-07 17:06:47 +08:00
Mab 91c5818236
Modify slack webhook url validation to allow workflow (#6041) (#6042)
Co-authored-by: Shunsuke Mabuchi <mabuchs@amazon.co.jp>
2024-07-07 14:09:20 +08:00
-LAN- c436454cd4
fix(configs): Update pydantic settings in config files (#6023) 2024-07-07 12:18:15 +08:00
Yeuoly a877d4831d
Fix/incorrect parameter extractor memory (#6038) 2024-07-07 12:17:34 +08:00
takatost d522308a29
chore: optimize memory fetch performance (#6039) 2024-07-07 08:54:24 +08:00
sino 85744b72e5
feat: support moonshot and glm base models for volcengine provider (#6029) 2024-07-07 01:17:33 +08:00
Cherilyn Buren f0b7051e1a
Optimize db config (#6011) 2024-07-07 01:06:51 +08:00
Masashi Tomooka 3b23d6764f
fix: token count includes base64 string of input images (#5868) 2024-07-06 16:53:32 +08:00
Bowen Liang 9b7c74a5d9
chore: skip pip upgrade preparation in api dockerfile (#5999) 2024-07-06 14:17:34 +08:00
-LAN- 4d105d7bd7
feat(*): Swtich to dify_config. (#6025) 2024-07-06 12:05:13 +08:00
非法操作 eee779a923
fix: the input field of tool panel not worked as expected (#6003) 2024-07-06 09:54:30 +08:00
ahasasjeb ab847c81fa
Add 2 firecrawl tools : Scrape and Search (#6016)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-07-06 09:45:39 +08:00
-LAN- b217ee414f
test(test_rerank): Remove duplicate test cases. (#6024) 2024-07-06 09:44:50 +08:00
takatost 23dc6edb99
chore: optimize memory messages fetch count limit (#6021) 2024-07-06 03:25:38 +08:00
takatost 79df8825c8
Revert "feat: knowledge admin role" (#6018) 2024-07-05 21:31:34 +08:00
K8sCat 71c50b7e20
feat: add Llama 3 and Mixtral model options to ddgo_ai.yaml (#5979)
Signed-off-by: K8sCat <k8scat@gmail.com>
2024-07-05 21:11:15 +08:00
opriuwohg af98fd29bf
fix: add status_code 304 (#6000)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-07-05 21:10:33 +08:00
crazywoola cddea83e65
6014 i18n add support for spanish (#6017) 2024-07-05 21:05:33 +08:00
Joe 3f0da88ff7
fix: update workflow trace query (#6010) 2024-07-05 18:37:26 +08:00
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
kurokobo 2e842333b1
fix: correct typos in the icons for microsoft (#5243) 2024-06-15 21:02:47 +08:00
Yash Parmar 6ccde0452a
feat: Added hindi translation i18n (#5240) 2024-06-15 21:01:03 +08:00
Serply 795714bc2f
feat(Tools): Add Serply Web/Job/Scholar/News Search tool for more options (#5186)
Co-authored-by: teampen <136991215+teampen@users.noreply.github.com>
2024-06-15 20:09:33 +08:00
Masashi Tomooka d9bee03ff6
fix: embedding job fails using IAM role (#5252) 2024-06-15 18:57:54 +08:00
sino 4f0488abb5
fix: wrong order of history prompts in ReAct agent mode (#5236) 2024-06-15 10:53:30 +08:00
takatost 12c815c597
fix: ExtractSetting optional value missing None as default val (#5238) 2024-06-15 02:58:47 +08:00
takatost d098bdc59b
version to 0.6.11 (#5224) 2024-06-15 02:46:24 +08:00
Jyong ba5f8afaa8
Feat/firecrawl data source (#5232)
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-06-15 02:46:02 +08:00
takatost 8da035aac6
Update README.md (#5228) 2024-06-14 22:31:01 +08:00
kurokobo ef6034abfd
fix: allow the name and icon of the web app to be set independently of that of the bot itself (#5225) 2024-06-14 22:16:11 +08:00
kurokobo 0391282b5e
fix: initialize site with customized icon and icon_background (#5227) 2024-06-14 22:15:50 +08:00
走在修行的大街上 8d1386df0f
feat(Tools): Add Feishu multi-dimensional table operation function (#5213)
Co-authored-by: 黎斌 <libin.23@bytedance.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-06-14 21:19:20 +08:00
DomKing 43c19007e0
fix: workspace member's last_active should be last_active_time, but not last_login_time (#4906) 2024-06-14 20:49:19 +08:00
rerorero c6b791d070
fix: number variable cause type error in openai moderation (#5222) 2024-06-14 20:43:03 +08:00
Charles Zhou 8bcc5a36bb
feat: new editor user permission profile (#4435)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-06-14 20:34:25 +08:00
th3n00b13 cdb6c801c1
Fix: http_request delete method not working (#4975) 2024-06-14 20:07:22 +08:00
quicksand 4080f7b8ad
feat: support tencent vector db (#3568) 2024-06-14 19:25:17 +08:00
Jaxon Ley 337bad8525
feat: Add Optional API Key, Proxy Server, and Bypass Cache Parameters to Jina Tools (#5197) 2024-06-14 19:09:25 +08:00
Bin 0f35d07052
support ERNIE-4.0-8K-Latest (#5216) 2024-06-14 18:45:24 +08:00
-LAN- 7f44e88eda
fix(model_providers/ollama): Fix OllamaLargeLanguageModel to correctly set the stop option (#5217) 2024-06-14 18:26:14 +08:00
Jason b7ff765d8d
Add novita.ai as model provider (#4961) 2024-06-14 18:23:06 +08:00
Jyong d7fbae286a
add aws s3 iam check (#5174) 2024-06-14 15:19:59 +08:00
Masashi Tomooka 0633aae7dc
feat: allow to use IAM Role for Bedrock (#5188) 2024-06-14 15:18:42 +08:00
doufa f87f11e92c
chore: make the Celery command more noticeable (#5203) 2024-06-14 15:06:07 +08:00
Bowen Liang 2b04388361
chore: remove bump-pydantic dependency (#5177) 2024-06-14 15:05:17 +08:00
takatost 3c0f21d174
fix: workflow as tool create error by type misuse (#5205) 2024-06-14 15:01:09 +08:00
-LAN- ed53ef29f4
fix(core/tools): Fix the issue with iterating over None in `_transform_tool_parameters_type`. (#5190) 2024-06-14 11:25:48 +08:00
dependabot[bot] 54e02b8147
chore(deps): bump authlib from 1.2.0 to 1.3.1 in /api (#5115)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-06-14 03:55:40 +08:00
Summer-Gu 7f98c2ea3f
refactor: Delete the dataset to verify whether it is in use (#5112) 2024-06-14 03:25:38 +08:00
dependabot[bot] 7189a4c379
chore(deps): bump azure-identity from 1.15.0 to 1.16.1 in /api (#5116)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-06-14 03:24:32 +08:00
takatost 415022aa14
fix: pydantic2 error (#5172) 2024-06-14 03:05:04 +08:00
saga.rey edf2047f04
fix: milvus_vector default dataset index_struct type from weaviate to milvus (#5098) 2024-06-14 02:36:01 +08:00
rerorero b85ae146a7
fix: JSON mode with an image doesn't work for Gemini (#5169) 2024-06-14 02:32:09 +08:00
takatost 5ec7d85629
fix: issues by pydantic2 upgrade (#5171) 2024-06-14 02:28:28 +08:00
Pan, Wen-Ming f13af5a811
fix(model_providers/vertex_ai): Vertex AI Anthropic models authentication failed (#4971) 2024-06-14 01:34:31 +08:00
Bowen Liang f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592) 2024-06-14 01:05:37 +08:00
Yeuoly e8afc416dd
improve: CI experience (#5168) 2024-06-13 23:16:28 +08:00
Yeuoly 0cccf9c67d
feat: introduce APP_MAX_EXECUTION_TIME (#5167) 2024-06-13 23:08:05 +08:00
Bowen Liang cdc08a434f
feat: support Chroma vector store (#5015) 2024-06-13 18:02:18 +08:00
Kazuki Takamatsu 3f18369ad2
Fix: google storage init with sa and download (#5054) 2024-06-13 17:36:34 +08:00
Kazuki Hasegawa db976a1f74
Upgrade boto3 library to support EKS Pod Identity. (#5064) 2024-06-13 17:36:14 +08:00
kurokobo e61f5d029a
chore(docs): fix minor small typos (#5124) 2024-06-13 17:36:01 +08:00
sino 8210637bc5
feat: support jina-clip-v1 embedding model (#5146) 2024-06-13 16:31:18 +08:00
呆萌闷油瓶 790543131a
chore:add some new api version for azure openai (#5142) 2024-06-13 16:30:47 +08:00
Ikko Eltociear Ashimine a40f68cf94
chore: update qdrant_vector.py (#5128) 2024-06-13 15:35:14 +08:00
yanghx adc948e87c
fix(api/core/model_runtime/model_providers/baichuan,localai): Parse ToolPromptMessage. #4943 (#5138)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-13 13:08:30 +08:00
smoky 742b08e1d5
chore: update question classifier prompt (#5137)
Signed-off-by: 0xff-dev <stevenshuang521@gmail.com>
2024-06-13 13:04:51 +08:00
orangeclk 79e8489942
feat: support siliconflow (#5129) 2024-06-13 12:59:41 +08:00
Charlie.Wei d6fa130cb5
remove dalle3 seed (#5136)
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-13 08:05:55 +08:00
takatost 0c92f81efc
chore: sync pyproject.toml from requirements.txt (#5130) 2024-06-13 00:06:05 +08:00
fishisnow 11fd4a5dcc
Fix: fix load_yaml logging, Avoid setting the log level to warning (#5019)
Co-authored-by: huangyusong <huangyusong@yingzi.com>
2024-06-12 19:27:01 +08:00
Harry Wang b399e8a359
fixed a typo and grammar error in sampled app (#5061) 2024-06-12 18:02:22 +08:00
非法操作 e04fc9b304
fix: select field not work when it is not required (#5101) 2024-06-12 17:46:53 +08:00
xielong ea69dc2a7e
feat: support hunyuan llm models (#5013)
Co-authored-by: takatost <takatost@users.noreply.github.com>
Co-authored-by: Bowen Liang <bowenliang@apache.org>
2024-06-12 17:24:23 +08:00
Pika ecc7f130b4
fix(typo): misspelling (#5094) 2024-06-12 17:01:21 +08:00
sino 0ce97e6315
feat: support doubao llm function calling (#5100) 2024-06-12 15:43:50 +08:00
Bowen Liang 25b0a97851
build: use Poetry as default build system for dependency installation in CI jobs (#5088) 2024-06-12 14:43:03 +08:00
rerorero 28997772a5
fix: remote_url doesn't work for gemini (#5090) 2024-06-12 13:14:53 +08:00
Charlie.Wei b7c72f7a97
dalle3 add style consistency parameter (#5067)
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-12 12:59:03 +08:00
非法操作 3b36ba797f
feat: add duckduckgo img search, translate, ai chat (#5074) 2024-06-12 10:04:10 +08:00
ugyuji 4d2e6c3391
fix: Google HL Parameter for SearchApi (#5071) 2024-06-12 08:30:01 +08:00
orangeclk 2050a8b8f0
feat: add glm4 new models and zhipu embedding-2 (#5089) 2024-06-12 08:22:17 +08:00
takatost e3544c6ef7
fix: dependency package versions are not synchronized to requirements.txt (#5084) 2024-06-11 22:21:18 +08:00
Matri f62f71a81a
build: initial support for poetry build tool (#4513)
Co-authored-by: Bowen Liang <bowenliang@apache.org>
2024-06-11 13:11:28 +08:00
sino 5f870ac950
chore: update maas model provider description (#5056) 2024-06-11 11:22:22 +08:00
Pascal M 415816cf35
feat: add dataset delete endpoint (#5048) 2024-06-11 11:21:38 +08:00
takatost 5986841e27
fix: issue where an error occurs when invoking TTS without selecting a voice (#5046) 2024-06-09 20:28:24 +08:00
Jaxon Ley 2573b138bf
fix: update presence_penalty configuration for wenxin AI ernie-4.0-8k and ernie-3.5-8k models (#5039) 2024-06-09 14:44:11 +08:00
Bowen Liang bdad993901
improve: generalize vector factory classes and vector type (#5033) 2024-06-08 22:29:24 +08:00
Jyong 3b60c28b3a
deal the external image when extract docx image (#5024) 2024-06-07 20:00:39 +08:00
Jyong 481e7bc6b9
Fix/azure blob new version (#5004) 2024-06-06 23:36:13 +08:00
takatost 3929d289e0
feat: set default memory messages limit to infinite (#5002) 2024-06-06 17:39:44 +08:00
Yeuoly 52585aea74
fix: typo in sd3 (#5000) 2024-06-06 17:08:49 +08:00
Yeuoly 73dee84cab
fix: add handling for non-string type in variable template parser (#4996) 2024-06-06 16:38:13 +08:00
Joe 5cdb95be1f
fix: gemini timeout error (#4955) 2024-06-06 10:19:03 +08:00
Bowen Liang 7fa735a43b
chore: rename vdb tests for PGVector and PGvectoRS (#4973) 2024-06-06 07:22:49 +08:00
takatost 3579fd1b09
feat: add create tenant command (#4974) 2024-06-06 00:42:00 +08:00
Jyong 237b8fe3d9
add meta.doc_id index for tidb (#4963) 2024-06-05 20:45:43 +08:00
Jyong 02e4de5166
fix some tidb bugs (#4960) 2024-06-05 19:14:18 +08:00
Weaxs 0797f9bc05
feat: support tidb vector (#4588) 2024-06-05 18:19:53 +08:00
非法操作 602c4e51ec
fix: duckduckgo search does not work (#4949)
Co-authored-by: Jyong <76649700+johnjyong@users.noreply.github.com>
2024-06-05 17:33:58 +08:00
YC 9f8ca75a81
fixing a bug of handling header row when parsing xls file, and tune xls/xlsx parsing result to be more structured (#3600) 2024-06-05 15:28:43 +08:00
Yeuoly 80a87f36ea
fix: missing iterator in task pipeline (#4948) 2024-06-05 15:10:20 +08:00
Bowen Liang f32b440c4a
chore: fix indention violations by applying E111 to E117 ruff rules (#4925) 2024-06-05 14:05:15 +08:00
JasonVV 7749b71fff
Optimize knowledge retrieval performance by batching dataset quries. (#4917) 2024-06-05 13:30:32 +08:00
takatost b20d173324
pref: optimize feature model_load_balancing_enabled value fetch speed… (#4933) 2024-06-05 02:06:19 +08:00
takatost f44d1e62d2
fix: bedrock get_num_tokens prompt_messages parameter name err (#4932) 2024-06-05 01:53:05 +08:00
takatost 21ac2afb3a
fix: question classifier instruction npe (#4931) 2024-06-05 01:27:58 +08:00
takatost f7dd327bc2
version to 0.6.10 (#4929) 2024-06-05 01:12:20 +08:00
takatost 09298a32e7
fix: vanna CVE-2024-5565 by disable visualize of ask func (#4930) 2024-06-05 00:46:22 +08:00
takatost d1dbbc1e33
feat: backend model load balancing support (#4927) 2024-06-05 00:13:04 +08:00
Yeuoly 52ec152dd3
fix: incorrect parameters transforming while validating (#4928) 2024-06-05 00:01:30 +08:00
Jyong c7bddb637b
support instruction in classifier node (#4913) 2024-06-04 20:07:54 +08:00
Jyong 4e3b0c5aea
support rename document (#4915) 2024-06-04 20:07:40 +08:00
Jyong b6631cd878
modify rerank and splitter code directory (#4924) 2024-06-04 20:07:25 +08:00
非法操作 e121788ff5
chore: make the error msg more clear when validate app token (#4919)
Co-authored-by: Jyong <76649700+johnjyong@users.noreply.github.com>
2024-06-04 18:04:10 +08:00
Jyong 9cf9720efa
Fix/azure blob token expire (#4914) 2024-06-04 14:30:23 +08:00
Henry Lu 2d9f55b632
feat: Add Vanna.AI as a builtin tool (#4878)
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-06-04 14:05:29 +08:00
非法操作 7133a16511
chore: refactor the serpapi's google search tool (#4834) 2024-06-04 14:05:05 +08:00
Moonlit 86e7c7321f
Fixed a bug where any content in the 'fetch' was converted to True (#4400) 2024-06-04 13:27:23 +08:00
Bowen Liang 58db719a2c
dep: bump pandas from 1.x to 2.x (#4820) 2024-06-04 13:24:28 +08:00
doufa 9abeb99b32
chore: modify tools/JinaReader label to Jina (#4908) 2024-06-04 13:21:05 +08:00
Jyong d828a7fc35
fix azure blob token expire (#4911) 2024-06-04 13:04:56 +08:00
dependabot[bot] b97181a793
chore(deps): bump azure-storage-blob from 12.9.0 to 12.13.0 in /api (#4695)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 02:57:33 +08:00
Bowen Liang 5d15aca85f
chore: remove unused code and class in text splitter (#4864) 2024-06-04 02:54:09 +08:00
Pan, Wen-Ming b98a1a3303
feat: added Anthropic Claude3 models to Google Cloud Vertex AI (#4870)
Co-authored-by: pwm <pwm@google.com>
2024-06-04 02:52:46 +08:00
takatost 696c5308a9
chore: optimize nvidia nim credential schema and info (#4898) 2024-06-04 02:26:26 +08:00
Bowen Liang 3542d55e67
improve: generalize tool parameter converter (#4786) 2024-06-03 21:26:58 +08:00
Joshua 3c8a120e51
add-nvidia-mim (#4882) 2024-06-03 21:10:18 +08:00
Charlie.Wei d058a234ba
Fixed workflow tts feature audition (#4867) 2024-06-03 00:22:14 +08:00
Pan, Wen-Ming cdbc260571
Bugfix: Vertex AI vision model not support image (#4853) 2024-06-02 11:11:09 +08:00
Bowen Liang b234710af9
chore: fix invalid escape sequences by applying W605 rule (#4851) 2024-06-02 10:02:37 +08:00
Bowen Liang 23498883d4
chore: skip explicit installing jinja2 as testing dependency (#4845) 2024-06-02 09:49:20 +08:00
Bowen Liang a47e8d0da2
test: CI test for db migration scripts on changes (#4739) 2024-05-31 16:45:34 +08:00
Yeuoly 7aaa1ff270
chore: increase workflow max steps to 500 (#4835) 2024-05-31 15:16:35 +08:00
Yeuoly 85698ca4f7
chore: cleanup tools, remove useless code (#4833) 2024-05-31 14:19:59 +08:00
Oliver Lee 176d91937d
fix 'NoneType' and new ContentType supported. (#4818) 2024-05-31 14:19:33 +08:00
Yash Parmar e0da0744b5
add: ollama keep alive parameter added. issue #4024 (#4655) 2024-05-31 12:22:02 +08:00
DomKing 38a470a873
fix: app_count of dataset is error when apps was deleted (#4810) 2024-05-30 19:23:46 +08:00
Krasus.Chen 93d3350c8c
update sd-webui api parameters to v1.9.3 (#4798)
Co-authored-by: Your Name <chen@krasus.red>
2024-05-30 19:04:47 +08:00
Charles Zhou a325a294bd
feat: opportunistic tls flag for smtp (#4794) 2024-05-30 18:56:46 +08:00
zxhlyh 4b91383efc
feat: workflow variable aggregator support group (#4811)
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-05-30 18:54:58 +08:00
SebastjanPrachovskij b10e67be3b
Add SearchApi tools (#4648) 2024-05-30 11:11:17 +08:00
Kota-Yamaguchi 3b60b712ec
feat: Add logging warning when MAIL_TYPE is not set (#4771) 2024-05-29 18:06:16 +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 74f38eacda
feat: support define tags in tool yaml (#4763) 2024-05-29 15:19:14 +08:00
Weaxs b189faca52
feat: update ernie model (#4756) 2024-05-29 14:57:23 +08:00
Yeuoly d4cd6149ac
fix: incorrect workflow max call depth (#4759) 2024-05-29 14:52:28 +08:00
xielong e1cd9aef8f
feat: support baichuan3 turbo, baichuan3 turbo 128k, and baichuan4 (#4762) 2024-05-29 14:46:04 +08:00
Yeuoly ba37275503
fix: confusing chart description (#4760) 2024-05-29 14:36:33 +08:00
majian 72a90074bc
Add WORKFLOW_CALL_MAX_DEPTH env var. (#4713) 2024-05-29 13:39:11 +08:00
crazywoola 705a6e3a8e
Fix/4742 ollama num gpu option not consistent with allowed values (#4751) 2024-05-29 13:33:35 +08:00
xielong 793f0c1dd6
fix: Corrected schema link in model_runtime's README.md (#4757) 2024-05-29 13:03:21 +08:00
takatost 9e6b6e7b82
fix: workflow run sequence number slow sql (#4737) 2024-05-28 20:41:52 +08:00
xielong 88b4d69278
fix: Correct context size for banchuan2-53b and banchuan2-turbo (#4721) 2024-05-28 16:37:44 +08:00
Jyong 1b2d862973
add error msg for hit test (#4704) 2024-05-28 14:54:53 +08:00
Yeuoly e198bc9b9a
fix: workflow as tool garbled (#4707) 2024-05-28 14:51:42 +08:00
crazywoola 6534566b7e
feat: add América/São Paulo tz (#4701) 2024-05-28 10:12:18 +08:00
takatost e60350d95d
version to 0.6.9 (#4692) 2024-05-27 22:48:34 +08:00
Patryk Garstecki f40743183e
🔧 Add env variable for time signature (#4650) 2024-05-27 22:20:49 +08:00
Yeuoly e852a21634
Feat/workflow phase2 (#4687) 2024-05-27 22:01:11 +08:00
Bowen Liang 140dd873f1
fix: show exception message when sandbox execution fails (#4663) 2024-05-27 18:06:15 +08:00
crazywoola 27dae156db
fix: colon in file mistral.mistral-small-2402-v1:0 (#4673) 2024-05-27 13:15:20 +08:00
Giovanny Gutiérrez 2deb23e00e
fix: Show rerank in system for localai (#4652) 2024-05-27 12:09:51 +08:00
longzhihun fe9bf5fc4a
[seanguo] add support of amazon titan v2 and modify the price of amazon titan v1 (#4643)
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2024-05-26 23:30:22 +08:00
Charlie.Wei cd4924d472
Fix tts audition (#4656)
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-05-26 21:00:36 +08:00
kronus-ho f56b984d97
Fix Unnecessary Newline Characters in Extracted Tool Response Text (#4646)
Co-authored-by: kronus <kronus@istarshine.com>
2024-05-25 15:24:59 +08:00
miendinh f804adbff3
feat: Support for Vertex AI - load Default Application Configuration (#4641)
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-05-25 13:40:25 +08:00
10YearsDiary 109aabc6f2
fix: incorrect handling when http header value contain multiple colons. (#4574) 2024-05-25 13:20:06 +08:00
liuzhenghua ad620f02c7
fix: the date is incorrect if the db field is timestamp and the TZ is not the UTC (#4624)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
2024-05-25 13:11:18 +08:00
yalei 026175c8f7
feat: update notion extractor (#3898)
Co-authored-by: duyalei <>
2024-05-24 20:30:48 +08:00
Krasus.Chen f156014daa
update lite8k/speed8k/128k max_token to newest (#4636)
Co-authored-by: Your Name <chen@krasus.red>
2024-05-24 19:33:42 +08:00
takatost 2cd55e456a
fix: WORKFLOW_MAX_EXECUTION_STEPS spell error in config.py (#4642) 2024-05-24 16:32:26 +08:00
majian 8c2ca60c8b
feat: Add WORKFLOW_MAX_EXECUTION_TIME env var (#4632) 2024-05-24 15:27:12 +08:00
Bowen Liang 3fda2245a4
improve: extract method for safe loading yaml file and avoid using PyYaml's FullLoader (#4031) 2024-05-24 12:08:12 +08:00
Patryk Garstecki 296887754f
Support for Vertex AI (#4586) 2024-05-24 12:01:40 +08:00
QuietRocket 9ae72cdcf4
feat: Add Gemini Flash (#4616) 2024-05-24 11:43:06 +08:00
crazywoola 16fec084f5
Fix/4630 bug api suggested (#4633) 2024-05-24 11:11:12 +08:00
Jyong 24624491cd
add qdrant metadata.doc_id index when create qdrant collection (#4570) 2024-05-23 18:11:01 +08:00
Jyong 233c4150d1
support images and tables extract from docx (#4619) 2024-05-23 18:05:23 +08:00
Yeuoly 5893ebec55
fix: code node garbled in Javascript (#4615) 2024-05-23 17:18:57 +08:00
takatost 11642192d1
chore: add https://api.openai.com placeholder in OpenAI api base (#4604) 2024-05-23 12:56:05 +08:00
呆萌闷油瓶 e57bdd4e58
chore:update gpt-3.5-turbo and gpt-4-turbo parameter for azure (#4596) 2024-05-23 11:51:38 +08:00
somethingwentwell 461488e9bf
Add Azure OpenAI API version for GPT4o support (#4569)
Co-authored-by: wwwc <wwwc@outlook.com>
2024-05-22 17:43:16 +08:00
非法操作 24576a39e5
fix: some google search result raise exception (#4567) 2024-05-22 14:28:52 +08:00
Justin Wu 3ab19be9ea
Fix bedrock claude wrong pricing (#4572)
Co-authored-by: Justin Wu <justin.wu@ringcentral.com>
2024-05-22 14:28:28 +08:00
naporitan 5b009a5afb
chore(api): Use channel from UI as API query parameter (#4562) 2024-05-22 14:28:03 +08:00
非法操作 3efb5fe7e2
Refactor part of the ProviderManager code to improve readability (#4524) 2024-05-22 11:18:03 +08:00
呆萌闷油瓶 d5a33a0323
feat:add gpt-4o for azure (#4568) 2024-05-22 11:02:43 +08:00
Jyong f25927855e
add qdrant metadata.doc_id index (#4559) 2024-05-22 01:42:08 +08:00
Li Yi f32bba6531
Update requirements.txt with latest OSS package with AuthV4 support (#4425) 2024-05-20 17:26:07 +08:00
Benjamin 40bc936739
chore: update yfinance dependency to version 0.2.40 (#4517) 2024-05-20 16:47:05 +08:00
rennokki 6b5685ef0c
feat: Jina Search & Jina Reader CSS selectors (#4523) 2024-05-20 16:40:46 +08:00
Bowen Liang e8e213ad1e
chore: apply and fix flake8-bugbear lint rules (#4496) 2024-05-20 16:34:13 +08:00
Bowen Liang 5f4df34829
improve: generalize transformations and scripts of runner and preloads into TemplateTransformer (#4487) 2024-05-20 15:56:26 +08:00
Rain Chen c255a20d7c
allow to config max segmentation tokens length for RAG document using environment variable (#4375) 2024-05-20 13:20:27 +08:00
majian b5204111da
Add UNSTRUCTURED_API_KEY env support (#4369) 2024-05-20 13:14:17 +08:00
Bowen Liang 3a51f2a778
fix: workaround db migration error when adding custom_disclaimer column to recommended_apps (#4518)
Co-authored-by: takatost <takatost@gmail.com>
2024-05-20 12:33:21 +08:00
Ever 4086f5051c
feat:Provide parameter config for mask_sensitive_info of MiniMax mode… (#4294)
Co-authored-by: 老潮 <zhangyongsheng@3vjia.com>
Co-authored-by: takatost <takatost@users.noreply.github.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-05-20 10:15:27 +08:00
Benjamin 46bd53a929
chore: sort categories in recommended app service response (#4498) 2024-05-19 22:44:29 +08:00
Matri a10c2ccd41
fix: files data missed for message (#4512) 2024-05-19 22:42:52 +08:00
fanghongtai 1cca100a48
fix:modify spelling errors: lanuage ->language in schema.md (#4499)
Co-authored-by: wxfanghongtai <wxfanghongtai@gf.com.cn>
2024-05-19 18:31:05 +08:00
Bowen Liang 04ad46dd31
chore: skip unnecessary key checks prior to accessing a dictionary (#4497) 2024-05-19 18:30:45 +08:00
Patryk Garstecki aa13d14019
Feat/chat custom disclaimer (#4306) 2024-05-18 10:52:48 +08:00
zxhlyh 8b931b085c
fix: app logo (#4483) 2024-05-17 18:02:00 +08:00
sino 528faceb35
fix: cot agent token usage is empty (#4474) 2024-05-17 14:45:20 +08:00
Yeuoly c2a8fa91b1
fix: cot gent duplicate messages (#4470) 2024-05-17 13:32:02 +08:00
Yeuoly 091fba74cb
enhance: claude stream tool call (#4469) 2024-05-17 12:43:58 +08:00
Bowen Liang 083ef2e6fc
improve: exract Code Node provider for each supported scripting language (#4164) 2024-05-17 11:58:12 +08:00
jiaqianjing 0ac5d621b6
add llm: ernie-character-8k of wenxin (#4448) 2024-05-16 18:31:07 +08:00
Jyong bdd409970f
fix the wrong env variable AZURE_BLOB_CONTAINER_NAME (#4455) 2024-05-16 18:30:52 +08:00
takatost d8f38f79f2
feat: add pre ping for sqlalchemy configuration (#4454) 2024-05-16 17:07:21 +08:00
Han Fangyuan 3df47b7b59
fix: wrong category name in examples of question classifier completion prompt (#4421) 2024-05-16 13:04:57 +08:00
sino 6e9066ebf4
feat: support doubao llm and embeding models (#4431) 2024-05-16 11:41:24 +08:00
Garfield Dai dd94931116
Remove useless code (#4416) 2024-05-15 16:14:49 +08:00
huchengyi da81233d61
Custom sqlalchemy database uri scheme is supported (#4367) 2024-05-15 15:27:15 +08:00
VoidIsVoid a76ae2d756
chore: remove useless code in knowledge_retrieval_node (#4412) 2024-05-15 15:24:40 +08:00
Charlie.Wei 97b65f9b4b
Optimize webscraper (#4392)
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-05-15 15:23:16 +08:00
Yeuoly 182dadd433
chore: remove model as tool (#4409) 2024-05-15 12:25:04 +08:00
非法操作 1d0f88264f
Fix HTTP REQUEST NODE is always waiting but endpoint have responsed (#4395) 2024-05-15 11:05:46 +08:00
Yash Parmar 332baca538
FIX: fix the temperature value of ollama model (#4027) 2024-05-15 08:05:54 +08:00
Kota Matsumoto e2a78888b9
Fix: setup google-storage client (#4296)
Co-authored-by: kotamat <kota1681@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-05-15 08:05:41 +08:00
Charles Zhou 2eb468f885
fix: add timeout to SMTPClient to prevent worker blocking (#4352) 2024-05-14 23:44:53 +08:00
kerlion 98140ae5d9
fix the issue of MILVUS_DATABASE has no effect. (#4353) 2024-05-14 19:54:31 +08:00
rennokki d1ccb22d8a
feat: Use Romanian & other langs in QA (#4205)
Co-authored-by: crazywoola <427733928@qq.com>
2024-05-14 17:48:24 +08:00
非法操作 3271e3e803
improve the code readability of http_executor node (#4360) 2024-05-14 16:11:12 +08:00
Yeuoly 16d47923c3
fix: requests timeout (#4370) 2024-05-14 16:01:23 +08:00
takatost eee95190cc
version to 0.6.8 (#4347) 2024-05-14 03:18:26 +08:00
Yeuoly e8311357ff
feat: gpt-4o (#4346) 2024-05-14 02:52:41 +08:00
orangeclk ece0f08a2b
add yi models (#4335)
Co-authored-by: 陈力坤 <likunchen@caixin.com>
2024-05-13 17:40:53 +08:00
Yeuoly bbef964eb5
improve: code upgrade (#4231) 2024-05-13 14:39:14 +08:00
Ikko Eltociear Ashimine e6db7ad1d5
chore: update gmpy2_pkcs10aep_cipher.py (#4314) 2024-05-13 10:45:29 +08:00
Weaxs 8cc492721b
fix: minimax streaming function_call message (#4271) 2024-05-11 21:07:22 +08:00
Joshua a80fe20456
add-some-new-models-hosted-on-nvidia (#4303) 2024-05-11 21:05:31 +08:00
takatost d8926a2571
feat: hide node detail outputs in webapp & installed app in explore (#3954) 2024-05-11 13:40:11 +08:00
呆萌闷油瓶 4796f9d914
feat:add gpt-4-turbo for azure (#4287) 2024-05-11 13:02:56 +08:00
Sebastian.W a588df4371
Add rerank model type for LocalAI provider (#3952) 2024-05-11 11:29:28 +08:00
Patryk Garstecki 2c1c660c6e
fix(Backend:http_executor): 🔧 prevent splitting JSON data as v… (#4276) 2024-05-11 11:23:35 +08:00
Bowen Liang 228de1f12a
fix: miss usage of os.path.join for URL assembly and add tests on yarl (#4224) 2024-05-10 18:14:48 +08:00
GalvinYang 6b99075dc8
fix: system default model name length (#4245) (#4246)
Co-authored-by: takatost <takatost@gmail.com>
2024-05-10 18:12:18 +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
Jyong 897e07f639
question classifier prompt optimize (#4262) 2024-05-10 17:22:46 +08:00
LiuVaayne 875249eb00
Feat/vector db pgvector (#3879) 2024-05-10 17:20:30 +08:00
takatost 86a6e6bd04
feat: increase max steps to 50 in workflow (#4252) 2024-05-10 14:50:00 +08:00
takatost 8f3042e5b3
feat: Add draft hash check in workflow (#4251) 2024-05-10 14:48:29 +08:00
takatost 64c3bc070a
version to 0.6.7 (#4208) 2024-05-09 13:58:25 +08:00
sino 4aa21242b6
feat: add volcengine maas model provider (#4142) 2024-05-08 12:45:53 +08:00
Yong723 8ce93faf08
Typo on deepseek.yaml and yi.yaml (#4170) 2024-05-08 10:52:04 +08:00
Su Yang 9f440c11e0
feat: DeepSeek (#4162) 2024-05-08 00:28:16 +08:00
Joshua 58bd5627bf
Add-Deepseek (#4157) 2024-05-07 22:45:38 +08:00
Moonlit 2fdd64c1b5
feat: add proxy configuration for Cohere model (#4152) 2024-05-07 18:12:13 +08:00
Jyong 591b993685
fix dataset segment update api not effect issue (#4151) 2024-05-07 17:47:20 +08:00
VoidIsVoid 543a00e597
feat: update model_provider jina to support custom url and model (#4110)
Co-authored-by: Gimling <huangjl@ruyi.ai>
Co-authored-by: takatost <takatost@gmail.com>
2024-05-07 17:43:24 +08:00
Minamiyama f361c7004d
feat: support vision models from xinference (#4094)
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-05-07 17:37:36 +08:00
Tomy bb7c62777d
Add support for local ai speech to text (#3921)
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-05-07 17:14:24 +08:00
Yeuoly d51f52a649
fix: http authorization leakage (#4146) 2024-05-07 16:56:25 +08:00
Jyong e353809680
question classifier optimize (#4147) 2024-05-07 16:44:27 +08:00
takatost c2f0f958ef
fix: passing in 0 as a numeric variable will be converted to null (#4148) 2024-05-07 16:38:23 +08:00
Charlie.Wei 087b7a6607
azure_openai add gpt-4-turbo-2024-04-09 model (#4144)
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-05-07 15:55:23 +08:00
Patryk Garstecki 6271463240
feat(Languages): 👽 add pl-PL language (#4128) 2024-05-07 15:41:57 +08:00
Weaxs 6f1911533c
bug fix: update minimax model_apis (#4116) 2024-05-07 14:40:24 +08:00
Yeuoly d5d8b98d82
feat: support openai stream usage (#4140) 2024-05-07 13:49:45 +08:00
Yeuoly e7fe7ec0f6
feat: support time format (#4138) 2024-05-07 13:02:00 +08:00
Bowen Liang 049abd698f
improve: test CodeExecutor with code templates and extract CodeLanguage enum (#4098) 2024-05-07 12:37:18 +08:00
Yeuoly 76bec6ce7f
feat: add http node max size env (#4137) 2024-05-07 12:07:56 +08:00
S96EA 13cd409575
feat: support aliyun oss auth v4 (#3886)
Co-authored-by: owen <owen@owen.hawk-toad.ts.net>
2024-05-06 11:56:04 +08:00
羊羽 13292ff73e
🦄 refactor(dataset svc): delete check none (#4101)
Co-authored-by: baxiang <baxiang@lixiang.com>
2024-05-06 11:45:26 +08:00
Joshua 51a9e678f0
Leptonai integrate (#4079) 2024-05-05 14:37:47 +08:00
chenx5 ad76ee76a8
Update bedrock.yaml add Region Asia Pacific (Sydney) (#4016) 2024-05-05 10:49:17 +08:00
Yeuoly b5f101bdac
fix: transform None into correct dest type (#4077) 2024-05-04 16:34:42 +08:00
Pan YANG 5940564d84
feat: add a new built-in tool of Slack Incoming Webhook (#4067) 2024-05-04 16:17:34 +08:00
Yeuoly 67902b5da7
fix: agent log timezone (#4076) 2024-05-04 16:17:15 +08:00
Bowen Liang 44857702ae
test: add integration tests on CodeExecutor with the sandbox service (#4015) 2024-05-03 08:54:40 +08:00
sino b1399cd5f9
fix: unable to fetch CoT agent runner log (#4052) 2024-05-03 08:54:15 +08:00
Garfield Dai 6f1e4a19a2
fix: workflow avg user interaction. (#4056) 2024-05-02 20:24:40 +08:00
takatost 93393e005e
version to 0.6.6 (#4050) 2024-05-02 16:06:40 +08:00
Bowen Liang 093b5c0e63
fix: typo of jinja2 (#4019) 2024-04-30 18:39:02 +08:00
orangeclk cbdb861ee4
add glm-3-turbo max_tokens parameter setting (#4017)
Co-authored-by: 陈力坤 <likunchen@caixin.com>
2024-04-30 17:08:04 +08:00
sino da5a8b9a59
feat: support question classifier node output (#4000) 2024-04-30 17:07:29 +08:00
Weaxs 1e6e8b446d
feat: support minimax abab6.5, abab6.5s (#4012) 2024-04-30 17:02:01 +08:00
Bowen Liang 142814d451
chore: skip deprecated field_schema param in creating payload index on Qdrant (#3903) 2024-04-30 16:16:10 +08:00
crazywoola 704755d005
fix: submitCodeExecutionTask (#4006) 2024-04-30 16:01:03 +08:00
Richards Tu d1263700c0
Update the description and labels in Judge0ce tool (#3990)
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-30 14:58:29 +08:00
Jyong 338e4669e5
add storage factory (#3922) 2024-04-29 18:22:03 +08:00
Jyong 1d432728ac
add default value for QDRANT_GRPC_PORT (#3976) 2024-04-29 15:28:34 +08:00
Richards Tu f26ad16af7
Add new tool: Firecrawl (#3819)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-04-29 14:20:36 +08:00
majian 8f2ae51fe5
feat: add support for request timeout settings in the HTTP request node. (#3854)
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-04-29 13:59:07 +08:00
Joshua 2f84d00300
fix-nvidia-llama3 (#3973) 2024-04-29 13:41:15 +08:00
takatost b82a2d97ef
fix: db connections not being released during workflow execution (#3971) 2024-04-29 12:42:09 +08:00
Jyong 3e9dbe3e0a
add pgvecto_rs support and upgrade SQLAlchemy (#3833) 2024-04-29 11:58:17 +08:00
羊羽 975b2fb79e
delete duplicate check get_dataset (#3966)
Co-authored-by: baxiang <baxiang@lixiang.com>
2024-04-29 11:57:26 +08:00
Yeuoly e7b4d024ee
optimize: code node has a bad error message (#3949) 2024-04-28 17:40:29 +08:00
takatost ff67a6d338
feat: llm text stream support for workflow app (#3798)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-04-28 17:37:00 +08:00
呆萌闷油瓶 0940f01634
enhancement:support Qdrant gRPC mode (#3929) 2024-04-28 15:33:32 +08:00
miendinh 9ad489d133
feat: Add google storage support (#3887)
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
2024-04-27 18:26:52 +08:00
Bowen Liang 661b30784e
chore: skip warning messages when pytest auto-collecting the vdb test class by removing `Test` prefix (#3906) 2024-04-27 16:36:09 +08:00
longzhihun 43a5ba9415
feat: add support for Bedrock LLAMA3 (#3890) 2024-04-27 13:13:09 +08:00
Garfield Dai cefe156811
feat: replicate supports default version. (#3884) 2024-04-26 21:16:22 +08:00
yongjer 3b5b4d628b
Add support for Traditional Chinese language (#3899)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-26 21:10:23 +08:00
Jyong 0ec8b57825
add together ai model setting (#3895) 2024-04-26 20:43:17 +08:00
Bowen Liang 045827043d
test: improve vector store tests (#3855) 2024-04-26 19:18:42 +08:00
yalei 4d66a86579
fix: fetch page name of notion wiki (#3847) 2024-04-26 18:04:37 +08:00
miendinh 2a8881d0e8
fix: tool webscraper - too many redirects in case target url does not… (#3831)
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
2024-04-26 17:58:46 +08:00
Charlie.Wei f62b2b5b45
optimize the knowledge failed documents query (#3870)
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-04-26 11:47:23 +08:00
Bowen Liang 7919596a21
fix: UP031 style rule violation (#3866) 2024-04-26 11:24:08 +08:00
Bowen Liang 45dd1683fd
test: add tests covering all methods of vector store (#3849) 2024-04-25 22:27:30 +08:00
takatost 8bca908f15
refactor: config file (#3852) 2024-04-25 22:26:45 +08:00
Garfield Dai 9cbb8ddd7f
fix: billing tenant account role. (#3850) 2024-04-25 21:55:08 +08:00
Jingpan Xiong 1be222af2e
fix: using api can not execute relyt vector database (#3766)
Co-authored-by: jingsi <jingsi@leadincloud.com>
2024-04-25 19:46:20 +08:00
Richards Tu bf9fc8fef4
Reduce tool redundancy for [Judge0 CE] (#3837)
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-25 19:20:54 +08:00
Bowen Liang 86e7330fa2
test: refactor vdb tests by visitor design pattern (#3838) 2024-04-25 18:55:49 +08:00
takatost 34bfb715e1
fix: citations always appear in the chatflow app (#3844) 2024-04-25 18:31:38 +08:00
Bowen Liang c54fcfb45d
extract enum type for tenant account role (#3788) 2024-04-25 18:20:08 +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
Henrybit 80b9507e7a
feat: add aliyun oss storage (#3690)
Co-authored-by: henrybit <qipenghui3056@sina.com>
2024-04-25 16:57:19 +08:00
takatost 0ac0f0ffd0
version to 0.6.5 (#3834) 2024-04-25 16:50:37 +08:00
呆萌闷油瓶 78988ed60e
fix:still enable SSL verification when using qdrant based on HTTP protocol (#3805) 2024-04-25 13:04:31 +08:00
Yeuoly 2832adda88
fix: missing url field when searching special keywords (#3820) 2024-04-25 12:33:58 +08:00
takatost a4e4fb4094
fix: credentials validate failed for groqcloud model provider (#3817) 2024-04-25 12:09:44 +08:00
YidaHu 777ec64635
feat: add log_file environment variable (#3793) 2024-04-24 21:55:14 +08:00
Bowen Liang 9cec8c1750
test: add unit tests for vector stores of Milvus, Qdrant and Weaviate (#3688) 2024-04-24 21:52:42 +08:00
Bowen Liang 8ca5aa1190
use pymilvus 2.3.7 (#3790) 2024-04-24 18:37:08 +08:00
takatost 3da179f77b
feat: add conversation_id and user_id in chatflow/workflow system vars (#3771)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-04-24 17:20:01 +08:00
Bowen Liang a34e8cb0bd
test: add test for PKCS1OAEP_Cipher with gmpy2 (#3760) 2024-04-24 17:15:31 +08:00
takatost 2ea8c73cd8
fix: type num of variable converted to str (#3758) 2024-04-24 15:07:56 +08:00
Jyong f257f2c396
Knowledge optimization (#3755)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-04-24 15:02:29 +08:00
Bowen Liang ccaf335466
fix: rollback gmpy2 to 2.1.5 (#3745) 2024-04-24 12:53:23 +08:00
1102 59cba930e5
bedrock llm Model file name change (#3714)
Co-authored-by: heshunchang <shuncanghe@clouditera.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-23 18:57:34 +08:00
Bowen Liang 2867d29021
fix: milvus usage with create_collection (#3683) 2024-04-23 17:37:40 +08:00
呆萌闷油瓶 f76ac8bdee
enhance:speedup xinference audio transcription (#3636) 2024-04-23 17:09:30 +08:00
Yeuoly 3480f1c59e
refactor: tool parameter cache (#3703) 2024-04-23 15:22:42 +08:00
Yeuoly 2c50fab3dd
fix: skip dataset icon (#3696) 2024-04-23 12:41:41 +08:00
Richards Tu ff76c4bd5d
Add new tool: Judge0 CE (#3684)
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-23 09:07:21 +08:00
Yeuoly 2a213c6af7
fix: incorrect type parser (#3682) 2024-04-22 19:32:41 +08:00
Bowen Liang b2535e7db6
chore: update description of code interpreter tool (#3679)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-04-22 19:19:16 +08:00
longzhihun 28236147ee
feat: add support for bedrock Mistral AI model (#3676)
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2024-04-22 17:24:02 +08:00
Chenhe Gu 4969783383
add groq llama3 (#3673) 2024-04-22 15:21:09 +08:00
takatost b64080be1b
version to 0.6.4 (#3670) 2024-04-22 12:13:31 +08:00
Bowen Liang aadebd6d23
python 3.12 support (#3652) 2024-04-22 11:41:13 +08:00
xin.gao 71cc0074ef
fix: delete tool parameters cache when sync draft workflow for run workflow use new parameter change in draft workflow (#3637) 2024-04-22 11:12:00 +08:00
saga.rey 1fb7df12d7
fix: in alembic's offline mode (db migrate with --sql option), skip data operations (#3533) 2024-04-21 09:44:35 +08:00
liuzhenghua 73e9f35ab1
feat: add file log (#3612)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
2024-04-20 08:59:49 +08:00
Richards Tu d7f0056e2d
Fix error in [Update yaml and py file in Tavily Tool] (#3465)
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-04-19 16:51:51 +08:00
fuckqqcom 9b7b133cbc
content fix to continue (#3633)
Co-authored-by: xiaohan <fuck@qq.com>
2024-04-19 16:51:38 +08:00
Joshua 7545e5de6c
add-llama3-for-nvidia-api-catalog (#3631) 2024-04-19 14:51:22 +08:00
Yeuoly a0c30702c1
feat: moonshot fc (#3629) 2024-04-19 14:04:30 +08:00
sqj8899 0a56c522eb
get dict key indexing_technique in DocumentAddByFileApi (#3615)
Co-authored-by: songqijun <songqijun@qipeng.com>
2024-04-19 09:37:11 +08:00
jeessy2 646858ea08
feat: Vision switch functionality is provided on OpenRouter (#3564) 2024-04-19 09:13:25 +08:00
Bowen Liang d9b821cecc
chore: apply ruff rules on tests and app.py (#3605) 2024-04-18 20:24:05 +08:00
Yeuoly d5448e07ab
seucirty: http smuggling (#3609) 2024-04-18 18:18:42 +08:00
Joshua de3b490f8e
Add mixtral 8x22b (#3606) 2024-04-18 17:44:22 +08:00
Garfield Dai 4481906be2
Feat/enterprise sso (#3602) 2024-04-18 17:33:32 +08:00
Yeuoly d9f1a8ce9f
feat: stable diffusion 3 (#3599) 2024-04-18 16:54:37 +08:00
aniaan aa6d2e3035
fix(openai_api_compatible): fixing the error when converting chunk to json (#3570) 2024-04-18 16:54:16 +08:00
呆萌闷油瓶 4365843c20
enhance:speedup xinference embedding & rerank (#3587) 2024-04-18 16:54:00 +08:00
Joshua b9b28900b1
add-open-mixtral-8x22b (#3591) 2024-04-18 13:48:32 +08:00
Bowen Liang d463b82aba
test: add scripts for running tests on api module both locally and CI jobs (#3497) 2024-04-18 13:43:15 +08:00
Yeuoly c2acb2be60
feat: code (#3557) 2024-04-18 08:00:02 +08:00
Siddharth Jain 8ba95c08a1
added claude 3 opus (#3545) 2024-04-17 20:53:59 +08:00
Yeuoly c7de51ca9a
enhance: preload general packages (#3567) 2024-04-17 19:49:53 +08:00
liuzhenghua e02ee3bb2e
fix event/stream ping (#3553) 2024-04-17 18:28:24 +08:00
Jyong 394ceee141
optimize question classifier prompt and support keyword hit test (#3565) 2024-04-17 17:40:40 +08:00
Yeuoly e212a87b86
fix: json-reader-json-output (#3552) 2024-04-17 14:09:42 +08:00
takatost b890c11c14
feat: filter empty content messages in llm node (#3547) 2024-04-17 13:30:33 +08:00
takatost 9b8861e3e1
feat: increase read timeout of OpenAI Compatible API, Ollama, Nvidia LLM (#3538) 2024-04-17 09:25:50 +08:00
LeePui 38ca3b29b5
add support for swagger object type (#3426)
Co-authored-by: lipeikui <lipeikui@3vjia.com>
2024-04-16 19:54:17 +08:00
Jyong 9e6d4eeb92
fix the return with wrong datatype of segment (#3525) 2024-04-16 17:09:15 +08:00
takatost 38dd58e796
version to 0.6.3 (#3519) 2024-04-16 14:43:57 +08:00
takatost 1219e41d29
fix: array[string] context in llm node invalid (#3518) 2024-04-16 14:39:14 +08:00
miendinh b9fbc39754
get config default for sandbox (#3508)
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
2024-04-16 13:36:28 +08:00
Yeuoly fbd3ef8752
fix: add completion mode object check (#3515) 2024-04-16 13:36:02 +08:00
kerlion 200010be19
Add suuport for AWS Bedrock Cohere embedding (#3444) 2024-04-16 13:22:38 +08:00
liuzhenghua 5e02a83b53
fix: the object field is empty string in some openAI api compatible model (#3506) 2024-04-16 12:13:10 +08:00
Bowen Liang 81cdb0fe78
fix: bump twilio to 9.0.4 skipping yanked versions (#3500) 2024-04-16 09:30:52 +08:00
takatost 5b447d61a6
feat: refactor tongyi models (#3496) 2024-04-15 22:28:32 +08:00
Jyong fd90d99cd0
question classifier prompt optimization (#3479) 2024-04-15 17:55:52 +08:00
Joshua fd38e1cf15
nvidia-label-update (#3482) 2024-04-15 13:50:16 +08:00
Jingpan Xiong 33397836a5
feat: support relyt vector database (#3367)
Co-authored-by: jingsi <jingsi@leadincloud.com>
2024-04-15 11:52:34 +08:00
YidaHu 92f8c40e4c
fix: prompt template issue (#3449) 2024-04-15 11:31:38 +08:00
Bowen Liang 168bf61b23
chore: separate Python dependencies for development (#3198) 2024-04-15 11:03:10 +08:00
takatost 8811677154
feat: remove langchain from output parsers (#3473) 2024-04-15 00:23:42 +08:00
takatost 12f1ce4794
feat: optimize the efficiency of generating chatbot conversation name (#3472) 2024-04-14 23:50:24 +08:00
Yeuoly 8f8e9de601
feat: support configurate openai compatible stream tool call (#3467) 2024-04-14 22:04:45 +08:00
Yeuoly 5b3133f9fc
feat: jina reader (#3468) 2024-04-14 22:03:19 +08:00
crazywoola 782ecfa5c3
Revert "Update yaml and py file in Tavily Tool" (#3464) 2024-04-14 10:13:56 +08:00
Richards Tu 2d69afb34d
Update yaml and py file in Tavily Tool (#3450) 2024-04-14 09:49:47 +08:00
Josh Feng 3e6631312d
Add nvidia codegemma 7b (#3437) 2024-04-13 13:10:32 +08:00
Yash Parmar dd354bd396
FEAT: cohere rerank 3 model added (#3431) 2024-04-12 22:36:39 +08:00
takatost 259aa97d8b
fix: test env key missing or wrong (#3430) 2024-04-12 19:08:48 +08:00
Yeuoly ae1f3780f8
Feat/api tool custom timeout (#3420) 2024-04-12 17:46:39 +08:00
Yeuoly 25dea232d6
fix/dataset-retriever-tool-parameter-redundancy (#3418) 2024-04-12 17:04:36 +08:00
Yeuoly a258a90291
feat: gemini pro function call (#3406) 2024-04-12 16:38:02 +08:00
Jyong 0737e930cb
chore: remove Langchain tools import (#3407) 2024-04-12 16:26:09 +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
Yeuoly 64e395d6cf
Fix/workflow tool incorrect parameter configurations (#3402)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-04-12 15:46:34 +08:00
chenxu9741 ad65c891e7
add xls file suport (#3321) 2024-04-12 14:53:44 +08:00
saga.rey b699945b47
fix: [azure_openai] Error: 'NoneType' object has no attribute 'content' (#3389) 2024-04-12 14:44:17 +08:00
junytang e76693cad9
Integrated SearXNG search as built-in tool (#3363)
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-12 14:16:12 +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
Yeuoly 44448ba68d
fix: remove - in dataset retriever tool name (#3381) 2024-04-12 11:12:52 +08:00
longzhihun f7a417fdb4
feat: Add support for embed file with AWS Bedrock Titan Model (#3377)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-04-12 00:35:45 +08:00
takatost 6fa0e4072d
fix: yarn install extract package err when using GitHub Cache in amd6… (#3383) 2024-04-12 00:04:09 +08:00
takatost e15d18aa1c
version to 0.6.2-fix1 (#3380) 2024-04-11 23:38:29 +08:00
takatost 164ef26a60
fix: variable pool mapping variable mixed up (#3378) 2024-04-11 23:19:28 +08:00
takatost 0dada847ef
version to 0.6.2 (#3375) 2024-04-11 22:10:45 +08:00
takatost 36b7dbb8d0
fix: cohere tool call does not support single tool (#3373) 2024-04-11 21:32:18 +08:00
takatost 9a1ea9ac03
fix: image token calc of OpenAI Compatible API (#3368) 2024-04-11 20:29:48 +08:00
Yeuoly 693647a141
Fix/Bing Search url endpoint cannot be customized (#3366) 2024-04-11 19:56:08 +08:00
Yeuoly cea107b165
Refactor/react agent (#3355) 2024-04-11 18:34:17 +08:00
Jyong c889717d24
Fix issue : don't delete DatasetProcessRule, DatasetQuery and AppDatasetJoin when delete dataset with no document (#3354) 2024-04-11 17:43:22 +08:00
Jyong 1f302990c6
add segment with keyword issue (#3351)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-04-11 16:57:02 +08:00
Jyong 37024afe9c
fix issue: user’s keywords do not affect when add segment (#3349) 2024-04-11 16:34:52 +08:00
Yeuoly 18b855140d
fix/moonshot-function-call (#3339) 2024-04-11 15:42:26 +08:00
crazywoola 7c520b52c1
feat: update aws bedrock (#3326)
Co-authored-by: chenhe <guchenhe@gmail.com>
2024-04-11 15:38:55 +08:00
Eric Wang e0df7505f6
feat(llm/models): add gemini-1.5-pro (#2925) 2024-04-11 10:58:13 +08:00
呆萌闷油瓶 43bb0b0b93
chore:bump pypdfium2 from 4.16.0 to 4.17.0 (#3310) 2024-04-11 09:13:03 +08:00
Jyong 6164604462
fix dataset retrival in dataset mode (#3334) 2024-04-11 02:11:21 +08:00
takatost 826c422ac4
feat: Add Cohere Command R / R+ model support (#3333) 2024-04-11 01:22:55 +08:00
Kenny bf63a43bda
feat: support gpt-4-turbo-2024-04-09 model (#3300) 2024-04-10 22:55:46 +08:00
Bowen Liang 55fc46c707
improvement: speed up dependency installation in docker image rebuilds by mounting cache layer (#3218) 2024-04-10 22:49:04 +08:00
呆萌闷油瓶 5102430a68
feat:add 'name' field return (#3152) 2024-04-10 22:34:43 +08:00
Jyong b6de97ad53
Remove langchain dataset retrival agent logic (#3311) 2024-04-10 20:37:22 +08:00
Yeuoly 14bb0b02ac
Feat/Agent-Image-Processing (#3293)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-04-10 14:48:40 +08:00
takatost 97d1e0bbbb
feat: vision parameter support of OpenAI Compatible API (#3272) 2024-04-10 11:13:56 +08:00
takatost cfb5ccc7d3
fix: image was sent to an unsupported LLM when sending second message (#3268) 2024-04-10 10:29:52 +08:00
Yeuoly 835e547195
feat: gpt-4-turbo (#3263) 2024-04-10 10:28:52 +08:00
takatost 74de7cf33c
version to 0.6.1 (#3253) 2024-04-09 21:21:09 +08:00
crazywoola f5e65b98a9
feat: remove unregistered-llm-in-debug (#3251) 2024-04-09 20:49:52 +08:00
Chenhe Gu eb76d7a226
make sure validation flow works for all model providers in bedrock (#3250) 2024-04-09 20:42:18 +08:00
Yeuoly e635f3dc1d
chore: remove langchain in tools (#3247) 2024-04-09 19:28:22 +08:00
takatost 2a6b7d57cb
fix: token is not logging of question classifier node (#3249) 2024-04-09 19:25:08 +08:00
takatost f599f41336
fix: empty conversation list of explore chatbot (#3235) 2024-04-09 17:04:48 +08:00
Bowen Liang 28089c98c1
fix: skip Celery warning by setting broker_connection_retry_on_startup config (#3188) 2024-04-09 16:14:43 +08:00
Jyong 8fcf459285
fix milvus database name parameter missed (#3229) 2024-04-09 15:54:13 +08:00
Leo Q 9c01bcb3e5
feat: support setting database used in Milvus (#3003) 2024-04-09 15:39:36 +08:00
Yeuoly a2c068d949
feat: moonshot function call (#3227) 2024-04-09 15:30:09 +08:00
takatost 4ad3f2cdc2
fix: image text when retrieve chat histories (#3220) 2024-04-09 15:20:45 +08:00
Yeuoly cc5ccaaca1
fix: incomplete response (#3215) 2024-04-09 14:35:25 +08:00
Jyong 33ea689861
fix detached instance error in keyword index create thread and fix question classifier node out of index error (#3219) 2024-04-09 14:34:51 +08:00
Bowen Liang 0516b78d6f
fix: index number in api/README (#3214) 2024-04-09 13:59:26 +08:00
Jyong 84d7cbf916
fix economy index search in workflow (#3205) 2024-04-09 13:20:51 +08:00
Eric Wang 3c3fb3cd3f
fix(code_executor): surrogates not allowed error in jinja2 template (#3191) 2024-04-09 12:21:03 +08:00
Yeuoly 337899a03d
Fix/code transform result (#3203) 2024-04-09 12:20:34 +08:00
Jat bae0c071cd
Fix: remove unavailable return_preamble parameter in cohere (#3201)
Signed-off-by: Jat <jat@sinosky.org>
2024-04-09 12:11:53 +08:00
Jyong 2e4dec365d
Compatible with unique index conflicts (#3183) 2024-04-09 02:16:19 +08:00
Jyong 283979fc46
fix keyword index error when storage source is S3 (#3182) 2024-04-09 01:42:58 +08:00
takatost a81c1ab6ae
version to 0.6.0-fix1 (#3179) 2024-04-09 00:10:20 +08:00
takatost d2259f20cb
fix: app export dsl not include desc (#3167) 2024-04-08 21:30:18 +08:00
takatost 9720d6b7a5
fix: metadata in generate npe issue (#3166) 2024-04-08 21:30:03 +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 9eba6ffdd4
Optimize csv and excel extract (#3155)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-08 16:34:43 +08:00
Richards Tu 16e3b0484d
Update descriptions in StackExchange Tool (#3043) 2024-04-08 15:40:41 +08:00
Jyong 28b1c48235
improve qa generate prompt (#3132)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-07 15:21:11 +08:00
Jyong ab9fcbdfb9
Duplicate embedding cache check (#3134)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-07 15:20:58 +08:00
Nanguan Lin e7833a070e
chore: replace outdated config in vscode debug settings (#3106) 2024-04-05 17:49:09 +08:00
Yeuoly 25b9ac3df4
feat: claude3 tool call (#3111) 2024-04-05 16:35:59 +09:00
Vikey Chen e4f686deb7
fix unstructured api,remove unused parameters (#3056) 2024-04-03 21:00:20 +08:00
Jat d241d66a69
fix typo in readme (#3096)
Signed-off-by: Jat <jat@sinosky.org>
2024-04-03 20:29:02 +08:00
Jyong 5e66a60f1c
add embedding cache and clean embedding cache job (#3087)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-02 20:46:24 +08:00
QIN2DIM f7d1d9b8b1
fix(duckduckgo-search): invoke error (#3077) 2024-04-02 18:40:09 +08:00
Salem Korayem 6b4c8e76e6
feat (new llm): add support for openrouter (#3042) 2024-04-02 18:38:46 +08:00
Jyong e12a0c154c
add segment function billing check for SAAS env (#3082)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-02 17:55:49 +08:00
takatost d14ea2ecaa
version to 0.5.11-fix1 (#3073) 2024-04-02 12:51:29 +08:00
Jyong a94d86da6d
add keyword table s3 storage support (#3065)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-01 20:19:30 +08:00
arkii 5e591fc1b7
feat: add Feishu(飞书) tool for sending message to chat group bot via webhook (#3059)
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-01 18:03:45 +08:00
takatost 32e83e00e4
feat: use en-US as fallback recommend app if using unmaintained language (#3063) 2024-04-01 16:15:59 +08:00
Yash Parmar 132269618d
FEAT: Add Brave Search and Trello(12 Tools) Included (#3040) 2024-04-01 14:53:56 +08:00
Jyong 84d118de07
add redis lock on create collection in multiple thread mode (#3054)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-01 02:10:41 +08:00
Jyong 1716ac562c
add clean_unused_datasets_task (#3057)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-01 01:34:21 +08:00
呆萌闷油瓶 e215aae39a
feat:xinference audio model support (#3045) 2024-03-31 12:44:11 +08:00
Leo Q fc5ed17fe9
provide a bit more info in logs when parsing api schema error (#3026) 2024-03-30 14:44:50 +08:00
takatost 1387f9b23e
version to 0.5.11 (#3038) 2024-03-29 21:09:21 +08:00
takatost 6817eab5f1
fix: api / moderation extension import error (#3037) 2024-03-29 21:07:34 +08:00
Richards Tu 17af0de7b6
Add New Tool: StackExchange (#3034)
Co-authored-by: crazywoola <427733928@qq.com>
2024-03-29 20:28:21 +08:00
Chenhe Gu 9d962053a2
Fix claude request errors in bedrock (#3015)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-03-29 13:57:45 +08:00
Jyong a6cd0f0e73
fix add segment when dataset and document is empty (#3021)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-29 13:06:00 +08:00
Richards Tu 2c43393bf1
Add New Tool: DevDocs (#2993) 2024-03-29 11:21:02 +08:00
Jyong 669c8c3cca
some optimization for admin api key, create tenant and reset-encrypt-key-pair command (#3013)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-28 17:02:52 +08:00
Jyong b0b0cc045f
add mutil-thread document embedding (#3016)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-28 17:02:35 +08:00
Bowen Liang 830495a607
bump celery from 5.2 to 5.3 (#2478)
Co-authored-by: takatost <takatost@users.noreply.github.com>
2024-03-28 11:53:48 +08:00
Bowen Liang 41a4593b6d
bump redis client to 5.0 and enable hiredis support (#2518) 2024-03-28 11:40:21 +08:00
Bowen Liang 08b727833e
generalize helper for loading module from source (#2862) 2024-03-28 11:37:26 +08:00
Weaxs 5becb4c43a
update wenxin llm (#2929) 2024-03-27 11:36:21 +08:00
Kenny 13694293e3
fix: resolve header.uid' length must be less or equal than 32 on Spark V1.5 (#2983) 2024-03-27 09:58:41 +08:00
Ricky 40dbf30784
feat: support new reranker [jina-colbert-v1-en] (#2975) 2024-03-26 11:34:40 +08:00
listeng d70bd4aaa4
fix tool_inputs parse error in message that in CoT(ReAct) agent mode (#2949) 2024-03-26 11:05:10 +08:00
Yulong Wang 8e05261588
Fix handling of missing required parameters in ApiTool (#2965) 2024-03-26 10:53:39 +08:00
Weishan-0 a676d4387c
fix: Correct image parameter passing in GLM-4v model API calls (#2948) 2024-03-26 10:43:20 +08:00
Leo Q 7c8c233cf4
Add S3_ADDRESS_STYLE configuration option (#2934) 2024-03-26 10:18:26 +08:00
Bowen Liang 129a9850eb
fix: correct response hint for generated image to avoid illusion of regernerated image link (#2962) 2024-03-26 10:13:35 +08:00
Bowen Liang 1f98a4fff3
improve: cache tool icons by setting max-age HTTP header and enable gzip compression SVG icons from backend (#2971) 2024-03-26 10:11:43 +08:00
colvin777 c60749678b
When disabling the "Annotation Reply" button, the backend reports an error. #2904 (#2933)
Co-authored-by: colvin <colvin.zhang@boaocloud.com>
2024-03-25 22:20:40 +08:00
orangeclk 4fb9606361
fix: max_token default help info improved (#2951) 2024-03-25 10:07:32 +08:00
orangeclk c534d95972
fix: yi model price correction (#2946) 2024-03-24 12:10:57 +08:00
orangeclk 6dc62334d6
doc: model schema document fix and wording about the model price parameter (#2944) 2024-03-24 12:06:20 +08:00
wangkehan c7d003d551
fix: Upgrade duckduckgo-search to version 5.1.0 & update document segment api parameter error (#2938) 2024-03-22 19:18:01 +08:00
Leo Q cc754122fc
Authentication is only applied when both the username and password have values. (#2937) 2024-03-22 17:58:21 +08:00
Yeuoly 240a94182e
Feat/add triton inference server (#2928) 2024-03-22 15:15:48 +08:00
Jyong 86e474fff1
Add azure blob storage support (#2919)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-20 20:49:58 +08:00
Su Yang 5a1c29fd8c
chore: change Yi model SDK to OpenAI (#2910) 2024-03-20 16:02:13 +08:00
Qiwen Tong 180775a0ec
fix: init qdrant vector max recursion (#2909) 2024-03-20 14:57:13 +08:00
Bowen Liang d018e279f8
fix: typo $ mark in logs of vdb migrate command (#2901) 2024-03-19 22:21:58 +08:00
takatost 11636bc7c7
bump version to 0.5.10 (#2902) 2024-03-19 21:35:58 +08:00
Joshua 518c1ceb94
Feat/add-NVIDIA-as-a-new-model-provider (#2900) 2024-03-19 21:08:17 +08:00
listeng 696efe494e
fix: Ignore some emtpy page_content when append to split_documents (#2898) 2024-03-19 20:55:15 +08:00
Su Yang 4419d357c4
chore: update Yi models params (#2895) 2024-03-19 20:54:31 +08:00
takatost fbbba6db92
feat: optimize ollama model default parameters (#2894) 2024-03-19 18:34:23 +08:00
Lance Mao 53d428907b
fix incorrect exception raised by api tool which leads to incorrect L… (#2886)
Co-authored-by: OSS-MAOLONGDONG\kaihong <maolongdong@kaihong.com>
2024-03-19 18:17:12 +08:00
Su Yang 8133ba16b1
chore: update Qwen model params (#2892) 2024-03-19 18:13:32 +08:00
Su Yang 7e3c59e53e
chore: Update TongYi models prices (#2890) 2024-03-19 16:32:42 +08:00
呆萌闷油瓶 f6314f8e73
feat:support azure openai llm 0125 version (#2889) 2024-03-19 16:32:26 +08:00
Su Yang 3bcfd84fba
chore: use API Key instead of APIKey (#2888) 2024-03-19 16:32:06 +08:00
Bowen Liang 7c0ae76cd0
Bump tiktoken to 0.6.0 to support text-embedding-3-* in encoding_for_model (#2891) 2024-03-19 16:31:46 +08:00
Su Yang 2dee8a25d5
fix: anthropic system prompt not working (#2885) 2024-03-19 15:50:02 +08:00
Su Yang 507aa6d949
fix: Fix the problem of system not working (#2884) 2024-03-19 13:56:22 +08:00
crazywoola 59f173f2e6
feat: add icons for 01.ai (#2883) 2024-03-19 13:53:21 +08:00
Su Yang c3790c239c
i18n: update bedrock label (#2879) 2024-03-19 00:57:19 +08:00
Su Yang 45e51e7730
feat: AWS Bedrock Claude3 (#2864)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2024-03-18 18:16:36 +08:00
Jyong 4834eae887
fix enable annotation reply when collection is None (#2877)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-18 17:18:52 +08:00
Yeuoly 95b74c211d
Feat/support tool credentials bool schema (#2875) 2024-03-18 16:55:26 +08:00
Onelevenvy cb79a90031
feat: Add tools for open weather search and image generation using the Spark API. (#2845) 2024-03-18 16:22:48 +08:00
Onelevenvy 4502436c47
feat:Embedding models Support for the Aliyun dashscope text-embedding-v1 and text-embedding-v2 (#2874) 2024-03-18 15:21:26 +08:00
Jyong c3d0cf940c
add tenant id index for document and document_segment table (#2873)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-18 14:34:32 +08:00
orangeclk e7343cc67c
add max_tokens parameter rule for zhipuai glm4 and glm4v (#2861) 2024-03-18 13:19:36 +08:00
VoidIsVoid 83145486b0
fix: fix unstable function call response arguments missing (#2872) 2024-03-18 13:17:16 +08:00
Su Yang 6fd1795d25
feat: Allow users to specify AWS Bedrock validation models (#2857) 2024-03-18 00:44:09 +08:00
Su Yang f770232b63
feat: add model for 01.ai, yi-chat-34b series (#2865) 2024-03-17 21:24:01 +08:00
Bowen Liang a8e694c235
fix: print exception logs for ValueError and InvokeError (#2823) 2024-03-17 14:34:32 +08:00
Yeuoly cef16862da
fix: charts encoding (#2848) 2024-03-15 14:02:52 +08:00
Yeuoly f29280ba5c
Fix/compatible to old tool config (#2839) 2024-03-15 11:44:24 +08:00
Yeuoly 742be06ea9
Fix/localai (#2840) 2024-03-15 11:41:51 +08:00
David 4d63770189
fix: The generate conversation name was not saved (#2836) 2024-03-14 17:53:55 +08:00
Yeuoly bbea3a6b84
fix: compatible to old tool config (#2837) 2024-03-14 17:51:11 +08:00
Bowen Liang 19d3a56194
feat: add weekday calculator in time tool (#2822) 2024-03-14 17:01:48 +08:00
Qun 1e5455e266
enhance: use override_settings for concurrent stable diffusion (#2818) 2024-03-14 15:26:07 +08:00
Eric Wang 4fe585acc2
feat(llm/models): add claude-3-haiku-20240307 (#2825) 2024-03-14 10:08:24 +08:00
呆萌闷油瓶 e52448b84b
feat:add api-version selection for azure openai APIs (#2821) 2024-03-14 09:14:27 +08:00
Bowen Liang 8b15b742ad
generalize position helper for parsing _position.yaml and sorting objects by name (#2803) 2024-03-13 20:29:38 +08:00
Phạm Viết Nghĩa a026c5fd08
feat: add Vietnamese vi-VN (#2807) 2024-03-13 15:54:47 +08:00
Charlie.Wei fd7aade26b
Fix tts api err (#2809)
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-03-13 15:38:10 +08:00
Mark Sun 510f8ede10
Improve automatic prompt generation (#2805) 2024-03-13 14:10:47 +08:00
呆萌闷油瓶 8f9125b08a
fix:typo (#2808) 2024-03-13 13:00:46 +08:00
呆萌闷油瓶 e5e97c0a0a
fix:change azure openai api_version default value to 2024-02-15-preview (#2797) 2024-03-12 22:07:06 +08:00
Weaxs 20bd49285b
excel: get keys from every sheet (#2796) 2024-03-12 16:59:25 +08:00
crazywoola 6bd2730317
Fix/2770 suggestions for next steps (#2788) 2024-03-12 16:27:55 +08:00
Yeuoly f734cca337
enhance: add stable diffusion user guide (#2795) 2024-03-12 14:45:48 +08:00
takatost ce5b19d011
bump version to 0.5.9 (#2794) 2024-03-12 14:01:24 +08:00
Bowen Liang f82a64d149
feat: add DingTalk(钉钉) tool for sending message to chat group bot via webhook (#2693) 2024-03-12 13:45:59 +08:00
呆萌闷油瓶 f49b1afd6c
feat:support azure tts (#2751) 2024-03-12 12:06:35 +08:00
Jyong 796c5626a7
fix delete dataset when dataset has no document (#2789)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-11 23:57:38 +08:00
Jyong e54c9cd401
Feat/open ai compatible functioncall (#2783)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-11 19:48:21 +08:00
Yeuoly f8951d7f57
fix: api tool provider not found (#2782) 2024-03-11 18:21:41 +08:00
Jyong 6454e1d644
chunk-overlap None check (#2781)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-11 15:36:56 +08:00
Eric Wang fdd211e399
debug/chat: increase notify error duration to 3000 (#2778) 2024-03-11 14:16:31 +08:00
Yeuoly 82d0732c12
fix: aippt default styles (#2779) 2024-03-11 14:04:09 +08:00
Yeuoly 53cd125780
fix: deep copy of model-tool label (#2775) 2024-03-11 10:27:00 +08:00
crazywoola 3c91f9b5ab
fix: dataset segements api (#2766) 2024-03-11 09:26:15 +08:00
takatost f073dca22a
feat: optimize db connection when llm invoking (#2774) 2024-03-10 15:48:31 +08:00
Laurent Magnien bdc13f9238
SMTP authentication is optional (#2765)
Co-authored-by: Laurent Magnien <laurent.magnien@adsn.fr>
2024-03-09 09:11:03 +08:00
Yeuoly ce58f0607b
Feat/tool secret parameter (#2760) 2024-03-08 20:31:13 +08:00
洪朔 60e7e17c86
feat: Add new Azure OpenAI Embedding models (#2758) 2024-03-08 19:04:20 +08:00
Vikey Chen 237bb8514e
replace message content type list to string when file_objs is empty .. (#2745) 2024-03-08 18:46:31 +08:00
yoogo bd26c933d2
fix: valid password on reset-password page (#2753) 2024-03-08 18:44:49 +08:00
Yeuoly b6b58da2d2
enhance: custom tool timeout (#2754) 2024-03-08 15:26:08 +08:00
Yeuoly 40c646cf7a
Feat/model as tool (#2744) 2024-03-08 15:22:55 +08:00
Yeuoly 3231a8c51c
fix: image tokenizer (#2752) 2024-03-08 14:50:51 +08:00
Bowen Liang 4170d6a491
use SVG icons for built-in tools (#2748) 2024-03-08 10:21:26 +08:00
Bowen Liang 0b50c525cf
feat: support error correction and border size in qrcode tool (#2731) 2024-03-07 20:54:14 +08:00
Jyong 8ba38e8e74
fix overlap and splitter optimization (#2742)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-07 18:25:49 +08:00
Bowen Liang b163545771
Use `python-docx` to extract docx files (#2654) 2024-03-07 18:24:55 +08:00
Yash Parmar c0b82f8e58
UPDATE: Twilio tool crdential verification (#2741) 2024-03-07 18:08:52 +08:00
呆萌闷油瓶 b75ff5fa03
fix:missing import (#2739) 2024-03-07 17:31:30 +08:00
Yeuoly 24809fce07
fix: missing en_name of aippt (#2737) 2024-03-07 16:37:12 +08:00
呆萌闷油瓶 9819ad347f
feat:support azure whisper model and fix:rename text-embedidng-ada-002.yaml to text-embedding-ada-002.yaml (#2732) 2024-03-07 16:36:58 +08:00
Yeuoly 8fe83750b7
Fix/jina tokenizer cache (#2735) 2024-03-07 16:32:37 +08:00
Yeuoly 1809f05904
Feat/add groq (#2733) 2024-03-07 16:00:40 +08:00
Bowen Liang 0ac250a035
fix: check webhook key of Wecom tool in valid UUID form and fix typo (#2719) 2024-03-07 15:51:06 +08:00
taokuizu 405a00bb2c
fix:delete the slash at the end of xinference provider server_url (#2730) 2024-03-07 15:37:05 +08:00
Yeuoly 3a3ca8e6a9
fix: max tokens can only up to 2048 (#2734) 2024-03-07 15:35:56 +08:00
Yeuoly 27e678480e
Feat: AIPPT & DynamicToolParamter (#2725) 2024-03-07 15:04:42 +08:00
Jyong 31070ffbca
fix qa index processor tenant id is None error (#2713)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-06 16:46:08 +08:00
Jyong 7f3dec7bee
fix error msg format issue (#2715)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-06 16:45:40 +08:00
Yash Parmar 2f28afebb6
FEAT: Add twilio tool for sending text and whatsapp messages (#2700)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-03-06 11:35:08 +08:00
Charlie.Wei fa7ba30ba3
Fix rebuild index&csv parsing (#2705)
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-03-06 11:33:32 +08:00
Bowen Liang 1cf5f510ed
feat: add qrcode tool for QR code generation (#2699) 2024-03-06 11:26:16 +08:00
Joshua 526c874caa
fix mistralai icon (#2707) 2024-03-06 11:08:22 +08:00
Yeuoly 95733796f0
fix: replace os.path.join with yarl (#2690) 2024-03-05 17:25:20 +08:00
Bowen Liang 552f319b9d
feat: support HTTP response compression in api server (#2680) 2024-03-05 14:45:22 +08:00
Yeuoly 38e5952417
Fix/agent react output parser (#2689) 2024-03-05 14:02:07 +08:00
Yash Parmar 7f891939f1
FEAT: add tavily tool for searching... A search engine for LLM (#2681) 2024-03-05 10:23:44 +08:00
takatost 534802b761
bump version to 0.5.8 (#2685) 2024-03-05 01:37:53 +08:00
takatost 5c258e212c
feat: add Anthropic claude-3 models support (#2684) 2024-03-05 01:37:42 +08:00
Charlie.Wei 6a6133c102
Fix voice selection (#2664)
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-03-04 17:50:06 +08:00
Joshua 8523b34be7
add jina-reranker-v1-base-en (#2676) 2024-03-04 17:31:01 +08:00
Bowen Liang 65cfd4360a
fix: typo in wecom tool (#2674) 2024-03-04 17:25:42 +08:00
Jyong 3631e53ff0
Feat/add annotation migrate (#2675)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-04 17:22:06 +08:00
waltcow f322d9bddb
Fix vdb merge error (#2650) 2024-03-04 16:35:50 +08:00
Yeuoly 72ddedfc5c
fix: setup default filters while add credentials (#2669) 2024-03-04 14:17:00 +08:00
Yeuoly 36686d7425
fix: test custom tool already exists without decrypting credentials (#2668) 2024-03-04 14:16:47 +08:00
cola 34387ec0f1
fix typo recale to recalc (#2670) 2024-03-04 14:15:53 +08:00
takatost 76da66fb7e
fix: fix import from explore apps err when OpenAI not inited (#2671) 2024-03-04 14:06:54 +08:00
nan jiang 607f9eda35
Fix/app runner typo (#2661) 2024-03-04 13:32:17 +08:00
Bowen Liang f25cec265d
feat: add Wecom(企业微信) tool for sending message to chat group bot via webhook (#2638) 2024-03-04 10:27:20 +08:00
Garfield Dai 8e66b96221
Feat: Add documents limitation (#2662) 2024-03-03 12:45:06 +08:00
crazywoola b5c1bb346c
Add PubMed to tools (#2652) 2024-03-03 12:44:13 +08:00
nan jiang bc65ee10c0
bugfix: model str maybe empty (#2660) 2024-03-03 11:43:38 +08:00
Yeuoly b07084711c
fix: missing description (#2643) 2024-03-01 18:19:04 +08:00
takatost 1a677da792
fix: custom tool max tool (#2641) 2024-03-01 16:43:47 +08:00
taokuizu b6d61a818e
fix: Replace path.join with urljoin. (#2631) 2024-03-01 13:07:15 +08:00
Bowen Liang 8495ffaa45
fix: typo in gaode tool (#2636) 2024-03-01 10:12:48 +08:00
Yash Parmar dbd1d79770
FEAT: Add arxiv tool for searching scientific papers and articles fro… (#2632) 2024-02-29 19:46:10 +08:00
takatost 1910178199
fix: default mail type invalid in .env.example (#2628) 2024-02-29 17:29:48 +08:00
Bowen Liang 839a6a2c8a
add logs for vdb-migrate command (#2626) 2024-02-29 16:24:51 +08:00
Yeuoly a769edbc89
Fix/custom tool any of (#2625) 2024-02-29 14:39:05 +08:00
Bowen Liang 801d135390
generalize the generation of new collection name by dataset id (#2620) 2024-02-29 12:47:10 +08:00
takatost 88a095e40e
fix: wrong default model parameters when creating app (#2623) 2024-02-29 12:43:07 +08:00
takatost dd961985f0
refactor: remove unused codes, move core/agent module into dataset retrieval feature (#2614) 2024-02-28 23:32:47 +08:00
Yeuoly d44b05a9e5
feat: support auth type like basic bearer and custom (#2613) 2024-02-28 23:19:08 +08:00
takatost 5bd3b02be6
version to 0.5.7 (#2610) 2024-02-28 18:07:13 +08:00
takatost a4d86496e1
fix: notion extractor raise 'NoneType' object has no attribute 'curre… (#2608) 2024-02-28 17:08:27 +08:00
takatost 90bdc85f8c
fix: AppParameterApi.get() got an unexpected keyword argument 'end_user' (#2607) 2024-02-28 16:46:50 +08:00
takatost 0828873b52
fix: missing default user for APP service api (#2606) 2024-02-28 16:09:56 +08:00
crazywoola c9257ab4bf
Fix/2559 upload powered by brand image not showing up (#2602) 2024-02-28 15:17:49 +08:00
Joshua dc93a292c3
Feat/provider mistralai (#2598) 2024-02-28 13:39:55 +08:00
takatost 174ee1b646
fix: parameter `user` exceeded max length when invoking moonshot llm (#2596) 2024-02-28 12:23:34 +08:00
Joshua 9b1c4f47fb
feat:add mistral ai (#2594) 2024-02-28 12:22:57 +08:00
crazywoola 582ba45c00
Fix 500 error when creating from the template and the provider is None (#2591) 2024-02-28 11:27:17 +08:00
Yeuoly 3a34370422
fix: convert tool messages into user messages in react mode and fill … (#2584) 2024-02-27 19:15:07 +08:00
Bowen Liang 29ab244de6
fix: correct the parent class of CacheEmbedding (#2578) 2024-02-27 18:05:48 +08:00
Jyong 920b2c2b40
Fix/hit test tsne issue (#2581)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-27 17:30:52 +08:00
Yeuoly ac96d192a6
fix: parameter type handling in API tool and parser (#2574) 2024-02-27 15:59:11 +08:00
Jyong fc64cdee64
fix mivlus delete by ids error (#2573)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-27 12:23:13 +08:00
Jyong 5b953c1ef2
Fix some RAG bugs (#2570)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-27 11:39:05 +08:00
Bowen Liang 562ca45e07
fix weaviate delete_by_ids (#2565) 2024-02-27 11:14:35 +08:00
Bowen Liang e352a8ed1b
chore: remove redundant casting flask app config into dict (#2564) 2024-02-27 09:39:26 +08:00
Bowen Liang e55225e2bc
fix typo in error message of supported keyword store (#2560) 2024-02-27 00:47:36 +08:00
Yeuoly 3e63abd335
Feat/json mode (#2563) 2024-02-26 23:34:40 +08:00
Jyong 0620fa3094
Feat/vdb migrate command (#2562)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-26 19:47:29 +08:00
takatost 952e13fef8
Update README_CN.md (#2550) 2024-02-23 17:38:03 +08:00
Jyong 4be3087642
Fix/new RAG bugs (#2547)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-23 16:54:15 +08:00
Garfield Dai 49da8a23a8
feat: openai llm get trial or paid models from config. (#2546) 2024-02-23 16:48:58 +08:00
Garfield Dai 3ad943a9eb
Feat/openai llm trial paid config (#2545) 2024-02-23 16:12:43 +08:00
Jyong b03bbab5ad
fix dev/reformat (#2542)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-23 14:53:24 +08:00
Jyong 91ea6fe4ee
Fix/langchain document schema (#2539)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-23 14:16:44 +08:00
Bowen Liang e42175241e
fix: tolerate exceptions in cleaning up index when vector db service unavailable (#2533) 2024-02-23 12:30:39 +08:00
Yeuoly 12257b438b
Fix/tool default value (#2536) 2024-02-23 12:02:29 +08:00
Bowen Liang 9ecc736c30
fix: update current tenant id of account when switching tenant (#2530) 2024-02-23 10:51:19 +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
Yeuoly d8ab4474b4
fix: bing search response filter (#2519) 2024-02-22 13:06:55 +08:00
Yeuoly edb86f5f5a
Feat/stream react (#2498) 2024-02-21 10:45:59 +08:00
Yash_1124 adf2651d1f
FEAT: Add DuckDuckGo Search Tool for Enhanced Privacy-Focused Search Functionality (#2499) 2024-02-21 10:42:34 +08:00
Chenhe Gu 5031d64e28
Chore/delete chunk decode error alert (#2500) 2024-02-21 03:17:33 +08:00
Yeuoly ae3ad59b16
Refactor agent history organization and initialization of agent scrat… (#2495) 2024-02-20 19:03:43 +08:00
Yeuoly 25957d917a
Add default values for optional parameters in API tool and parser (#2491) 2024-02-20 16:07:43 +08:00
Jyong 20b932da97
del doc support (#2494)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-20 16:05:09 +08:00
zxhlyh 207080babc
fix: audio to text (#2493) 2024-02-20 15:16:46 +08:00
Yeuoly 48bacd01cc
fix: incorrect tool name (#2489) 2024-02-20 14:50:57 +08:00
kukuze 5ff6b1da07
Windows local deployment switch "tool“ interface failed (#2483) 2024-02-19 20:03:20 +08:00
takatost 8b49e0ee2a
bump version to 0.5.6 (#2482) 2024-02-19 17:13:55 +08:00
crazywoola e031ec9359
remove: parameters in seeds (#2481) 2024-02-19 17:00:46 +08:00
takatost 1bd1cd6938
fix: event handlers not registered globally (#2479) 2024-02-19 16:04:52 +08:00
Koen Farell 61e4bbabaf
feat: added Ukrainian language support (#2473) 2024-02-19 13:11:23 +08:00
takatost 4cf475680d
fix: credential verification of baichuan did not throw all errors (#2475) 2024-02-19 11:52:52 +08:00
Yeuoly ca4aa340f6
fix: Add model_uid validation for model_uid in Xinference models (#2468) 2024-02-19 10:43:25 +08:00
wjryours af6a318aae
fix: windows load provider file error (#2463) 2024-02-18 15:48:25 +08:00
Charlie.Wei c6e2900be7
Display selected tts voice name (#2459)
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-02-18 15:39:25 +08:00
johnpccd b2ee738bb1
Ignore SSE comments to support openrouter streaming (#2432) 2024-02-16 10:00:10 +08:00
Charlie.Wei c8ca3ff404
Tts add voice choose (#2453)
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-02-16 01:10:11 +08:00
takatost 58df5e5376
fix: tts voice language to zh-Hans instead of zh-CN (#2450) 2024-02-16 00:05:29 +08:00
Charlie.Wei 300d9892a5
tts add voice choose (#2391)
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-02-15 22:41:18 +08:00
Yeuoly e47b5b43b8
fix: baichuan frequency_penalty (#2446) 2024-02-14 20:11:41 +08:00
takatost 21c9d9e200
feat: add `introduction` field in log detail response of chat app (#2445) 2024-02-14 12:38:13 +08:00
takatost 8633957726
version to 0.5.5 (#2440) 2024-02-13 12:31:49 +08:00
Yeuoly 23e95fd7ab
Fix tool provider credential caching issue (#2433) 2024-02-12 18:17:43 +08:00
takatost e1045f01c6
pref: optimize add hit count query performance when dataset hit (#2436) 2024-02-12 13:50:43 +08:00
takatost e6d22fc3a0
fix: account has no owner workspace by member inviting (#2435) 2024-02-12 02:09:01 +08:00
Bowen Liang 9232244920
fix recreating users' default tenant relations when loading user (#2408) 2024-02-12 01:31:40 +08:00
takatost 476eb90a90
fix: List not found in account service (#2434) 2024-02-12 00:56:17 +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 589099a005
fix: possible unsent function call in the last chunk of streaming response in OpenAI provider (#2422) 2024-02-09 14:43:38 +08:00
takatost a0ec7de058
clean: remove no-use ecc_aes.py (#2426) 2024-02-08 20:47:54 +08:00
Bowen Liang 14a19a3da9
chore: apply ruff's pyflakes linter rules (#2420) 2024-02-08 14:11:10 +08:00
JonahCui 71e5828d41
feat: add support for smtp when send email (#2409) 2024-02-07 18:08:41 +08:00
Bowen Liang 65a02f7d32
chore: apply F811 linter rule to eliminate redefined imports and methods (#2412) 2024-02-07 16:28:45 +08:00
crazywoola 243ca5b1e2
fix: typo in package path of core.splitter (#2411) 2024-02-07 15:34:02 +08:00
takatost 41328bde97
version to 0.5.4 (#2407) 2024-02-06 14:24:08 +08:00
takatost 3242cf5384
fix: moonshot context size error (#2406) 2024-02-06 13:54:38 +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 42344795cd
fix: error type get wrong (#2403) 2024-02-06 12:24:48 +08:00
Jialei 70992609d4
feat: add moonshot support (#2398) 2024-02-05 20:27:27 +08:00
Yeuoly bf736bc55d
Feat/show detailed custom api response when testing (#2400) 2024-02-05 18:48:30 +08:00
Bowen Liang d4cfd3e7ac
add built-in maths tool for local expression evaluation on NumExpr (#2390) 2024-02-05 18:40:35 +08:00
Yeuoly e1a9e0ac29
fix: missing variables in agent prompt (#2395) 2024-02-05 18:11:06 +08:00
Garfield Dai f5c08070d9
feat: add openai paid llm model. (#2392) 2024-02-05 14:44:49 +08:00
Yeuoly 5010706d8b
feat: tool credentials cache and introduce _position.yaml (#2386) 2024-02-05 12:39:42 +08:00
Yeuoly 6278ff0f30
Feat/add bing search (#2379) 2024-02-05 12:38:47 +08:00
Yeuoly 56c25bfb78
fix: bad xinference error (#2384) 2024-02-05 10:52:14 +08:00
Yeuoly b814f0b7e3
feat: bing search (#2375) 2024-02-04 18:46:01 +08:00
takatost 556d1d0390
fix variable invalid when key only one character (#2377) 2024-02-04 18:15:13 +08:00
crazywoola 3f0c515355
fix: switch tenant (#2363) 2024-02-02 21:44:35 +08:00
takatost 04fb610fe7
add gpt-3.5-turbo-0125 to trail llm list (#2354) 2024-02-02 15:29:27 +08:00
crazywoola a8f23ed712
Feat/move tenant id into db (#2341) 2024-02-02 15:00:13 +08:00
Honora Green ecf947258a
fix [baichuan] Error: argument of type 'NoneType' is not iterable (#2351)
Co-authored-by: baiyansong <baiyansong@hotmail.com>
2024-02-02 12:56:48 +08:00
limbo a58612718e
Refactor error handling in GenerateTaskPipeline class (#2345) 2024-02-02 12:34:08 +08:00
呆萌闷油瓶 cd078a6264
feat:add gpt-3.5-turbo-0125 (#2347) 2024-02-02 12:33:11 +08:00
takatost 9f637ead38
bump version to 0.5.3 (#2306) 2024-02-01 18:11:57 +08:00
takatost a84e15b8cc
fix: ignore spark provider credential validate (#2344) 2024-02-01 18:04:05 +08:00
Yeuoly 0c330fc020
feat: add xinference llm context size (#2336) 2024-02-01 17:10:45 +08:00
Yeuoly cfbb7bec58
Feat/current time tool zone (#2337) 2024-02-01 17:09:59 +08:00
Yeuoly 3b357f51a6
fix: first agent latency (#2334) 2024-02-01 15:30:50 +08:00
Chenhe Gu 09acf215f0
add option to prompt for a validation password when initializing admin user (#2302) 2024-02-01 15:03:56 +08:00
Yeuoly 07dd8b94ed
fix: check empty tool provider credentials (#2332) 2024-02-01 13:13:28 +08:00
Yeuoly ef308fd121
feat: add sd model parameter (#2331) 2024-02-01 13:12:57 +08:00
Yeuoly fce64d760b
fix: empty model features (#2330) 2024-02-01 13:11:11 +08:00
Yeuoly f0c9bb7c91
fix: typo (#2318) 2024-02-01 13:08:31 +08:00
takatost d8672796b0
revert: remove unused session store codes (#2329) 2024-02-01 12:10:05 +08:00
Charlie.Wei 5929e84036
Optimization stable diffusion verify (#2322)
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-02-01 12:05:09 +08:00
Yeuoly 83063532a0
Fix/api tool (#2317) 2024-02-01 09:10:32 +08:00
orangeclk 07279558a5
Change ZHIPU_MAX_LIMITS to 5. Fix issue 2323 (#2324) 2024-02-01 09:06:32 +08:00
呆萌闷油瓶 2166473852
Feat/add spark3.5 llm (#2314)
Co-authored-by: lux@njuelectronics.com <lux@njuelectronics.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-01-31 17:57:17 +08:00
takatost 44397e3062
remove unused session store codes (#2313) 2024-01-31 15:30:35 +08:00
Ricky 2660fbaa20
Fix/typos (#2308) 2024-01-31 11:58:07 +08:00
呆萌闷油瓶 10e9766fd3
chore:azure dalle tool support pt-BR text (#2301)
Co-authored-by: lux@njuelectronics.com <lux@njuelectronics.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-01-30 23:49:19 +08:00
Yeuoly 6d24a2cb87
fix: api tool encoding (#2296) 2024-01-30 22:22:58 +08:00
Charlie.Wei c0a4fd145c
Add custom tools (#2299)
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-01-30 19:59:22 +08:00
Yeuoly 70f16e1a0b
fix: keep original tool credentials (#2288) 2024-01-30 18:41:36 +08:00
Yeuoly cb27571e9f
fix: missing prompt (#2294) 2024-01-30 17:00:50 +08:00
Yeuoly 0518da5819
remove repositories tool (#2293) 2024-01-30 16:51:36 +08:00
Charlie.Wei d2797abdb4
Add custom tools (#2292)
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-01-30 16:33:49 +08:00
Yeuoly 6d5b386394
Feat/blocking function call (#2247) 2024-01-30 15:25:37 +08:00
takatost 1ea18a2922
feat: optimize tool name (#2284) 2024-01-30 14:58:59 +08:00
takatost 57565db531
feat: some unused command-line tasks were removed. (#2281) 2024-01-30 14:33:48 +08:00
Bowen Liang d844420c07
bump flask from 2.3 to 3.0 (#2279) 2024-01-30 13:35:13 +08:00
Yeuoly 34634bddf1
fix: setting default model to gpt-3.5-turbo-1106 and remove default m… (#2274) 2024-01-30 13:04:17 +08:00
呆萌闷油瓶 c97b7f6748
Feat/add azure dalle tool (#2276)
Co-authored-by: lux@njuelectronics.com <lux@njuelectronics.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-01-30 11:38:58 +08:00
Charlie.Wei 76cc19f525
Add custom tools (#2259)
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-01-30 11:03:20 +08:00
Bowen Liang 5baaebb3fd
fix: typo of builtin tools (#2275) 2024-01-30 08:09:31 +08:00
geosmart 9d072920da
fix: remove finish_reason condition logic when deltaContent is empty (#2270)
Co-authored-by: wanggang <wanggy01@servyou.com.cn>
2024-01-29 23:24:13 +08:00
crazywoola b4988ce20c
fix: missing keys language in parser (#2271) 2024-01-29 17:59:59 +08:00
Garfield Dai d3d617239f
Feat/utm update (#2269)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-01-29 17:31:45 +08:00
Jyong 409e0c8e1c
update qdrant migrate command (#2260)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-28 19:59:06 +08:00
Benjamin 7076d41b29
Bugfix/invitemailmultilangs (#2257)
Co-authored-by: crazywoola <427733928@qq.com>
2024-01-28 19:56:09 +08:00
takatost 5a6cb69951
fix: user handling in stop api (#2254) 2024-01-27 19:05:37 +08:00
crazywoola 11a75ee78a
fix: remove invalid parameter return_type (#2253) 2024-01-27 14:29:25 +08:00
Garfield Dai bb5d5fc683
Feat/billing enhancement (#2239)
Co-authored-by: takatost <takatost@gmail.com>
2024-01-26 18:26:15 +08:00
glay 99e80a8ed0
fix:Bedrock llm issue #2214 (#2215)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2024-01-26 15:34:29 +08:00
Chenhe Gu c9e65f4221
Fix/update broken doc links (#2187)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-01-26 15:20:03 +08:00
takatost 4ab66299d4
version to 0.5.2 (#2230) 2024-01-26 14:47:32 +08:00
Yeuoly 42227f93c0
add openai gpt-4-0125-preview (#2226) 2024-01-26 13:36:24 +08:00
KVOJJJin 89fcf4ea7c
Feat: chunk overlap supported (#2209)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-26 13:24:40 +08:00
crazywoola 828822243a
fix: multiple rows were found correctly (#2219) 2024-01-26 12:47:42 +08:00
Chenhe Gu 8be7d8a635
Add new OpenAI embedding models (#2217) 2024-01-26 04:48:20 +08:00
takatost c038040e1b
Add gmpy2 dependencies packages (#2216) 2024-01-26 03:09:24 +08:00
geosmart 21450b8a51
feat: openai_api_compatible support config stream_mode_delimiter (#2190)
Co-authored-by: wanggang <wanggy01@servyou.com.cn>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
2024-01-26 00:31:59 +08:00
takatost 5fc1bd026a
Update version to 0.5.1 (#2213) 2024-01-26 00:16:53 +08:00
IAMZn d60f1a5601
fix:determine multiple result exceptions caused by admin (#2211)
Co-authored-by: chenxin <chenxin@limayao.com>
2024-01-26 00:06:23 +08:00
Yeuoly b921c55677
Feat/zhipuai function calling (#2199)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-01-25 16:29:35 +08:00
Bowen Liang 98660e1f97
skip installing python3-dev package on base stage in api docker image (#2193) 2024-01-25 14:49:11 +08:00
takatost 6cf93379b3
fix: split chunks return empty strings (#2197) 2024-01-25 13:59:18 +08:00
Bowen Liang 8639abec97
improve api docker file and lock Debian version in base image tag (#2195) 2024-01-25 12:44:15 +08:00
Charlie.Wei fd5c45ae10
Add tts document&fix bug (#2156)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2024-01-24 23:04:14 +08:00
takatost 043517717e
fix: minimax request timeout (#2185) 2024-01-24 21:53:29 +08:00
takatost 76c52300a2
feat: abab6-chat supported (#2184) 2024-01-24 21:07:37 +08:00
Yeuoly dda32c6880
fix: credentials validation of ababa (#2183) 2024-01-24 21:07:26 +08:00
Charlie.Wei ac4bb5c35f
Add tongyi tts&tts function optimization (#2177)
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-01-24 20:32:04 +08:00
Yeuoly a96cae4f44
refine: faster rsa implement (#2182) 2024-01-24 20:22:01 +08:00
Yeuoly 7cb75cb2e7
feat: add tool labels (#2178) 2024-01-24 20:14:45 +08:00
Garfield Dai 95ad06c8c3
feat: utm supports. (#2181) 2024-01-24 20:14:02 +08:00
crazywoola 3c13c4f3ee
fix: filename cause windows import error (#2176) 2024-01-24 18:24:17 +08:00
takatost 784da52ea6
fix: credentials validate compatible problem (#2170) 2024-01-24 17:19:25 +08:00
Yeuoly 6c614f0c1f
fix: empty usage (#2168) 2024-01-24 15:34:17 +08:00
takatost 6d94126368
fix: transcript asr params wrong (#2162) 2024-01-24 13:36:04 +08:00
takatost e0f72d2791
version to 0.5.0. (#2147) 2024-01-24 12:57:05 +08:00
Yeuoly 48d5628fd4
Refactor: CoT runner (#2157) 2024-01-24 12:09:30 +08:00
Yeuoly c8fb619d37
fix: add tool index (#2152) 2024-01-24 12:01:14 +08:00
Yeuoly 57024614bd
fix: Fix typo in credentials field name (#2155) 2024-01-24 12:00:34 +08:00
Ricky a31b502668
refractor: assistant runner rename (#2150) 2024-01-24 11:38:15 +08:00
takatost 00f4e6ec44
feat: add ffmpeg faq link in missing ffmpeg error (#2146) 2024-01-24 01:45:35 +08:00
Charlie.Wei 6355e61eb8
tts models support (#2033)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2024-01-24 01:05:37 +08:00
Yeuoly 27828f44b9
Fix/assistant none type (#2145) 2024-01-24 00:13:04 +08:00
Yeuoly 9525ca08b9
Fix/assistant none type (#2143) 2024-01-23 22:16:31 +08:00
Yeuoly 501caf0a69
fix: None type in cot assistant app (#2142) 2024-01-23 21:59:09 +08:00
crazywoola c17baef172
Feat/portuguese support (#2075) 2024-01-23 21:14:53 +08:00
Yeuoly 21ade71bad
fix: agent strategy (#2141) 2024-01-23 21:04:46 +08:00
takatost 23e02d8eb0
feat: remove universal chat app (#2140) 2024-01-23 20:31:28 +08:00
Yeuoly 86286e1ac8
Feat/assistant app (#2086)
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
2024-01-23 19:58:23 +08:00
Jyong 741079f317
fix annotation reply (#2127)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-22 17:39:19 +08:00
takatost 7434d44412
feat: bedrock reorder in provider list (#2121) 2024-01-22 12:06:10 +08:00
Yeuoly 8394bbd47f
feat: support GLM-4V (#2124) 2024-01-22 11:56:37 +08:00
Chenhe Gu 14a2eeba0c
Add bedrock (#2119)
Co-authored-by: takatost <takatost@users.noreply.github.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Charlie.Wei <luowei@cvte.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Benjamin <benjaminx@gmail.com>
2024-01-22 11:00:19 +08:00
takatost a18dde9b0d
feat: add cohere llm and embedding (#2115) 2024-01-21 20:52:56 +08:00
crazywoola 8438d820ad
Feat/2070 glm 4 and glm 3 turbo (#2114) 2024-01-21 16:58:06 +08:00
crazywoola e19ad023d2
Fix/2102 long dify app description throws backend exception (#2112) 2024-01-21 12:30:16 +08:00
Benjamin 0695f08f05
fix: invite email template languages constant var (#2111) 2024-01-21 12:22:59 +08:00
Garfield Dai 51f23c5dc2
feat: support re-invite email. (#2107) 2024-01-20 22:28:41 +08:00
crazywoola 1f48e3d44a
feat: support legacy doc (#2100) 2024-01-20 22:21:51 +08:00
Garfield Dai 0a5de0ff0b
fix: empty keywords moderation. (#2108) 2024-01-20 20:02:51 +08:00
takatost 9c4bad8f1e
fix: arg missing when call method `on_message_replace_func` in output… (#2106) 2024-01-20 17:53:38 +08:00
takatost c7783dbd6c
bump version to 0.4.9 (#2103) 2024-01-19 22:25:23 +08:00
Jyong ee9c7e204f
delete document cache embedding (#2101)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-19 21:37:54 +08:00
Bowen Liang 483dcb6340
fix: skip linking /etc/localtime file first in api docker image (#2099) 2024-01-19 21:06:26 +08:00
Bowen Liang 9ad7b65996
support setting timezone in docker images (#2091) 2024-01-19 20:30:36 +08:00
crazywoola ec1659cba0
fix: saving error in empty dataset (#2098) 2024-01-19 20:12:04 +08:00
Joshua 09a8db10d4
Add jina-embeddings-v2-base-de model configuration (#2094) 2024-01-19 18:11:55 +08:00
Bowen Liang e2c89a9487
fix: bypass admin users to use dataset api with API key (#2072) 2024-01-19 17:23:05 +08:00
Jyong 869690c485
fix notion estimate (#2090)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-19 13:27:12 +08:00
Jyong a3c7c07ecc
use redis to cache embeddings (#2085)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-18 21:39:12 +08:00
takatost 6c28e1e69a
fix: version (#2083) 2024-01-18 16:44:09 +08:00
takatost 0e1163f698
feat: remove deprecated envs (#2078) 2024-01-18 14:44:37 +08:00
takatost 8654415f33
bump version to 0.4.8 (#2074) 2024-01-17 22:51:02 +08:00
takatost 1a6ad05a23
feat: service api add llm usage (#2051) 2024-01-17 22:39:47 +08:00
takatost 1d91535ba6
fix: azure customize model name duplicate (#2073) 2024-01-17 21:17:59 +08:00
takatost 8799c888e3
fix: free quota type apply button missing (#2069)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-01-17 15:02:27 +08:00
crazywoola d7209d9057
feat: add abab5.5s-chat (#2063) 2024-01-16 19:45:21 +08:00
Jyong a61df6cb03
timeout parameter error (#2052)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-16 14:44:47 +08:00
Jyong 790b885d0a
fix multi-dataset retrieve score limit (#2050)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-16 14:14:34 +08:00
Ricky 1a2eacc5a6
Add jina-embeddings-v2-base-zh model configuration (#2049) 2024-01-16 12:25:42 +08:00
takatost c51e179db8
bump version to 0.4.7 (#2045) 2024-01-16 01:13:10 +08:00
takatost b582fc13c3
fix: qwen top_p min/max wrong (#2044) 2024-01-16 01:12:55 +08:00
Jyong add33cb5e6
fix SQL slow query (#2043)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-16 00:59:28 +08:00
Garfield Dai 83105d0d8f
fix: dataset and moderation. (#2042) 2024-01-15 21:53:31 +08:00
takatost 28cd3a8c9f
fix: dependencies security problems (#2040) 2024-01-15 19:26:08 +08:00
Jyong cb7a608d75
ascii filter Unicode U+FFFE (#2038)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-15 16:52:18 +08:00
Yeuoly 149102927b
fix: openai tool tokens (#2026) 2024-01-14 15:51:05 +08:00
Garfield Dai cb7be3767c
feat: huggingface llm add new params. (#2014) 2024-01-12 21:15:07 +08:00
takatost 34bf2877c8
fix: tongyi stream generate not incremental and add qwen max models (#2013) 2024-01-12 19:19:12 +08:00
killpanda 3ebec8fa41
fixup /stop api (#2012)
Co-authored-by: mayue <mayue05@qiyi.com>
2024-01-12 19:10:42 +08:00
Jyong a63a9c7d45
text spliter length method use default embedding model tokenizer (#2011)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-12 18:45:34 +08:00
takatost 1779cea6e3
fix: model provider credentials null value validate failed (#2009) 2024-01-12 16:48:38 +08:00
takatost 9245f0adac
bump version to 0.4.6 (#2006) 2024-01-12 12:43:54 +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 5e75f7022f
fix data_source_detail_dict parameter error (#2000)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-11 17:49:20 +08:00
takatost 5e97eb1840
fix: azure openai stream response usage missing (#1998) 2024-01-11 17:34:58 +08:00
Yeuoly c9e4147b11
optimize baichuan invalid key error (#1996) 2024-01-11 13:35:24 +08:00
takatost f7939c758f
feat: bump version 0.4.5 (#1994) 2024-01-11 10:55:56 +08:00
takatost bf7045566d
fix: azure openai model parameters wrong when using hosting credentials (#1993) 2024-01-11 10:49:35 +08:00
Yeuoly ebd11e7482
fix: baichuan max chunks (#1990) 2024-01-10 23:13:35 +08:00
takatost 94626487db
fix: resend url optional (#1987) 2024-01-10 21:14:10 +08:00
Jyong 24bdedf802
fix get embedding model provider in empty dataset (#1986)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-10 20:48:16 +08:00
Benjamin 1fe4e3afde
Update Resend SDK and resend api url in configuration. (#1963) 2024-01-10 18:15:02 +08:00
Jyong 9dee9e7ade
fix rerank issue when doing economy search (#1978)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-09 20:56:13 +08:00
takatost 33901384c6
fix: httpx socks package missing (#1977) 2024-01-09 20:16:07 +08:00
Charlie.Wei 7a221d0858
Fix hosting cloud version limit (#1975)
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-01-09 19:56:09 +08:00
Jyong 60ee98f578
zhipu embedding token method (#1976)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-09 19:54:02 +08:00
Charlie.Wei 5b24d7129e
Azure openai init (#1929)
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-01-09 19:17:47 +08:00
Bowen Liang b8592ad412
fix: indentation violations in YAML files (#1972) 2024-01-09 18:15:25 +08:00
Chenhe Gu 344821ed35
enforce utf-8 encoding for provider response (#1973) 2024-01-09 14:22:05 +08:00
Bowen Liang c32c177e15
improvement: introduce Super-Linter actions to check style for shell script, dockerfile and yaml files (#1966) 2024-01-09 10:31:52 +08:00
Chenhe Gu 5ff701ca3f
correct xorbits spelling (#1965) 2024-01-08 10:19:56 +08:00
takatost 9f58912fd7
bump version to 0.4.4 (#1962) 2024-01-06 03:08:05 +08:00
takatost 0c746f5c5a
fix: generate not stop when pressing stop link (#1961) 2024-01-06 03:03:56 +08:00
Garfield Dai a8cedea15a
fix: check result should be string. (#1959) 2024-01-05 22:11:51 +08:00
Chenhe Gu 87832ede17
delete remnant 'required': false (#1955) 2024-01-05 19:18:33 +08:00
Jyong 4d99c689f0
prohibit enable and disable function when segment is not completed (#1954)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-01-05 18:18:38 +08:00
Jyong 28b26f67e2
optimize qa prompt (#1957)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-05 18:17:55 +08:00
Chenhe Gu b934232411
change API key field to 'required' (#1953) 2024-01-05 17:19:04 +08:00
takatost 2f120786fd
feat: reorder togetherai (#1951) 2024-01-05 17:04:37 +08:00
Chenhe Gu 6075fee556
Add Together.ai's OpenAI API-compatible inference endpoints (#1947) 2024-01-05 16:36:29 +08:00
Chenhe Gu de584807e1
fix streaming (#1944) 2024-01-05 01:03:54 -06:00
Garfield Dai cf1f6f3961
fix: text completion app cannot get data. (#1942) 2024-01-05 14:29:01 +08:00
takatost f4d97ef9fa
fix: arg user required and must not be null in service generate api (#1943) 2024-01-05 14:28:03 +08:00
takatost 28883e80d4
fix: gpt-4-32k model name empty in OpenAI response (#1941) 2024-01-05 12:49:26 +08:00
takatost a0f74cdd9d
fix: llm result usage none (#1940) 2024-01-05 12:47:10 +08:00
takatost 296bf443a8
feat: reuse decoding_rsa_key & decoding_cipher_rsa & optimize construct (#1937) 2024-01-05 12:13:45 +08:00
takatost af7be9bdd7
Feat/optimize entity construct (#1935) 2024-01-05 09:43:41 +08:00
takatost 2cfd5568e1
fix: vision fail in complete app (#1933) 2024-01-05 04:23:12 +08:00
takatost faf40a42bc
feat: optimize memory & invoke error output (#1931) 2024-01-05 03:47:46 +08:00
takatost 97c972f14d
feat: bump version 0.4.3 (#1930) 2024-01-04 21:16:47 +08:00
takatost 3fa5204b0c
feat: optimize performance (#1928) 2024-01-04 20:48:54 +08:00
Yeuoly 5a756ca981
fix: xinference cache (#1926) 2024-01-04 20:39:58 +08:00
Liu Peng 01f9feff9f
fix a typo in file agent_app_runner.py (#1927) 2024-01-04 20:39:06 +08:00
Jyong 2757494265
alter schedule timedelta (#1923)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-04 18:10:16 +08:00
takatost b88a8f7bb1
feat: optimize invoke errors (#1922) 2024-01-04 17:49:55 +08:00
takatost b4225bedb5
fix: app create raise error when no available model providers (#1921) 2024-01-04 17:33:26 +08:00
waltcow a82b4d315a
Fix comparison bug in ApplicationQueueManager (#1919) 2024-01-04 17:33:08 +08:00
takatost 3d92784bd4
fix: email template style (#1914) 2024-01-04 16:53:11 +08:00
Jyong 4a3d15b6de
fix customer spliter character (#1915)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-04 16:21:48 +08:00
Garfield Dai 665318da3d
fix: remove useless code. (#1913) 2024-01-04 15:27:05 +08:00
takatost a938e1f184
fix: notion_indexing_estimate embedding_model_instance NPE (#1907) 2024-01-04 13:28:52 +08:00
takatost 7c7ee633c1
fix: spark credentials validate (#1906) 2024-01-04 13:20:45 +08:00
crazywoola 18af84e193
fix: array oob in azure openai embeddings (#1905) 2024-01-04 13:11:54 +08:00
takatost 025b859c7e
fix: tongyi generate error (#1904) 2024-01-04 12:57:45 +08:00
newsouther 0e239a4f71
fix: read file encoding error (#1902)
Co-authored-by: maple <1071520@gi>
2024-01-04 12:52:10 +08:00
Jyong a0a9461f79
Fix/add qdrant timeout default value (#1901)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-04 10:58:47 +08:00
takatost 6a2eb5f442
fix: customize model schema fetch failed raise error (#1900) 2024-01-04 10:53:50 +08:00
takatost 0c5892bcb6
fix: zhipuai chatglm turbo prompts must user, assistant in sequence (#1899) 2024-01-04 10:39:21 +08:00
takatost 91ff07fcf7
bump version to 0.4.2 (#1898) 2024-01-04 01:35:07 +08:00
takatost bb7af56e69
fix: zhipuai history format wrong (#1897) 2024-01-04 01:30:23 +08:00
Chenhe Gu 77f9e8ce0f
add example api url endpoint in placeholder (#1887)
Co-authored-by: takatost <takatost@gmail.com>
2024-01-04 01:16:51 +08:00
Jyong 5ca4c4a44d
add qdrant client timeout limit (#1894)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-03 22:23:04 +08:00
takatost 6333cf43a8
fix: anthropic messages empty raise errors (#1893) 2024-01-03 22:12:14 +08:00
Garfield Dai 91ee62d1ab
fix: huggingface and replicate. (#1888) 2024-01-03 18:29:44 +08:00
takatost ede69b4659
fix: gemini block error (#1877)
Co-authored-by: chenhe <guchenhe@gmail.com>
2024-01-03 17:45:15 +08:00
waltcow 61aaeff413
Fix variable name in AgentApplicationRunner (#1884) 2024-01-03 17:44:41 +08:00
crazywoola 4d502ea44d
fix: openai embedding list out of bound (#1879) 2024-01-03 15:30:22 +08:00
Yeuoly 9134849744
fix: remove tiktoken from text splitter (#1876) 2024-01-03 13:02:56 +08:00
Garfield Dai fcf8512956
fix: more like this. (#1875) 2024-01-03 12:51:19 +08:00
takatost ae975b10e9
fix: openai origin credential not start with { (#1874) 2024-01-03 12:10:43 +08:00
Yeuoly b43f1441a9
Fix/model runtime (#1873) 2024-01-03 11:36:57 +08:00
takatost 5a2aa83030
fix: ciphertext error (#1872) 2024-01-03 11:20:46 +08:00
takatost 4de27d0404
bump version to 0.4.1 (#1870) 2024-01-03 10:01:37 +08:00
Yeuoly c6d59681ff
fix: xinference secret server_url (#1869) 2024-01-03 10:01:11 +08:00
takatost 3b668c0bb1
fix: IntegrityError import wrong (#1868) 2024-01-03 09:35:03 +08:00
takatost 4aed1fe8a8
fix: Azure text-davinci-003 missing (#1867) 2024-01-03 09:27:09 +08:00
takatost 2381264a3f
fix: provider create cause IntegrityError (#1866) 2024-01-03 09:12:53 +08:00
takatost 4562e83b24
fix: hit testing throws errors cause internal server error (#1865) 2024-01-03 08:57:39 +08:00
takatost 7be77c19f5
fix: default model parameter precision (#1864) 2024-01-03 08:52:22 +08:00
takatost 82247c0f14
fix: agent strategy missing in app model config (#1863) 2024-01-03 08:43:51 +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
Jyong e91dd28a76
fix file estimate issue (#1860)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-02 16:25:59 +08:00
Jyong 595e9b25ba
Add data clean schedule (#1859)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-02 15:29:18 +08:00
waltcow 06d2d8cea3
Refactor BaseVectorIndex delete method (#1853) 2023-12-30 21:49:01 +08:00
Jyong da4847c5a8
fix segment update issue (#1844)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-26 16:22:51 +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
Charlie.Wei 6b57e4e0ff
Fix chitchat lost context (#1828)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2023-12-23 10:05:17 +08:00
Bannings 0b7e0cadc0
Fix Azure OpenAI Provider BASE_MODELS (#1813)
Co-authored-by: xifan <xifan@gaoding.com>
2023-12-22 14:17:15 +08:00
Jyong 163515c6e9
fix unstructured requirements (#1821)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-22 10:31:06 +08:00
Charlie.Wei 64642fabc4
Parse base64 eml file (#1796)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2023-12-21 13:18:58 +08:00
crazywoola 7083a05a25
fix: mail link color (#1812) 2023-12-21 12:44:08 +08:00
crazywoola 1521ac5563
feat: add email template for invite new user in workspace (#1810) 2023-12-21 11:09:41 +08:00
Garfield Dai 7b37e05dec
feat: add billing switch. (#1789)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-12-20 15:37:57 +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 df1509983c
ppt & pptx improve (#1790)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-19 18:11:27 +08:00
Jyong 185c2f86cd
Compatible with the situation where there is no user information. (#1792)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-19 17:47:25 +08:00
taokuizu 10fc44e2af
fix typo (#1791) 2023-12-19 17:23:49 +08:00
takatost 43741ad5d1
feat: bump version to 0.3.34 (#1788) 2023-12-19 14:08:47 +08:00
zxhlyh 867fc61b12
fix: web app text (#1784) 2023-12-19 11:45:16 +08:00
Jyong 5e34f938c1
Feat/add unstructured support (#1780)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 23:24:06 +08:00
Jyong 2fd56cb01c
Fix/vdb index issue (#1776)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 21:33:54 +08:00
zxhlyh 1a5279a3ef
fix: get billing info in self-hosted edition from current workspace (#1774) 2023-12-18 17:54:16 +08:00
Garfield Dai 2de73991ff
feat: only tenant owner can subscription. (#1770) 2023-12-18 16:59:31 +08:00
Jyong ebc2cdad2e
fix annotation query exception (#1771)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 16:48:34 +08:00
zxhlyh 5bb841935e
feat: custom webapp logo (#1766) 2023-12-18 16:25:37 +08:00
Jyong 96d2de2258
fix annotation reply in universal chat (#1768)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 15:04:17 +08:00
Jyong a71f2863ac
Annotation management (#1767)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 13:10:05 +08:00
Garfield Dai 4b1ba2ec21
feat: remove billing config. (#1761) 2023-12-17 13:22:45 +08:00
Qiwen Tong c09184fd94
update bm25 search properties (#1758)
Co-authored-by: Blade <zhangxiaobin@unixyz.cn>
2023-12-15 12:28:03 +08:00
Charlie.Wei b0d8d196e1
azure openai add gpt-4-1106-preview、gpt-4-vision-preview models (#1751)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2023-12-14 09:55:30 +08:00
Garfield Dai 7c43123956
feat: can replace logo. (#1752) 2023-12-13 20:21:39 +08:00
Garfield Dai 6b499b9a16
remove stripe and anthropic. (#1746) 2023-12-12 17:59:07 +08:00
Jyong d5695b3170
check rerank document is not empty (#1740)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-11 16:12:11 +08:00
crazywoola 994fceece3
fix: qa regex (#1738) 2023-12-11 15:53:37 +08:00
Jyong 8c451eb0e6
fix only full text search in app issue (#1736)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-11 15:34:29 +08:00
crazywoola 38b55d2186
fix: default types (#1728) 2023-12-09 23:38:07 +08:00
takatost bee0d12455
fix: remove postgresql default charset config (#1720) 2023-12-08 13:22:04 +08:00
takatost 13f2c90a7b
bump version to 0.3.33 (#1719) 2023-12-08 13:13:21 +08:00
crazywoola a3dca3dabc
fix: auto generate type error in controllers/web/conversation.py (#1718) 2023-12-08 11:15:07 +08:00
SM-Tech e5c7a81ce3
fix ascii codec error, by using utf8 (#1608)
Co-authored-by: crazywoola <427733928@qq.com>
2023-12-08 09:05:58 +08:00
Pascal M bc54cdc537
refactor: typo in dataset docstore (#1711) 2023-12-07 09:24:52 +08:00
Pascal M 5d10cf0fe6
fix: error Class 'builtins.list' is not mapped (#1710) 2023-12-07 09:24:39 +08:00
Garfield Dai 7b8a10f3ea
feat: billing enhancement 20231204 (#1691)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-05 16:53:55 +08:00
Garfield Dai 1263b7de75
fix: vector_size convert bytes to MB. (#1684) 2023-12-04 10:51:40 +08:00
Garfield Dai 053102f433
Feat/dify billing (#1679)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: takatost <takatost@users.noreply.github.com>
2023-12-03 20:59:29 +08:00
Yeuoly d3a2c0ed34
fix wrong syntax of type definitions (#1678) 2023-12-03 20:59:13 +08:00
Wen O.Y a1cd043fdc
fix: Incorrect order of embedded documents in CacheEmbedding (#1671) 2023-12-03 19:07:00 +08:00
WangBooth 22bc9ddc73
Hotfix/fix documents index mismatch error in rerank (#1662)
Co-authored-by: baomi.wbm <baomi.wbm@dtwave-inc.com>
2023-11-30 22:03:20 +08:00
zxhlyh 451af66be0
feat: add jina embedding (#1647)
Co-authored-by: takatost <takatost@gmail.com>
2023-11-29 14:58:11 +08:00
crazywoola 454577c6b1
Remove legacy docker startup docs in frontend (#1645) 2023-11-29 13:26:35 +08:00
WangBooth 53be4d2712
fix #1637 (#1638)
Co-authored-by: baomi.wbm <baomi.wbm@dtwave-inc.com>
2023-11-28 20:05:50 +08:00
crazywoola cf0ba794d7
fix: old webapp url still valid (#1643) 2023-11-28 20:04:46 +08:00
Jyong 74b2260ba6
fix score_threshold_enabled name (#1626)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-27 15:34:45 +08:00
takatost 3cc697832a
feat: bump version to 0.3.32 (#1620) 2023-11-25 16:43:31 +08:00
takatost e1d2203371
fix: provider chatglm tests error (#1618) 2023-11-25 16:04:36 +08:00
takatost 93467cb363
fix: dataset tool missing in n-to-1 retrieve mode (#1617) 2023-11-25 16:04:22 +08:00
takatost ea526d0822
feat: chatglm3 support (#1616) 2023-11-25 15:37:07 +08:00
takatost 0e627c920f
feat: xinference rerank model support (#1615) 2023-11-25 03:56:00 +08:00
Jyong a5b80c9d1f
Fix/multi thread parameter (#1604) 2023-11-22 18:31:29 +08:00
Jyong f704094a5f
fix hybrid search when document is none (#1603)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-22 17:53:42 +08:00
takatost 1f58f15bff
feat: optimize db connections in thread (#1601) 2023-11-22 16:55:59 +08:00
Jyong b930716745
fix weaviate hybrid search issue (#1600)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-22 16:41:20 +08:00
waltcow 3c0fbf3a6a
fix sql transaction error in statistic API (#1586) 2023-11-22 14:28:21 +08:00
takatost 4a55d5729d
feat: add anthropic claude-2.1 support (#1591) 2023-11-22 01:46:19 +08:00
takatost d5acfaa14e
feat: bump version to 0.3.31 (#1584) 2023-11-21 15:50:18 +08:00
Jyong cc35d0645a
Compatible model saving error (#1582)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-21 15:38:27 +08:00
takatost c9368925a3
feat: add `supported_model_types` field and filter in provider list (#1581) 2023-11-21 15:06:47 +08:00
Jyong 0d9ce1bab0
fix multi retrieval with resource score issue (#1578)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-21 13:47:55 +08:00
Matri d0456d0f42
feat: configurable invite expiry time (#1573) 2023-11-21 11:50:06 +08:00
Rhon Joe 7cda3fe85b
fix(api): patch Windows timezone set (#1575) 2023-11-21 11:49:07 +08:00
Garfield Dai 5b7071e4b0
Feat/sdk vision support (#1531)
Co-authored-by: Joel <iamjoel007@gmail.com>
2023-11-20 17:54:01 +08:00
Jyong 6717bb2b72
fix the error message (#1564)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-19 15:12:55 +08:00
Jyong 0e08526428
fix hybrid search reranking check (#1563)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-18 17:06:28 +08:00
Jyong 4588831bff
Feat/add retriever rerank (#1560)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-17 22:13:37 +08:00
takatost d654770732
feat: supports for new version of openllm (#1554) 2023-11-17 14:07:36 +08:00
takatost 8f2bd7663d
feat: optimize timezone of server (#1537) 2023-11-15 19:14:31 +08:00
takatost 54a42d08d7
fix: conversation rename always auto generate (#1530) 2023-11-15 15:03:21 +08:00
Garfield Dai 8835435558
fix: change model mode. (#1520) 2023-11-13 23:13:01 +08:00
takatost a80d8286c2
feat: bump version to 0.3.30 (#1519) 2023-11-13 22:50:42 +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
crazywoola d0e1ea8f06
1506 remove duplicated code (#1511) 2023-11-13 19:05:32 +08:00
takatost 9de67c586f
feat: update free plan rules of spark (#1515) 2023-11-13 17:00:36 +08:00
takatost d7ae86799c
feat: support basic feature of OpenAI new models (#1476) 2023-11-07 04:05:59 -06:00
takatost 059c089f93
fix: external data tool batch retrieve bug (#1472) 2023-11-07 01:28:22 -06:00
Garfield Dai c1e7193c4b
feat: hidden api key enhancement. (#1468) 2023-11-06 23:07:30 +08:00
takatost 2423563d45
fix: external data tool parse error (#1469) 2023-11-06 08:40:01 -06:00
takatost 260672986e
fix: universal chat external_data_tools NPE (#1467) 2023-11-06 08:08:53 -06:00
takatost 5d48406d64
feat: bump version to 0.3.29 (#1462) 2023-11-06 06:55:17 -06:00
takatost 2b2dbabc11
fix: prompt variables validate when using external data tools (#1465) 2023-11-06 06:31:41 -06:00
Garfield Dai db43ed6f41
feat: add api-based extension & external data tool & moderation backend (#1403)
Co-authored-by: takatost <takatost@gmail.com>
2023-11-06 19:36:16 +08:00
YiLi 7699621983
fix: Use correct typehint for return values (#1454)
Co-authored-by: lethe <lethe>
2023-11-06 04:50:51 -06:00
takatost 4dfbcd0b4e
feat: support chatglm_turbo model #1443 (#1460) 2023-11-06 04:33:05 -06:00
crazywoola a9ee18300e
fix: service suggested api (#1452) 2023-11-04 19:59:14 +08:00
takatost 076f3289d2
feat: add spark v3.0 llm support (#1434) 2023-10-31 03:13:11 -05:00
takatost fb64fcb271
feat: upgrade xinference-client to 0.5.4 (#1402) 2023-10-23 05:49:32 -05:00
takatost e122d677ad
fix: return wrong when init 0 quota in trial provider (#1394) 2023-10-21 14:02:38 -05:00
takatost 4c63cbf5b1
feat: adjust anthropic (#1387) 2023-10-20 02:27:46 -05:00
Garfield Dai fe14130b3c
refactor advanced prompt core. (#1350) 2023-10-18 20:02:52 +08:00
wayne.wang 52ebffa857
fix: app config zhipu chatglm_std model, but it still use chatglm_lit… (#1377)
Co-authored-by: wayne.wang <wayne.wang@beibei.com>
2023-10-18 05:07:36 -05:00
takatost 7c9b585a47
feat: support weixin ernie-bot-4 and chat mode (#1375) 2023-10-18 02:35:24 -05:00
takatost c039f4af83
fix: app model config detached in completion thread (#1366) 2023-10-17 08:18:08 -05:00
takatost 07285e5f8b
feat: optimize completion model agent (#1364) 2023-10-17 06:54:59 -05:00
takatost 2feb16d957
feat: bump version to 0.3.28 (#1349) 2023-10-14 11:49:56 -05:00
Garfield Dai 695841a3cf
Feat/advanced prompt enhancement (#1340) 2023-10-13 16:47:01 +08:00
takatost 3efaa713da
feat: use xinference client instead of xinference (#1339) 2023-10-13 02:46:09 -05:00
takatost 9822f687f7
fix: max tokens of OpenAI gpt-3.5-turbo-instruct to 4097 (#1338) 2023-10-13 02:07:07 -05:00
Charlie.Wei 298ad6782d
Add Message Suggested Api (#1326)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2023-10-13 14:07:32 +08:00
takatost f4be2b8bcd
fix: raise error in minimax stream generate (#1336) 2023-10-12 23:48:28 -05:00
takatost 7dea485d57
feat: bump version to 0.3.27 (#1331) 2023-10-12 10:37:48 -05:00
Garfield Dai 42a5b3ec17
feat: advanced prompt backend (#1301)
Co-authored-by: takatost <takatost@gmail.com>
2023-10-12 10:13:10 -05:00
takatost 2d1cb076c6
fix: dataset segment not exist return agent response (#1329) 2023-10-12 04:40:20 -05:00
Jyong 289c93d081
Feat/improve document delete logic (#1325)
Co-authored-by: jyong <jyong@dify.ai>
2023-10-12 13:30:44 +08:00
takatost 9cba1c8bf4
fix: retriever_resource missing (#1317) 2023-10-11 14:37:11 -05:00
takatost cbf095465c
feat: remove llm client use (#1316) 2023-10-11 14:02:53 -05:00
takatost ff493d017b
fix: minimax tests (#1313) 2023-10-11 07:49:26 -05:00
Jyong 7f6ad9653e
Fix/grpc gevent compatible (#1314)
Co-authored-by: jyong <jyong@dify.ai>
2023-10-11 20:48:35 +08:00
takatost 2851a9f04e
feat: optimize minimax llm call (#1312) 2023-10-11 07:17:41 -05:00
takatost c536f85b2e
fix: compatibility issues with the tongyi model. (#1310) 2023-10-11 05:16:26 -05:00
takatost b1352ff8b7
feat: using random sampling to check if it violates the review mechan… (#1308) 2023-10-11 04:11:20 -05:00
Jyong cc63c8499f
bump version to 0.3.26 (#1307)
Co-authored-by: jyong <jyong@dify.ai>
2023-10-11 16:11:24 +08:00
Jyong f191b8b8d1
milvus docker compose env (#1306)
Co-authored-by: jyong <jyong@dify.ai>
2023-10-11 16:05:37 +08:00
Jyong 5003db987d
milvus secure check fix (#1305)
Co-authored-by: jyong <jyong@dify.ai>
2023-10-11 13:11:06 +08:00
Jyong 07aab5e868
Feat/add milvus vector db (#1302)
Co-authored-by: jyong <jyong@dify.ai>
2023-10-10 21:56:24 +08:00
takatost 875dfbbf0e
fix: openllm completion start with prompt, remove it (#1303) 2023-10-10 04:44:19 -05:00
Charlie.Wei 9e7efa45d4
document segmentApi Add get&update&delete operate (#1285)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2023-10-10 13:27:06 +08:00
takatost 8bf892b306
feat: bump version to 0.3.25 (#1300) 2023-10-10 13:03:49 +08:00
takatost 8480b0197b
fix: prompt for baichuan text generation models (#1299) 2023-10-10 13:01:18 +08:00
takatost 4ab4bcc074
feat: support openllm embedding (#1293) 2023-10-09 23:09:35 -05:00
takatost 1d4f019de4
feat: add baichuan llm support (#1294)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
2023-10-09 23:09:26 -05:00
takatost 677aacc8e3
feat: upgrade xinference client to 0.5.2 (#1292) 2023-10-09 08:12:58 -05:00
takatost fda937175d
feat: qdrant support in docker compose (#1286) 2023-10-08 12:04:04 -05:00
takatost 024250803a
feat: move login_required wrapper outside (#1281) 2023-10-08 05:21:32 -05:00
takatost 373e90ee6d
fix: detached model in completion thread (#1269) 2023-10-02 22:27:25 +08:00
takatost 41d4c5b424
fix: count down thread in completion db not commit (#1267) 2023-10-02 10:19:26 +08:00
takatost 86a9dea428
fix: db not commit when streaming output (#1266) 2023-10-01 16:41:52 +08:00
takatost 8606d80c66
fix: request timeout when openai completion (#1265) 2023-10-01 16:00:23 +08:00
takatost 5bffa1d918
feat: bump version to 0.3.24 (#1262) 2023-09-28 18:32:06 +08:00
zxhlyh c9b0fe47bf
Fix/notion sync (#1258) 2023-09-28 14:39:13 +08:00
Jyong 5e511e01bf
Fix/dataset api key delete (#1255)
Co-authored-by: jyong <jyong@dify.ai>
2023-09-28 10:41:41 +08:00
takatost a31466d34e
fix: db session not commit before long llm call running (#1251) 2023-09-27 21:40:26 +08:00
takatost d38eac959b
fix: wenxin model name invalid when llm call (#1248) 2023-09-27 16:29:13 +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
Garfield Dai 54ff03c35d
fix: dataset query error. (#1244) 2023-09-27 15:24:54 +08:00
Garfield Dai 18c710c906
feat: support binding context var (#1227)
Co-authored-by: Joel <iamjoel007@gmail.com>
2023-09-27 14:53:22 +08:00
zxhlyh 227f9fb77d
Feat/api jwt (#1212) 2023-09-25 12:49:16 +08:00
Jyong 724e053732
Fix/qdrant data issue (#1203)
Co-authored-by: jyong <jyong@dify.ai>
2023-09-22 14:21:26 +08:00
Garfield Dai e409895c02
Feat/huggingface embedding support (#1211)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-09-22 13:59:02 +08:00
takatost 32d9b6181c
fix: transaction not commit during long LLM calls (#1213) 2023-09-22 12:43:06 +08:00
takatost 2b018fade2
fix: transaction hangs due to message commit block during long LLM calls (#1206) 2023-09-21 11:22:10 +08:00
takatost 5809edd74b
feat: bump version to 0.3.23 (#1198) 2023-09-20 00:14:36 +08:00
takatost 435f804c6f
fix: gpt-3.5-turbo-instruct context size to 8192 (#1196) 2023-09-19 02:10:22 +08:00
takatost ae3f1ac0a9
feat: support gpt-3.5-turbo-instruct model (#1195) 2023-09-19 02:05:04 +08:00
Jyong 269a465fc4
Feat/improve vector database logic (#1193)
Co-authored-by: jyong <jyong@dify.ai>
2023-09-18 18:15:41 +08:00
takatost 827c97f0d3
feat: add zhipuai (#1188) 2023-09-18 17:32:31 +08:00
takatost c8bd76cd66
fix: inference embedding validate (#1187) 2023-09-16 03:09:36 +08:00
charli117 20bab6edec
Restore the application template (#1174)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2023-09-14 08:28:32 -05:00
charli117 67bed54f32
Mermaid front end rendering (#1166)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2023-09-14 14:09:23 +08:00
Matri fc68c81791
fix: correct invite url (#1173) 2023-09-14 12:07:34 +08:00
Jyong 5d9070bc60
Feat/add blocking mode resource return (#1171)
Co-authored-by: jyong <jyong@dify.ai>
2023-09-13 18:53:35 +08:00
takatost f9082104ed
feat: add hosted moderation (#1158) 2023-09-12 10:26:12 +08:00
takatost 983834cd52
feat: spark check (#1134) 2023-09-11 17:31:03 +08:00
takatost 24cb992843
feat: bump version to 0.3.22 (#1153) 2023-09-11 12:04:06 +08: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
KVOJJJin e161c511af
Feat:csv & docx support (#1139)
Co-authored-by: jyong <jyong@dify.ai>
2023-09-10 15:17:22 +08:00
takatost f29e82685e
feat: bump version to 0.3.21 (#1145) 2023-09-10 12:34:54 +08:00
takatost 3a5ae96e7b
fix: TRANSFORMERS_OFFLINE orders in Dockerfile (#1144) 2023-09-10 12:26:13 +08:00
takatost b63a685386
feat: set transformers offline default true (#1143) 2023-09-10 12:20:58 +08:00
takatost 877da82b06
feat: cache huggingface gpt2 tokenizer files (#1138) 2023-09-10 12:16:21 +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 1ade70aa1e
feat: bump version to 0.3.20 (#1135) 2023-09-09 23:47:14 +08:00
takatost 2658c4d57b
fix: answer returned null when response_mode was blocking (#1133) 2023-09-09 23:22:21 +08:00
takatost 6effcd3755
feat: optimize celery start cmd (#1129) 2023-09-09 13:48:29 +08:00
takatost c4d8bdc3db
fix: hf hosted inference check (#1128) 2023-09-09 00:29:48 +08:00
Matri a5d21f3b09
fix: shortening invite url (#1100)
Co-authored-by: MatriQi <matri@aifi.io>
2023-09-07 17:15:57 +08:00
takatost a7cdb745c1
feat: support spark v2 validate (#1086) 2023-09-01 20:53:32 +08:00
takatost 73c86ee6a0
fix: prompt of title generation (#1084) 2023-09-01 14:55:58 +08:00
takatost 48eb590065
feat: optimize last_active_at update (#1083) 2023-09-01 13:58:26 +08:00
takatost 33562a9d8d
feat: optimize prompt (#1080) 2023-09-01 11:46:06 +08:00
Rhon Joe c9194ba382
chore(api): api image multistage build (#1069) 2023-09-01 11:13:22 +08:00
takatost a199fa6388
feat: optimize high load sql query of document segment (#1078) 2023-09-01 10:52:39 +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 1ca86cf9ce
feat: bump version to 0.3.19 (#1074) 2023-08-31 21:42:58 +08:00
takatost 78e26f8b75
fix: summary no docs (#1073) 2023-08-31 20:19:26 +08:00
takatost 2191312bb9
fix: segments query missing idx hit (#1072) 2023-08-31 19:39:44 +08:00
takatost fcc6b41ab7
feat: decrease claude model request time by set max top_k to 10 (#1071) 2023-08-31 18:23:44 +08:00
takatost d75e8aeafa
feat: disable anthropic retry (#1067) 2023-08-31 16:44:46 +08:00
takatost 2eba98a465
feat: optimize anthropic connection pool (#1066) 2023-08-31 16:18:59 +08:00
takatost a7a7aab7a0
fix: csv import error (#1063) 2023-08-31 15:42:28 +08:00
crazywoola 86bfbb47d5
chore: doc issue (#1062) 2023-08-31 14:54:16 +08:00
yezhwi d33a269548
refactor(file extractor): file extractor (#1059) 2023-08-31 14:45:31 +08:00
Matri d3f8ea2df0
Feat/support to invite multiple users (#1011) 2023-08-31 01:18:31 +08:00
Jyong 7df56ed617
fix error weaviate vector (#1058)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-30 20:34:17 +08:00
KVOJJJin c67f345d0e
Fix: disable operations of dataset when embedding unavailable (#1055)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-30 17:27:19 +08:00
yezhwi 8b8e510bfe
fix: handle AttributeError for datasets and index (#1052) 2023-08-30 11:14:16 +08:00
takatost 417c19577a
feat: add LocalAI local embedding model support (#1021)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-08-29 22:22:02 +08:00
Jyong b5953039de
recreate qdrant vector (#1049)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-29 15:00:36 +08:00
Jyong a43e80dd9c
add qdrant migration (#1046)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-29 10:37:04 +08:00
WangBooth ad5f27bc5f
fix openpyxl dimensions error (#1041) 2023-08-29 10:36:48 +08:00
takatost 7b3314c5db
fix: dataset desc (#1045) 2023-08-29 09:07:27 +08:00
Jyong a55ba6e614
Fix/ignore economy dataset (#1043)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-29 03:37:45 +08:00
Jyong 16199e968e
fix notion import limit check (#1042)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-28 16:49:03 +08:00
takatost 02452421d5
fix: pub generate message text return null (#1037) 2023-08-28 16:43:54 +08:00
takatost 0796791de5
feat: hf inference endpoint stream support (#1028) 2023-08-26 19:48:34 +08:00
takatost 6c148b223d
fix: dataset query truncated (#1026) 2023-08-26 17:35:17 +08:00
Jyong e053215155
fix document estimate parameter (#1019)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-25 20:10:08 +08:00
Jyong 38fa152cc4
fix update document index technique (#1018)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-25 18:29:55 +08:00
Uranus 2d9616c29c
fix: xinference last token being ignored (#1013) 2023-08-25 18:15:05 +08:00
Jyong 915e26527b
update dataset index struct (#1012)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-25 15:52:33 +08:00
Jyong 2d604d9330
Fix/filter empty segment (#1004)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-25 15:50:29 +08:00
Jyong e7199826cc
embedding model available check (#1009)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-25 00:25:16 +08:00
yezhwi c1602aafc7
refactor:cache in place & function name (#1001) 2023-08-24 22:54:21 +08:00
Jyong b1fd1b3ab3
Feat/vector db manage (#997)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-24 21:27:31 +08:00
Jyong 5397799aac
document limit (#999)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-24 21:27:13 +08:00
takatost 8e837dde1a
feat: bump version to 0.3.18 (#1000) 2023-08-24 18:13:18 +08:00
takatost 9ae91a2ec3
feat: optimize xinference request max token key and stop reason (#998) 2023-08-24 18:11:15 +08:00
takatost ef61e1487f
fix: safetensor arm complie error (#996) 2023-08-24 17:38:10 +08:00
takatost 701e2b334f
feat: remove unnecessary prompt of baichuan (#993) 2023-08-24 15:30:59 +08:00
takatost 6ebd6e7890
feat: bump version to 0.3.17 (#992) 2023-08-24 15:12:47 +08:00
takatost bd3a9b2f8d
fix: xinference-chat-stream-response (#991) 2023-08-24 14:39:34 +08:00
takatost 18d3877151
feat: optimize xinference stream (#989) 2023-08-24 13:58:34 +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
takatost 9b247fccd4
feat: adjust hf max tokens (#979) 2023-08-23 22:24:50 +08:00
John Wang 3d38aa7138 feat: bump version to 0.3.16 2023-08-23 20:16:54 +08:00
takatost 7d2552b3f2
feat: upgrade xinference to 0.2.1 which support stream response (#977) 2023-08-23 20:15:45 +08:00
yezhwi 117a209ad4
Fix:condition for dataset availability check (#973) 2023-08-23 19:57:27 +08:00
takatost a76fde3d23
feat: optimize hf inference endpoint (#975) 2023-08-23 19:47:50 +08:00
Jyong 1fc57d7358
normalize embedding (#974)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-23 19:10:11 +08:00
takatost f8fbe96da4
feat: bump version to 0.3.15 (#959) 2023-08-22 18:20:33 +08:00
takatost 5cba2e7087
fix: web reader tool retrieve content empty (#957) 2023-08-22 18:01:16 +08:00
Jyong 5623839c71
update document segment (#950)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-22 17:59:24 +08:00
takatost 78d3aa5fcd
fix: embedding init err (#956) 2023-08-22 17:43:59 +08:00
takatost 4f3053a8cc
fix: xinference chat completion error (#952) 2023-08-22 15:58:04 +08:00
Jyong aee15adf1b
update document segment (#948)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-22 15:19:09 +08:00
takatost a3aba7a9aa
fix: provider model not delete when reset key pair (#946) 2023-08-22 13:48:58 +08:00
takatost 866ee5da91
fix: openllm generate cutoff (#945) 2023-08-22 13:43:36 +08:00
takatost e0a48c4972
fix: xinference chat support (#939) 2023-08-21 20:44:29 +08:00
Jyong 4b53bb1a32
Feat/token support (#909)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
2023-08-21 13:57:18 +08:00
takatost 4c49ecedb5
feat: optimize web reader summary in 3.5 (#933) 2023-08-21 11:58:01 +08:00
takatost 4ff1870a4b
fix: web reader tool missing nodejs (#932) 2023-08-21 11:26:11 +08:00
takatost 6c832ee328
fix: remove openllm pypi package because of this package too large (#931) 2023-08-21 02:12:28 +08:00
takatost 25264e7852
feat: add xinference embedding model support (#930) 2023-08-20 19:35:07 +08:00
takatost 18dd0d569d
fix: xinference max_tokens alisa error (#929) 2023-08-20 19:12:52 +08:00
takatost 3ea8d7a019
feat: add openllm support (#928) 2023-08-20 19:04:33 +08:00
takatost da3f10a55e
feat: server xinference support (#927) 2023-08-20 17:46:41 +08:00
takatost 22c1aafb9b
fix: document paused at format error (#925) 2023-08-20 01:54:12 +08:00
takatost 8d6d1c442b
feat: optimize generate name length (#924) 2023-08-19 23:34:38 +08:00
takatost 95b179fb39
fix: replicate text generation model validate (#923) 2023-08-19 21:40:42 +08:00
takatost 3a0a9e2d8f
fix: embedding get price definition missing (#922) 2023-08-19 21:31:40 +08:00
takatost 0a0d63457d
feat: record price unit in messages (#919) 2023-08-19 18:51:40 +08:00
takatost 920fb6d0e1
fix: embedding price config (#918) 2023-08-19 16:54:08 +08:00
Krasus.Chen fd0fc8f4fe
Fix/price calc (#862) 2023-08-19 16:41:35 +08:00
takatost 1c552ff23a
fix: azure embedding model credentials include base_model_name is invalid for openai sdk (#917) 2023-08-19 16:24:18 +08:00
takatost 5163dd38e5
fix: run extra model serval ex not return (#916) 2023-08-19 14:35:16 +08:00
takatost 2a27dad2fb
fix: run model serval ex not return (#915) 2023-08-19 14:16:41 +08:00
takatost 930f74c610
feat: remove unuse envs (#912) 2023-08-18 21:34:28 +08:00
takatost 09ea27f1ee
feat: optimize service api authorization header invalid error (#910) 2023-08-18 20:32:44 +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 d9afebe216
feat: optimize output parse (#906) 2023-08-18 17:00:40 +08:00
takatost 1d9cc5ca05
fix: universal chat when default model invalid (#905) 2023-08-18 16:20:42 +08:00
takatost edb06f6aed
fix: react router agent direct output (#904) 2023-08-18 14:31:20 +08:00
takatost 6ca3bcbcfd
fix: sensitive_word_avoidance npe (#902) 2023-08-18 11:43:56 +08:00
takatost 9adbeadeec
feat: claude paid optimize (#890) 2023-08-17 16:56:20 +08:00
takatost 2f7b234cc5
fix: max token not exist in generate summary when calc rest tokens (#891) 2023-08-17 16:33:32 +08:00
takatost 0cc0b6e052
fix: error raise status code not exist (#888) 2023-08-17 15:33:35 +08:00
takatost f42e7d1a61
feat: add spark v2 support (#885) 2023-08-17 15:08:57 +08:00
takatost c4d759dfba
fix: wenxin error not raise when stream mode (#884) 2023-08-17 13:40:00 +08:00
takatost 39574dcf6b
feat: optimize prompt of suggested_questions_after_answer (#881) 2023-08-17 10:46:33 +08:00
Matri 155a4733f6
Feat/customizable file upload config (#818) 2023-08-16 23:14:27 +08:00
takatost b7c29ea1b6
feat: optimize model when app create (#875) 2023-08-16 22:29:18 +08:00
takatost cc2d71c253
feat: optimize override app model config convert (#874) 2023-08-16 20:48:42 +08:00
takatost 2dfb3e95f6
feat: optimize error record in agent (#869) 2023-08-16 15:55:42 +08:00
Jyong f207e180df
fix multi thread app context (#868)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-16 15:39:31 +08:00
takatost 948d64bbef
fix: get_num_tokens_from_messages params error (#866) 2023-08-16 14:58:44 +08:00
takatost 216fc5d312
feat: bump version 0.3.14 (#861) 2023-08-15 22:46:15 +08:00
takatost 7a8590980e
fix: dataset direct output (#860) 2023-08-15 22:27:31 +08:00
takatost e8c14bb732
feat: rename title in site both rename name in app (#857) 2023-08-15 20:42:32 +08:00
Matri 2c77a74c40
fix: frontend permission check (#784) 2023-08-15 13:35:47 +08:00
takatost 3b8234e486
feat: bump version to 0.3.13 (#830) 2023-08-14 16:36:49 +08:00
takatost cc52cdc2a9
Feat/add free provider apply (#829) 2023-08-14 12:44:35 +08:00
crazywoola 48a303b8e9
Feature/fix disable site (#825) 2023-08-13 17:32:23 +08:00
takatost 8e15ba6cd6
Fix/no trial provider (#823) 2023-08-13 14:56:32 +08:00
takatost 7898937eae
feat: optimize message return (#822) 2023-08-13 13:51:12 +08:00
takatost 1bd0a76a20
feat: optimize error raise (#820) 2023-08-13 00:59:36 +08:00
takatost 2f179d61dc
fix: completion error when dataset was deleted (#819) 2023-08-13 00:25:05 +08:00
conghaoyuan c13a90ee69
only admin and owner can delete app (#810) 2023-08-12 14:18:21 +08:00
takatost f18ce203b5
feat: optimize error logging (#808) 2023-08-12 02:22:43 +08:00
takatost b81b8637ec
feat: temp remove paid option of anthropic (#807) 2023-08-12 01:54:38 +08:00
takatost 55b24c373f
Revert "Fix/disable site when change code" (#805) 2023-08-12 01:38:53 +08:00
takatost 5fa2161b05
feat: server multi models support (#799) 2023-08-12 00:57:00 +08:00
Krasus.Chen d8b712b325
fix bug desc/copyright/privacy_policy none (#796) 2023-08-11 18:21:11 +08:00
Matri 220f7c81e9
build: fix .dockerignore file (#800) 2023-08-11 18:19:44 +08:00
Matri fc7e4ac75b
fix: automatically create tenant for user (#793) 2023-08-11 18:18:11 +08:00
lixiaoyin cc277227ad
fix i is not incremented due to violating the uniqueness constraint w… (#771)
Co-authored-by: 李啸吟 <746963140@qq.com>
2023-08-08 21:19:06 +08:00
crazywoola 3d194787b4
Fix/disable site when change code (#775) 2023-08-08 10:00:00 +08:00
Matri 6242e91a6b
Fix: Install page redirects to signin if Dify finished setup. (#762) 2023-08-07 13:19:47 +08:00
crazywoola cc7b5d128b
fix: doc issue in #757 (#767) 2023-08-07 11:30:39 +08:00
takatost 3b08bf1c6c
feat: add app icon modify route (#760) 2023-08-06 16:21:35 +08:00
takatost 95689ec451
fix: modify app name & icon raise 401 (#759) 2023-08-06 16:11:04 +08:00
舜岳 51554361fc
refactor: Added project name to Docker Compose command (#753) 2023-08-05 21:54:42 +08:00
takatost 491d29cc87
feat: optimize multi platform image build (#754) 2023-08-05 17:23:57 +08:00
takatost 5d783a4922
fix: wrong version tag of base docker image (#739) 2023-08-03 22:22:27 +08:00
Matri dfe10e9dfe
fix: generate_more_like_this function issue (#722) 2023-08-03 11:37:09 +08:00
takatost 654985177f
fix: segment resort in dataset retrieve by index_node_id_to_position (#721) 2023-08-02 21:31:54 +08:00
takatost e18211ffea
feat: fix azure completion choices return empty (#708) 2023-08-01 15:36:53 +08:00
Joel a856ef387b
feat: dashboard add tps chart (#706)
Co-authored-by: John Wang <takatost@gmail.com>
2023-08-01 15:17:20 +08:00
Jyong fa73aa8dbf
add embedding max retries (#699) 2023-07-31 23:28:37 +08:00
takatost 12ecf89a87
feat: fix completion log error (#692) 2023-07-31 15:38:13 +08:00
takatost 0c18cab111
feat: add queue to celery task (#688) 2023-07-31 13:13:08 +08:00
takatost 396197e881
fix: not annotation error in log (#686) 2023-07-31 11:50:35 +08:00
John Wang a4678845dd
feat: bump version to 0.3.12 (#674) 2023-07-29 17:49:35 +08:00
Jyong 174ebb51db
add qa thread control (#677) 2023-07-29 17:49:18 +08:00
John Wang 626c78a690
fix: agent parse result error (#676) 2023-07-29 17:00:38 +08:00
Jyong 9eaae770a6
Feat/add thread control (#675) 2023-07-29 17:00:21 +08:00
Jyong ca60610306
logging qa error (#672) 2023-07-29 01:51:18 +08:00
Jyong 082f8b17ab
Feat/milvus support (#671)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2023-07-28 22:19:39 +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 aae2fb8a30
fix: dataset retrieve npe when dataset desc is null (#669) 2023-07-28 17:40:36 +08:00
John Wang 2adaceab82
feat: bump version to 0.3.11 (#654) 2023-07-27 22:25:32 +08:00
John Wang d979955c8a
feat: optimize current time (#661) 2023-07-27 22:15:07 +08:00
John Wang b5825142d1
feat: add current time tool in universal chat agent (#659) 2023-07-27 17:39:36 +08:00
John Wang 538e3fc256
fix: return message error in blocking mode (#657) 2023-07-27 16:14:45 +08:00
John Wang ba3dc8cae0
feat: fix dataset retrieve agent llm not support error (#656) 2023-07-27 15:45:52 +08:00
John Wang 4fdb37771a
feat: universal chat in explore (#649)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-07-27 13:08:57 +08:00
TheFu527 94b54b7ca9
feat: replace the end user column in the web page Log & Ann. with the… (#653)
Co-authored-by: Hao Fu <hao.fu@helloklarity.com>
2023-07-27 12:48:43 +08:00
crazywoola f9412f5fdb
fix: site enable check (#645) 2023-07-26 11:11:09 +08:00
John Wang e9810a6df2
fix: azure openai embedding model name error (#612) 2023-07-20 13:52:54 +08:00
John Wang cae15013e0
fix: azure openai deployment list was deprecated suddenly (#611) 2023-07-20 13:46:39 +08:00
Jyong 52c84da051
add clean unused dataset command (#609) 2023-07-20 11:08:28 +08:00
Jyong 026f0bfce9
Feat/clean vector dataset (#605) 2023-07-19 21:30:25 +08:00
John Wang b0091452ca
feat: add bash before entrypoint.sh in Dockerfile (#592) 2023-07-18 16:22:34 +08:00
John Wang eff115267f
fix: anthropic completion error in blocking mode (#591) 2023-07-18 15:12:52 +08:00
John Wang 07cde4f8fe
feat: bump 0.3.10 (#589) 2023-07-18 15:04:49 +08:00
Jyong 9f28a48a92
index add to db when dataset updated (#588) 2023-07-18 15:02:33 +08:00
John Wang 0d3cd3b16a
fix: azure provider select error when use custom azure provider (#587) 2023-07-18 14:34:09 +08:00
John Wang 3dc82fb044
feat: remove davinci required model from azure provider (#586) 2023-07-18 14:14:56 +08:00
John Wang e2a5f8ba1a
feat: bump version to 0.3.9 (#574) 2023-07-17 09:47:23 +08:00
John Wang 7599f79a17
feat: claude api support (#572) 2023-07-17 00:14:19 +08:00
Jyong 2c6e00174b
add document limit check (#570) 2023-07-16 13:21:56 +08:00
John Wang 24f3456990
fix: account check in runtime (#569) 2023-07-15 23:58:15 +08:00
John Wang 7f320f9146
feat: bump version to 0.3.8 (#559) 2023-07-14 11:53:15 +08:00
KVOJJJin cd51d3323b
feat: member invitation and activation (#535)
Co-authored-by: John Wang <takatost@gmail.com>
2023-07-14 11:19:26 +08:00
crazywoola 004b3caa43
Feature/add delete to service (#555) 2023-07-14 10:37:33 +08:00
zxhlyh 397a92f2ee
convert audio wav to mp3 (#552) 2023-07-12 17:18:56 +08:00
crazywoola d49ac1e4ac
Feature/use jwt in web (#533)
Co-authored-by: crazywoola <li.zheng@dentsplysirona.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-07-11 15:21:20 +08:00
John Wang 57de19a5ca
feat: bump version to 0.3.7 (#540) 2023-07-10 15:23:38 +08:00
Jyong a93506df18
Fix/dataset clean task (#534) 2023-07-08 17:29:56 +08:00
zxhlyh a03a92e9db
Feat/chat support voice input (#532) 2023-07-07 17:50:42 +08:00
John Wang 6eee7cb42c
feat: fix azure embedding Too many inputs problem (#530) 2023-07-07 11:17:36 +08:00
John Wang ed6648a41e
feat: dataset list add order by created at (#487) 2023-07-05 11:00:21 +08:00
John Wang da04ff040b
fix: remove document from dataset error when vector index npe (#489) 2023-06-29 13:09:22 +08:00
John Wang b9b0866a46
fix: generate summary error when tokens=4097 (#488) 2023-06-29 12:54:50 +08:00
John Wang df68a7c82b
feat: Optimize the quality of the title generate (#484) 2023-06-28 19:59:20 +08:00
John Wang 9d98669e7d
fix: dataset destination error (#477) 2023-06-28 15:51:07 +08:00
John Wang 408fbb0c70
fix: title, summary, suggested questions generate (#476) 2023-06-28 15:43:33 +08:00
crazywoola 998f819b04
use sub to operate all (#475) 2023-06-28 14:58:40 +08:00
John Wang 6194b82752
feat: bump to 0.3.6 (#474) 2023-06-28 14:23:20 +08:00
Jyong 334f46d0b6
Fix/json format (#466) 2023-06-28 13:58:50 +08:00
Jyong 2eea114ac0
fix special code (#473) 2023-06-28 13:58:36 +08:00
crazywoola 97e9ebd29a
Feature/add is deleted to conversations (#470) 2023-06-28 13:31:51 +08:00
Jyong c67ecff3fe
Fix/json format (#465) 2023-06-27 17:15:03 +08:00
John Wang d5b42c09ee
fix: template parse error when history include {{any}} (#463) 2023-06-27 16:35:50 +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 df5763be37
feat: optimize openai error raise (#459) 2023-06-27 12:34:47 +08:00
John Wang cad1532f7c
feat: optimize index_struct copy (#442) 2023-06-25 17:52:22 +08:00
John Wang 951afcaaed
feat: optimize weaviate error msg (#441) 2023-06-25 17:05:56 +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 742bad93b5
feat: bump version to 0.3.5 (#433) 2023-06-21 16:18:41 +08:00
lisaifei@cvte.com 23ef2262bd
fix: filter empty value in xlsx to improve vector similarity hit (#422) 2023-06-21 11:25:52 +08:00
John Wang 8b39e48957
fix REDIS_USERNAME format (#414) 2023-06-19 22:14:47 +08:00
Jyong 36dc05c4da
fix chinese encoding (#411) 2023-06-19 18:41:17 +08:00
John Wang 54f3bbbf47
feat: bump version to 0.3.4 (#406) 2023-06-19 16:44:48 +08:00
Jyong ce2996e7d4
Fix/dataset init (#409) 2023-06-19 16:32:03 +08:00
crazywoola 82d07ed2a8
doc: add annaconda info (#402) 2023-06-19 11:09:40 +08:00
Jyong 226f28edcb
Feature/self host notion import (#397) 2023-06-17 19:50:21 +08:00
Jyong b08c19d926
fix encoding is none (#394) 2023-06-17 15:21:48 +08:00
Jyong 9253f72dea
Feat/dataset notion import (#392)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2023-06-16 21:47:51 +08:00
Jyong f350948bde
Fix the issue of decoding a non-UTF-8 encoded file using UTF-8 (#389) 2023-06-16 14:23:03 +08:00
Columbus eeb2c28526
Fix the issue of decoding a non-UTF-8 encoded file using UTF-8 encodi… (#378) 2023-06-16 14:12:07 +08:00
John Wang 7552a6be36
feat: add last active at for accounts (#375) 2023-06-15 13:59:36 +08:00
John Wang a66ef7210b
feat: bump version to 0.3.3 (#359) 2023-06-14 12:17:56 +08:00
John Wang 184afa69ff
feat: add gpt-3.5-turbo-16k support and update openai gpt-3.5-turbo & Embedding Ada v2 unit price (#358) 2023-06-14 12:17:43 +08:00
John Wang ab115b5f87
fix: completion stop invalid (#355) 2023-06-13 17:47:42 +08:00
John Wang a11f36ca60
fix: stop completion response not save to db (#351) 2023-06-13 15:47:58 +08:00
John Wang cd136fb293
feat: add WEAVIATE_BATCH_SIZE (#349) 2023-06-13 14:49:40 +08:00
John Wang 6a3ab36101
feat: optimize weaviate batch size (#348) 2023-06-13 11:28:15 +08:00
John Wang 1af968e73a
feat: optimize api language support (#344) 2023-06-13 10:06:49 +08:00
Jyong 3d14431b96
Fix/excel data format (#334) 2023-06-09 20:21:11 +08:00
John Wang 2ba0ee989a
feat: bump version to 0.3.2 (#330) 2023-06-09 16:25:26 +08:00
Columbus 5943385d42
Fix: the bug that allows regular users to add unregistered users to the workspace. (#328) 2023-06-09 16:07:53 +08:00
lisaifei@cvte.com 0abd67288b
feat: support xlsx file parsing (#304)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2023-06-09 15:57:19 +08:00
John Wang 6123bba96d
feat: add reset-encrypt-key-pair cmd for self hosted mode (#325) 2023-06-09 11:36:38 +08:00
杨睿 20899c44ff
fix: segment search by keyword (#303) 2023-06-07 00:45:25 +08:00
Jyong 35a2beb195
delete segment not commit (#309) 2023-06-06 23:16:51 +08:00
Jyong 2bf48514bc
fix markdown parser (#230) 2023-06-06 19:51:40 +08:00
John Wang a3ee037d6d
feat: optimize output parse failed error (#298) 2023-06-05 11:23:51 +08:00
John Wang 19b5cb1e10
feat: fix json end with `` (#285) 2023-06-02 17:34:24 +08:00
John Wang 2478c88e07
feat: increase dataset description length to 400 (#283) 2023-06-02 14:03:18 +08:00
KVOJJJin c67f626b66
Feat: Support re-segmentation (#114)
Co-authored-by: John Wang <takatost@gmail.com>
Co-authored-by: Jyong <718720800@qq.com>
Co-authored-by: 金伟强 <iamjoel007@gmail.com>
2023-06-01 23:19:36 +08:00
John Wang 490858a4d5
feat: auto rule generator (#273) 2023-05-31 22:03:15 +08:00
John Wang 44a1aa5e44
fix: dataset_tool npe (#274) 2023-05-31 17:16:27 +08:00
John Wang ae94b067b3
feat: new stats (#265) 2023-05-31 11:20:24 +08:00
John Wang 75f7a96025
feat: ignore validate failed error log (#256) 2023-05-30 12:25:42 +08:00
John Wang ccd80653ff
fix: query empty not allow (#255) 2023-05-30 12:24:51 +08:00
John Wang 5ca88a4fd9
fix: raw json parse in llm router chain (#254) 2023-05-30 12:16:45 +08:00
John Wang a1c6cecf10
feat: bump to 0.3.1 (#253) 2023-05-30 11:31:22 +08:00
John Wang bb7f454ecd
fix: dataset desc npe (#246) 2023-05-29 19:56:36 +08:00
John Wang 7f48fadd41
fix: prompt template parantheses select error (#244) 2023-05-29 19:10:31 +08:00
John Wang af2138e8b8
fix: json parse in router chain output (#243) 2023-05-29 18:25:01 +08:00
John Wang 88545184be
feat: support multi datasets router chain mode (#231) 2023-05-28 22:44:54 +08:00
John Wang 2c23caacd4
fix: introduction key error (#221) 2023-05-26 20:49:38 +08:00
John Wang 1a5acf43aa
Fix/shared lock (#210) 2023-05-25 21:31:11 +08:00
John Wang 4ef6392de5
feat: bump version to 0.3.0 (#207) 2023-05-25 20:48:47 +08:00
John Wang 023783372e
feat: explore support multi language (#202) 2023-05-25 18:53:28 +08:00
John Wang b6cca59517
fix: update recommend app params error (#197) 2023-05-25 16:01:41 +08:00
John Wang 93ae18ea12
Feat: explore apps (#196) 2023-05-25 15:54:45 +08:00
John Wang d93365d429
fix: azure embedding not support batch (#188) 2023-05-24 18:55:07 +08:00
Jyong e2bf18053c
Fix/dateset update rule (#177) 2023-05-23 22:54:59 +08:00
John Wang 4350bb9a00
Fix/human in answer (#174) 2023-05-23 19:54:04 +08:00
John Wang fe688b505a
feat: support disable version check (#173) 2023-05-23 17:34:48 +08:00
John Wang 056898bf21
fix: quota update error on azure openai (#172) 2023-05-23 16:16:22 +08:00
John Wang 6da5e54180
Feat/open azure validate (#163) 2023-05-23 14:16:26 +08:00
John Wang f3219ff107
fix: template string in template error (#162) 2023-05-23 13:16:33 +08:00
John Wang 219011b62a
fix: disable template string in query (#160) 2023-05-23 12:57:26 +08:00
John Wang 90150a6ca9
Feat/optimize chat prompt (#158) 2023-05-23 12:26:28 +08:00
Yuhao 7722a7c5cd
fix: bootstrap env (#127)
Co-authored-by: yuhao1118 <yuhao1118@bytedance.net>
2023-05-23 10:48:03 +08:00
John Wang 9a5ae9f51f
Feat: optimize error desc (#152) 2023-05-22 17:39:28 +08:00
John Wang 54a6571462
fix: extra input for opening statement was not suitable for prompt (#143) 2023-05-22 14:32:22 +08:00
Joel 17a8118154
fix: email reg (#135) 2023-05-22 10:39:51 +08:00
Yuanyuan Zhang d8425f3f4c
Fix the email validation problem for a.b@c.club. (#94)
Co-authored-by: yyzhang <yuanyuan.zhang@haochezhu.club>
2023-05-22 10:08:26 +08:00
John Wang b42cd38cc9
fix: internal error when user is none in service api call (#129) 2023-05-21 17:29:47 +08:00
John Wang e8e8f9e97d
Fix: move pre prompt to user massasge in chat mode (#126) 2023-05-21 17:06:04 +08:00
John Wang 1b6e3ef964
Feat: optimize inner prompt (#121) 2023-05-21 11:29:10 +08:00
John Wang e8239ae631
feat: add celery document (#118) 2023-05-20 21:26:07 +08:00
John Wang 8fc2663693
fix: weaviate batch insert timeout (#108) 2023-05-19 21:57:32 +08:00
John Wang f68b05d5ec
Feat: support azure openai for temporary (#101) 2023-05-19 13:24:45 +08:00
killpanda c6ba67a770
add a config to disable provider config validation (#85) 2023-05-18 08:25:37 +08:00
Yuhao f8eefa31fe
feat: add redis ssl support (#65) 2023-05-17 15:40:21 +08:00
John Wang 0587ff0fba
fix: remove empty segment in splitter (#68) 2023-05-17 15:02:58 +08:00
John Wang a4713c01d5
fix: remove v1 in app_base_url (#55) 2023-05-16 22:41:45 +08:00
John Wang 8847bb1e45
Feat/optimize install wildcard support (#53) 2023-05-16 22:01:29 +08:00
John Wang d680fca996
fix: provider_response_latency type error (#45) 2023-05-16 16:51:39 +08:00
John Wang 815f794eef
feat: optimize split rule when use custom split segment identifier (#35) 2023-05-16 12:57:25 +08:00
John Wang f5b2271c8c
fix: import wrong user (#32) 2023-05-15 23:30:58 +08:00
John Wang 2e1cd3db28
fix: uuid-ossp extension create failed in pgsql (#10) 2023-05-15 12:03:08 +08:00
John Wang db896255d6 Initial commit 2023-05-15 08:51:32 +08:00