Releases: langgenius/dify
v0.5.7
New Features
- Added
Mistral AI
model provider. #2594 - Added Vector Database migrate tool, see below. #2562
- Added
response format
(JSON/XML) forgoogle
,anthropic
,openai
,wenxin
,chatglm
,tongyi
LLMs. #2563 - Refactor RAG(knowledge) module, remove dependency on langchain to increase scalability and flexibility. #2528
- Agent App utilizing an LLM with ReACT mode (not support function calling), supports streaming output. #2498
- Added DuckDuckGo Search Tool for Enhanced Privacy-Focused Search Functionality by @Yash-1511 #2499
Vector Database Migrate Tool
When you want to switch to another vector database, you can deactivate or delete the original vector database after switching.
How to use
Step:
- If you are starting from local source code, modify the environment variable in the
.env
file to the vector database you want to migrate to.
For example:
VECTOR_STORE=qdrant
- If you are starting from
docker compose
, modify the environment variable in thedocker-compose.yaml
file to the vector database you want to migrate to, both api and worker are all needed.
For example:
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
VECTOR_STORE: qdrant
- run the below command in your terminal or docker container
flask vdb-migrarte
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS,
ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ. -
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- Windows local deployment switch "tool“ interface failed by @kukuze in #2483
- fix: chat restart by @zxhlyh in #2488
- fix: code-based extension by @zxhlyh in #2490
- fix: incorrect tool name by @Yeuoly in #2489
- fix: audio to text by @zxhlyh in #2493
- del doc support by @JohnJyong in #2494
- Add default values for optional parameters in API tool and parser by @Yeuoly in #2491
- doc: typo in chat by @crazywoola in #2492
- feat: increase max tools by @Yeuoly in #2497
- Refactor agent history organization and initialization of agent scrat… by @Yeuoly in #2495
- Chore/delete chunk decode error alert by @guchenhe in #2500
- FEAT: Add DuckDuckGo Search Tool for Enhanced Privacy-Focused Search Functionality by @Yash-1511 in #2499
- Feat/stream react by @Yeuoly in #2498
- fix: api doc example error by @iamjoel in #2505
- update issue template by @crazywoola in #2507
- fix: config not exists by @crazywoola in #2513
- Fix #2512 by @crazywoola in #2515
- fix: bing search response filter by @Yeuoly in #2519
- Voice audition by @charli117 in #2504
- Fix/upload limit by @JohnJyong in #2521
- Feat/dify rag by @JohnJyong in #2528
- fix: update current tenant id of account when switching tenant by @bowenliang123 in #2530
- Fix/tool default value by @Yeuoly in #2536
- fix: tolerate exceptions in cleaning up index when vector db service unavailable by @bowenliang123 in #2533
- chore: add api key and value placeholder by @iamjoel in #2538
- Fix/langchain document schema by @JohnJyong in #2539
- Feat/i18n restructure by @crazywoola in #2529
- fix dev/reformat by @JohnJyong in #2542
- fix: webapp name by @zxhlyh in #2543
- Feat/openai llm trial paid config by @GarfieldDai in #2545
- feat: openai llm get trial or paid models from config. by @GarfieldDai in #2546
- Fix/new RAG bugs by @JohnJyong in #2547
- Update README_CN.md by @takatost in #2550
- feat: change max_question_num to 5 by @wststone in #2520
- Feat/use searchparams as state by @wststone in #2554
- Feat/vdb migrate command by @JohnJyong in #2562
- Feat/json mode by @Yeuoly in #2563
- fix typo in error message of supported keyword store by @bowenliang123 in #2560
- chore: remove redundant casting flask app config into dict by @bowenliang123 in #2564
- Add Dify Meetup Event on Mar 9 by @crazywoola in #2566
- fix weaviate delete_by_ids by @bowenliang123 in #2565
- Fix some RAG bugs by @JohnJyong in #2570
- fix: notion binding by @zxhlyh in #2572
- fix mivlus delete by ids error by @JohnJyong in #2573
- enhancement: improve client-side code by @wststone in #2568
- fix: parameter type handling in API tool and parser by @Yeuoly in #2574
- Fix/hit test tsne issue by @JohnJyong in #2581
- fix: correct the parent class of CacheEmbedding by @bowenliang123 in #2578
- fix: convert tool messages into user messages in react mode and fill … by @Yeuoly in #2584
- enhancement: skip fetching to improve user experience when switching … by @wststone in #2580
- Fix 500 error when creating from the template and the provider is None by @crazywoola in #2591
- feat:add mistral ai by @joshua20231026 in #2594
- fix: parameter
user
exceeded max length when invoking moonshot llm by @takatost in #2596 - Feat/provider mistralai by @joshua20231026 in #2598
- doc: props.appDetail.api_base_url by @crazywoola in #2597
- fix props.appDetail.api_base_url /v1 repeat error by @xiangpingjiang in #2601
- Fix/2559 upload powered by brand image not showing up by @crazywoola in #2602
- Fix: explore apps is not shown by @crazywoola in #2604
- fix: missing default user for APP service api by @takatost in #2606
- fix: AppParameterApi.get() got an unexpected keyword argument 'end_user' by @takatost in #2607
- fix: notion extractor raise 'NoneType' object has no attribute 'curre… by @takatost in #2608
- Fix: default button behavior by @crazywoola in #2609
- version to 0.5.7 by @takatost in #2610
New Contributors
- @kukuze made their first contribution in #2483
- @wststone made their first contribution in #2520
- @xiangpingjiang made their first contribution in #2601
Full Changelog: 0.5.6...0.5.7
v0.5.6
- Added voice choose for TTS in App. Thanks @charli117!
- Fix some problems.
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS,
ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ. -
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- Update SMTP environment variable name in docker-compose by @igorvolocRC in #2444
- feat: add
introduction
field in log detail response of chat app by @takatost in #2445 - fix: baichuan frequency_penalty by @Yeuoly in #2446
- tts add voice choose by @charli117 in #2391
- Create pull_request_template.md by @takatost in #2449
- Update pull_request_template.md by @takatost in #2451
- fix: tts voice language to zh-Hans instead of zh-CN by @takatost in #2450
- Tts add voice choose by @charli117 in #2452
- Tts add voice choose by @charli117 in #2453
- Ignore SSE comments to support openrouter streaming by @johnpccd in #2432
- Feature/display selected info for tts by @crazywoola in #2454
- Display selected tts voice name by @charli117 in #2459
- fix: windows load provider file error by @wjryours in #2463
- Chore: Add type files and unit test ci for Node.js SDK by @Tseian in #2268
- fix: hybrid search may pass rerank enable false by @iamjoel in #2467
- fix: Add model_uid validation for model_uid in Xinference models by @Yeuoly in #2468
- fix: credential verification of baichuan did not throw all errors by @takatost in #2475
- feat: added Ukrainian language support by @holyCowMp3 in #2473
- FEAT: add image styling in markdown by @Yash-1511 in #2441
- fix: event handlers not registered globally by @takatost in #2479
- remove: parameters in seeds by @crazywoola in #2481
- bump version to 0.5.6 by @takatost in #2482
New Contributors
- @igorvolocRC made their first contribution in #2444
- @johnpccd made their first contribution in #2432
- @wjryours made their first contribution in #2463
- @Tseian made their first contribution in #2268
- @holyCowMp3 made their first contribution in #2473
Full Changelog: 0.5.5...0.5.6
v0.5.5
- Adding SMTP method for sending emails. Thanks @jonahcui!
- Fix some problems.
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS,
ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ. -
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- fix: api based extension modal title by @zxhlyh in #2414
- fix: typo in package path of core.splitter by @crazywoola in #2411
- fix: studio/api doc by @wlbksy in #2415
- chore: apply F811 linter rule to eliminate redefined imports and methods by @bowenliang123 in #2412
- feat: add support for smtp when send email by @jonahcui in #2409
- fix: chat agent mode content copy by @zxhlyh in #2418
- chore: apply ruff's pyflakes linter rules by @bowenliang123 in #2420
- clean: remove no-use ecc_aes.py by @takatost in #2426
- fix: possible unsent function call in the last chunk of streaming response in OpenAI provider by @bowenliang123 in #2422
- chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version by @bowenliang123 in #2419
- fix: List not found in account service by @takatost in #2434
- fix recreating users' default tenant relations when loading user by @bowenliang123 in #2408
- fix: account has no owner workspace by member inviting by @takatost in #2435
- pref: optimize add hit count query performance when dataset hit by @takatost in #2436
- Fix tool provider credential caching issue by @Yeuoly in #2433
- fix: variable in opener by @zxhlyh in #2437
- version to 0.5.5 by @takatost in #2440
New Contributors
Full Changelog: 0.5.4...0.5.5
v0.5.4
- GPT-3.5-Turbo-0125 Integration
- Moonshot LLM Integration
- Add Bing Search Tool
- Add Built-in Maths Tool, a tool for evaluating an math expression, calculated locally with NumExpr.
- Enhanced Custom Tool Response Visibility, which allows users to view detailed custom API responses during testing, facilitating better debugging and integration.
- Fix some problems
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS,
ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ. -
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- feat:add gpt-3.5-turbo-0125 by @leslie2046 in #2347
- Refactor error handling in GenerateTaskPipeline class by @limboinf in #2345
- fix [baichuan] Error: argument of type 'NoneType' is not iterable by @baiyansong in #2351
- Feat/move tenant id into db by @crazywoola in #2341
- fix: frontend security risk by @iamjoel in #2355
- add gpt-3.5-turbo-0125 to trail llm list by @takatost in #2354
- fix: unsafe external link by @iamjoel in #2356
- fix: input not set min or max null value blur would set null by @iamjoel in #2361
- fix: switch tenant by @crazywoola in #2363
- chore: replace chat in web app by @zxhlyh in #2373
- fix: webapp stop chat & citation by @zxhlyh in #2376
- fix variable invalid when key only one character by @takatost in #2377
- fix: webapp language by @zxhlyh in #2378
- feat: bing search by @Yeuoly in #2375
- fix: bad xinference error by @Yeuoly in #2384
- Feat/add bing search by @Yeuoly in #2379
- feat: tool credentials cache and introduce _position.yaml by @Yeuoly in #2386
- chore: enchange pic uploading tip by @zxhlyh in #2388
- fix: knowledge doc by @zxhlyh in #2389
- feat: add openai paid llm model. by @GarfieldDai in #2392
- fix: error stop response api url in text generation and uniform url by @iamjoel in #2394
- chore: show credit help link by @iamjoel in #2393
- fix: missing variables in agent prompt by @Yeuoly in #2395
- fix:add translation for dataset knowledge and update document title by @BenjaminX in #2396
- add built-in maths tool for local expression evaluation on NumExpr by @bowenliang123 in #2390
- Feat/show detailed custom api response when testing by @Yeuoly in #2400
- feat: add moonshot support by @jialeicui in #2398
- fix:update document title in Apps component by @BenjaminX in #2404
- fix: error type get wrong by @takatost in #2403
- enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check by @bowenliang123 in #2366
- fix: webapp variable input & app unavailable status by @zxhlyh in #2405
- fix: moonshot context size error by @takatost in #2406
- version to 0.5.4 by @takatost in #2407
New Contributors
- @limboinf made their first contribution in #2345
- @baiyansong made their first contribution in #2351
- @jialeicui made their first contribution in #2398
Full Changelog: 0.5.3...0.5.4
v0.5.3
- Support function calling for more models (Azure OpenAI, xinference, ZhipuAI, Minimax)
- Fix some problems
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS,
ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ. -
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- fix: occasional multiple responses displayed in frontend due to unexpected message_id from onData by @rickythink in #2231
- feat: prompt IDE support change height by @iamjoel in #2232
- Fix/update broken doc links by @guchenhe in #2187
- Maintenance notice href by @charli117 in #2228
- fix:Bedrock llm issue #2214 by @glayyiyi in #2215
- chore: move register ga to signin page by @iamjoel in #2233
- fix: register ga id error by @iamjoel in #2237
- fix: vision config by @zxhlyh in #2235
- feat: team admin can pay billing by @iamjoel in #2240
- Feat/billing enhancement by @GarfieldDai in #2239
- Maintenance notice href by @charli117 in #2234
- fix: Resolved the issue of duplicate display of supported file types during text file upload by @huangbaichao in #2241
- fix typo by @guchenhe in #2248
- fix: remove invalid parameter return_type by @crazywoola in #2253
- fix: user handling in stop api by @takatost in #2254
- Bugfix/invitemailmultilangs by @BenjaminX in #2257
- update qdrant migrate command by @JohnJyong in #2260
- fix: initial paragraph can not input more than 48 chars by @crazywoola in #2258
- fix: stop generate api doc error by @iamjoel in #2262
- chore: change expert mode the same line height as automatic by @iamjoel in #2263
- feat: Nodejs sdk support auto rename conversation api by @iamjoel in #2265
- chore: update price page by @iamjoel in #2272
- Feat/utm update by @GarfieldDai in #2269
- fix: missing keys language in parser by @crazywoola in #2271
- use pm2 to guard and monitor the web service in docker file by @bowenliang123 in #2238
- fix: remove finish_reason condition logic when deltaContent is empty by @geosmart in #2270
- fix: typo of builtin tools by @bowenliang123 in #2275
- Add custom tools by @charli117 in #2259
- Feat/add azure dalle tool by @leslie2046 in #2276
- fix: setting default model to gpt-3.5-turbo-1106 and remove default m… by @Yeuoly in #2274
- bump flask from 2.3 to 3.0 by @bowenliang123 in #2279
- feat: some unused command-line tasks were removed. by @takatost in #2281
- chore: handle app name and options too long by @iamjoel in #2283
- feat: optimize tool name by @takatost in #2284
- Feat/blocking function call by @Yeuoly in #2247
- feat: file icon support doc and docx by @iamjoel in #2289
- fix: multiple model configuration clear conversation by rerender by @zxhlyh in #2286
- fix: missing files by @iamjoel in #2291
- Add custom tools by @charli117 in #2292
- remove repositories tool by @Yeuoly in #2293
- fix: missing prompt by @Yeuoly in #2294
- fix: keep original tool credentials by @Yeuoly in #2288
- Add custom tools by @charli117 in #2299
- Feat: Add Top bar while routing different different pages by @Yash-1511 in #2298
- fix: api tool encoding by @Yeuoly in #2296
- chore:azure dalle tool support pt-BR text by @leslie2046 in #2301
- feat: recommended apps list support sort by position by @iamjoel in #2303
- feat: ui improvements for Portuguese by @crazywoola in #2304
- Fix/typos by @rickythink in #2308
- fix: next public edition default value by @zxhlyh in #2310
- fix: invalid server tool url caused crash by @iamjoel in #2311
- chore: detect is function calling from model config by @iamjoel in #2312
- remove unused session store codes by @takatost in #2313
- Feat/add spark3.5 llm by @leslie2046 in #2314
- Change ZHIPU_MAX_LIMITS to 5. Fix issue 2323 by @orangeclk in #2324
- Fix/api tool by @Yeuoly in #2317
- Optimization stable diffusion verify by @charli117 in #2322
- revert: remove unused session store codes by @takatost in #2329
- fix: typo by @Yeuoly in #2318
- fix: empty model features by @Yeuoly in #2330
- feat: add sd model parameter by @Yeuoly in #2331
- fix: check empty tool provider credentials by @Yeuoly in #2332
- add option to prompt for a validation password when initializing admin user by @guchenhe in #2302
- fix: first agent latency by @Yeuoly in #2334
- Feat/current time tool zone by @Yeuoly in #2337
- feat: add xinference llm context size by @Yeuoly in #2336
- fix: ignore spark provider credential validate by @takatost in #2344
- chore(web): strong typing by @JunIce in #2339
- bump version to 0.5.3 by @takatost in #2306
New Contributors
- @glayyiyi made their first contribution in #2215
- @huangbaichao made their first contribution in #2241
- @leslie2046 made their first contribution in #2276
- @Yash-1511 made their first contribution in #2298
- @orangeclk made their first contribution in #2324
Full Changelog: 0.5.2...0.5.3
v0.5.2
- Add OpenAI
gpt-4-turbo-preview
,gpt-4-0125-preview
,text-embedding-3-large
,text-embedding-3-small
Models - Chunk overlap supported in Knowledge
- Fix some problems
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS,
ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ. -
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- Add new OpenAI embedding models by @guchenhe in #2217
- fix: remove and create app not reload plan by @iamjoel in #2220
- fix: tts model tip by @ashening in #2221
- fix: multiple rows were found correctly by @crazywoola in #2219
- chore: no custom tool placeholder ui by @iamjoel in #2222
- Update EditCustomCollectionModal button styling for Chinese by @BenjaminX in #2225
- Maintenance notice href by @charli117 in #2227
- Feat: chunk overlap supported by @JzoNgKVO in #2209
- add openai gpt-4-0125-preview by @Yeuoly in #2226
- version to 0.5.2 by @takatost in #2230
New Contributors
Full Changelog: 0.5.1...0.5.2
v0.5.1
-
add multiple LLM debug mode ⚔️
-
let citation show on webapp
-
add tongyi tts
-
minimax abab6-chat LLM supported
-
support Annotations output
-
openai_api_compatible support config stream_mode_delimiter
-
fix some problems
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS,
ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ. -
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- fix: transcript asr params wrong by @takatost in #2162
- let citation show on webapp by @guchenhe in #2161
- fix: empty usage by @Yeuoly in #2168
- bump alpine from 3.18 to 3.19 in web image by @bowenliang123 in #2126
- fix: credentials validate compatible problem by @takatost in #2170
- fix: knowledge api doc by @zxhlyh in #2174
- fix: filename cause windows import error by @crazywoola in #2176
- feat: utm supports. by @GarfieldDai in #2181
- chore: utm by @zxhlyh in #2180
- feat: add tool labels by @Yeuoly in #2178
- refine: faster rsa implement by @Yeuoly in #2182
- Add tongyi tts&tts function optimization by @charli117 in #2177
- fix: credentials validation of ababa by @Yeuoly in #2183
- feat: abab6-chat supported by @takatost in #2184
- fix: minimax request timeout by @takatost in #2185
- Doc/update readme by @crazywoola in #2186
- Add tts document&fix bug by @charli117 in #2156
- fix: utm by @zxhlyh in #2191
- chore: remove universal chat code by @iamjoel in #2194
- Support JSONL output by @JzoNgKVO in #2171
- feat: multiple model configuration by @zxhlyh in #2196
- improve api docker file and lock Debian version in base image tag by @bowenliang123 in #2195
- fix: split chunks return empty strings by @takatost in #2197
- skip installing python3-dev package on base stage in api docker image by @bowenliang123 in #2193
- fix: chatbot support agent by @iamjoel in #2201
- fix: typing delay by @zxhlyh in #2200
- chore: test register ga by @iamjoel in #2202
- Feat/zhipuai function calling by @Yeuoly in #2199
- chore: enchance some use experience by @iamjoel in #2204
- feat: create app show agent type tip by @iamjoel in #2207
- fix: model parameter modal input by @zxhlyh in #2206
- fix: sometimes app main content not fill the window by @iamjoel in #2208
- fix:determine multiple result exceptions caused by admin by @IAMZn1018 in #2211
- Update version to 0.5.1 by @takatost in #2213
- feat: openai_api_compatible support config stream_mode_delimiter by @geosmart in #2190
- Add gmpy2 dependencies packages by @takatost in #2216
New Contributors
- @IAMZn1018 made their first contribution in #2211
- @geosmart made their first contribution in #2190
Full Changelog: 0.5.0...0.5.1
v0.5.0
🎉🎉 Dify Version 0.5 Release Notes
We're excited to announce the release of Dify Version 0.5. This update introduces several major enhancements, including the integration of Agent mode, the implementation of text-to-speech (TTS) capabilities, and the introduction of the AWS Bedrock model provider. Additionally, we have incorporated GLM3/GLM4 models and Portuguese language support. Read on for more details 👇
What's New
Agent Mode Integration
The Assistant App (previously known as the Chat App) now features an Agent mode, providing access to 12 built-in tools including DALL-E, Stable Diffusion, WebScraper, WolframAlpha, Dify Knowledge, and more.
The integration of Agent reasoning and tool outputs with the Assistant's replies offers a fluid, intuitive user experience.
logo.design.final.mp4
Our expansion into text-to-image capabilities marks a significant step in our multimodal journey. This includes a shared file variable pool, facilitating image-to-image and image-to-text functionality across all tools.
Custom tool integration is now more accessible through:
-
APIs: OpenAI/Swagger and ChatGPT Plugin spec files are supported, with a UI form for API specification in development.
-
Extensions: A guide is provided for users to contribute their own tool business logic.
Additional Updates:
-
The "Build App" has been renamed "Studio", and the "Chat App" is now the "Assistant". Choose between "Basic Assistant" or "Agent Assistant" in the Assistant den.
-
"API Based Extension", previously under the Assistant, is now in the "Variables" module.
-
For ease of use, "Tools" has been relocated to the main product menu, centralizing customization, authorization, and management.
-
With the release of the Agent Assistant, the experimental feature 'Universal Chat in Explorer' has completed its mission! Now, you can directly create an Agent Assistant to achieve the same functions.
TTS Capabilities
Thanks to @charli117, new TTS models are now supported. Our model provider includes an interface for the OpenAI TTS model, and we welcome contributions to our TTS scheme here.
TTS features are available in-app under "Add Feature".
Easily convert text to speech playback.
Note: To use TTS, ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ.
Additional Enhancements
We've introduced the AWS Bedrock model provider and expanded GLM3/GLM4 model support. Plus, Dify now supports Portuguese, broadening our language capabilities.
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS, ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ.
- Finally, run API server, Worker and Web frontend Server again.
Change Log
- fix: arg missing when call method
on_message_replace_func
in output… by @takatost in #2106 - fix: empty keywords moderation. by @GarfieldDai in #2108
- chore: enchance view billing text by @iamjoel in #2109
- feat: support legacy doc by @crazywoola in #2100
- feat: support re-invite email. by @GarfieldDai in #2107
- Init azure openai show quota by @charli117 in #2096
- fix: invite email template languages constant var by @BenjaminX in #2111
- Fix/2102 long dify app description throws backend exception by @crazywoola in #2112
- Feat/2070 glm 4 and glm 3 turbo by @crazywoola in #2114
- feat: add cohere llm and embedding by @takatost in #2115
- Add bedrock by @guchenhe in #2119
- feat: support GLM-4V by @Yeuoly in #2124
- feat: bedrock reorder in provider list by @takatost in #2121
- fix: recipt info by @zxhlyh in #2123
- fix: bump lamejs from 1.2.0 to 1.2.1 by @bowenliang123 in #2122
- fix annotation reply by @JohnJyong in #2127
- fix: model-parameter-modal slider by @zxhlyh in #2135
- feat: support assistant frontend by @iamjoel in #2139
- Feat/assistant app by @Yeuoly in #2086
- feat: remove universal chat app by @takatost in #2140
- fix: agent strategy by @Yeuoly in #2141
- Feat/portuguese support by @crazywoola in #2075
- fix: None type in cot assistant app by @Yeuoly in #2142
- Fix/assistant none type by @Yeuoly in #2143
- Fix/assistant none type by @Yeuoly in #2145
- tts models support by @charli117 in #2033
- feat: add ffmpeg faq link in missing ffmpeg error by @takatost in #2146
- Fix/language support by @crazywoola in #2154
- refractor: assistant runner rename by @rickythink in #2150
- fix: Fix typo in credentials field name by @Yeuoly in #2155
- fix: add tool index by @Yeuoly in #2152
- Refactor: CoT runner by @Yeuoly in #2157
- fix: embeded chat app input by @zxhlyh in #2159
- fix: explore app add to workspace by @zxhlyh in #2160
- version to 0.5.0. by @takatost in #2147
Full Changelog: 0.4.9...0.5.0
v0.4.9
- Fix some bugs
Notice
As per the planned schedule, these deprecated envs are being removed:
CONSOLE_URL
: Replace withCONSOLE_API_URL
andCONSOLE_WEB_URL
.APP_URL
: Replace withAPP_API_URL
andAPP_WEB_URL
.API_URL
: Replace withSERVICE_API_URL
.
More details: https://docs.dify.ai/getting-started/install-self-hosted/environments#console_api_url
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
-
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- feat: remove deprecated envs by @takatost in #2078
- fix: version by @takatost in #2083
- bump default NodeJS version to 20 LTS by @bowenliang123 in #2061
- use redis to cache embeddings by @JohnJyong in #2085
- fix notion estimate by @JohnJyong in #2090
- fix: bypass admin users to use dataset api with API key by @bowenliang123 in #2072
- add feature request copilot by @guchenhe in #2095
- fix: yarn install command in web Dockerfile by @bowenliang123 in #2084
- Add jina-embeddings-v2-base-de model configuration by @joshua20231026 in #2094
- fix: saving error in empty dataset by @crazywoola in #2098
- support setting timezone in docker images by @bowenliang123 in #2091
- fix: skip linking /etc/localtime file first in api docker image by @bowenliang123 in #2099
- delete document cache embedding by @JohnJyong in #2101
- bump version to 0.4.9 by @takatost in #2103
Full Changelog: 0.4.8...0.4.9
v0.4.8
- Jina AI
jina-embeddings-v2-base-zh
model supported. - Minimax
abab5.5s-chat
model supported. - App OpenAPI add LLM usage return
- Fix some problems.
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
-
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- fix qdrant tag in docker-compose.yaml by @takatost in #2047
- fix: dataset sidebar by @zxhlyh in #2048
- Add jina-embeddings-v2-base-zh model configuration by @rickythink in #2049
- fix multi-dataset retrieve score limit by @JohnJyong in #2050
- timeout parameter error by @JohnJyong in #2052
- Update contribution guide by @guchenhe in #2053
- fix indentation & move contact into community section by @guchenhe in #2055
- Update README.md by @crazywoola in #2058
- fix: add sharp package to fix sharp-missing-in-production warning by @bowenliang123 in #2060
- Fix aspect ratio of buttons in readme by @guchenhe in #2062
- feat: add abab5.5s-chat by @crazywoola in #2063
- fix: free quota type apply button missing by @takatost in #2069
- fix: azure customize model name duplicate by @takatost in #2073
- feat: service api add llm usage by @takatost in #2051
- bump version to 0.4.8 by @takatost in #2074
Full Changelog: 0.4.7...0.4.8