Commit Graph

800 Commits

Author SHA1 Message Date
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