Releases: langgenius/dify
v0.6.0-preview-workflow.1
Important Notice
This version is a preview release intended for feature workflow internal testing only. It is not a formal release. Please proceed with caution before upgrading.
TL;DR
- Introduced two new App types:
Chatflow
andWorkflow
. - The creation entry for the Chatbot Expert Mode has been removed, with support provided for migration to Chatflow apps.
- Chatbots can now be migrated to Chatflow apps, and Text Generation apps can be migrated to Workflow apps.
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the
feat/workflow
branch:git fetch --tags git checkout 0.6.0-preview-workflow.1
-
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
feat/workflow
branch:git fetch --tags git checkout 0.6.0-preview-workflow.1
-
Update Python dependencies:
cd api pip install -r requirements.txt
-
Then, let's run the migration script:
flask db upgrade
-
Finally, run API server, Worker and Web frontend Server again.
v0.5.10
New Features
- Added Anthripic
claude-3-haiku-20240307
by @lroolle #2825 - Added weekday calculator in time tool by @bowenliang123 in #2822
- Added model provider
01.ai
, yi-chat-34b series by @soulteary in #2865 - Added Embedding models for the Aliyun dashscope
text-embedding-v1
andtext-embedding-v2
by @Onelevenvy in #2874 - Added tools for open weather search and image generation using the Spark API. by @Onelevenvy in #2845
- Added AWS Bedrock Claude3 by @soulteary in #2864
- Added support Azure OpenAI llm
0125
version by @leslie2046 in #2889 - Added
NVIDIA
model provider by @joshua20231026 in #2900 - 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
-
Update Python dependencies:
cd api pip install -r requirements.txt
-
Then, let's run the migration script:
flask db upgrade
-
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- enhance: add stable diffusion user guide by @Yeuoly in #2795
- Fix/2770 suggestions for next steps by @crazywoola in #2788
- excel: get keys from every sheet by @Weaxs in #2796
- Update README.md by @joshua20231026 in #2799
- Update README.md by @joshua20231026 in #2800
- Refactor Markdown component to include paragraph after image by @Ag2S1 in #2798
- fix:change azure openai api_version default value to 2024-02-15-preview by @leslie2046 in #2797
- fix:typo by @leslie2046 in #2808
- Improve automatic prompt generation by @WeepsDanky in #2805
- Fix tts api err by @charli117 in #2809
- feat: add Vietnamese vi-VN by @vigstudio in #2807
- feat: add French fr-FR by @lmagnien in #2810
- generalize position helper for parsing _position.yaml and sorting objects by name by @bowenliang123 in #2803
- fix: doc for completion-messages by @crazywoola in #2820
- feat:add api-version selection for azure openai APIs by @leslie2046 in #2821
- feat(llm/models): add claude-3-haiku-20240307 by @lroolle in #2825
- enhance: use override_settings for concurrent stable diffusion by @QunBB in #2818
- fix: doc for datasets by @ChiayenGu in #2831
- feat: add weekday calculator in time tool by @bowenliang123 in #2822
- fix: compatible to old tool config by @Yeuoly in #2837
- fix: The generate conversation name was not saved by @fengdwx in #2836
- Feat/add script to check i18n keys by @crazywoola in #2835
- Fix/localai by @Yeuoly in #2840
- Fix/compatible to old tool config by @Yeuoly in #2839
- fix: use supported languages only for install form by @crazywoola in #2844
- prevent auto scrolling down to bottom when user already scrolled up by @wststone in #2813
- fix: charts encoding by @Yeuoly in #2848
- fix: api doc duplicate symbols by @crazywoola in #2853
- Refactor: Streamline the build-push and deploy-dev workflow by @lroolle in #2852
- fix: print exception logs for ValueError and InvokeError by @bowenliang123 in #2823
- feat: add model for 01.ai, yi-chat-34b series by @soulteary in #2865
- feat: Allow users to specify AWS Bedrock validation models by @soulteary in #2857
- fix: unstable function call response arguments missing by @VoidIsVoid in #2872
- add max_tokens parameter rule for zhipuai glm4 and glm4v by @orangeclk in #2861
- add tenant id index for document and document_segment table by @JohnJyong in #2873
- feat:Embedding models Support for the Aliyun dashscope text-embedding-v1 and text-embedding-v2 by @Onelevenvy in #2874
- feat: Add tools for open weather search and image generation using the Spark API. by @Onelevenvy in #2845
- Feat/support tool credentials bool schema by @Yeuoly in #2875
- fix/Add isModel flag to AgentTools component by @Yeuoly in #2876
- fix enable annotation reply when collection is None by @JohnJyong in #2877
- feat: AWS Bedrock Claude3 by @soulteary in #2864
- i18n: update bedrock label by @soulteary in #2879
- feat: add icons for 01.ai by @crazywoola in #2883
- fix: Fix the problem of system not working by @soulteary in #2884
- fix: anthropic system prompt not working by @soulteary in #2885
- Bump tiktoken to 0.6.0 to support text-embedding-3-* in encoding_for_model by @bowenliang123 in #2891
- chore: use API Key instead of APIKey by @soulteary in #2888
- feat:support azure openai llm 0125 version by @leslie2046 in #2889
- chore: Update TongYi models prices by @soulteary in #2890
- chore: update pr template by @crazywoola in #2893
- chore: update Qwen model params by @soulteary in #2892
- fix incorrect exception raised by api tool which leads to incorrect L… by @lancemao in #2886
- feat: optimize ollama model default parameters by @takatost in #2894
- chore: update Yi models params by @soulteary in #2895
- fix: Ignore some emtpy page_content when append to split_documents by @listeng in #2898
- Feat/add-NVIDIA-as-a-new-model-provider by @joshua20231026 in #2900
- bump version to 0.5.10 by @takatost in #2902
New Contributors
- @Weaxs made their first contribution in #2796
- @Ag2S1 made their first contribution in #2798
- @vigstudio made their first contribution in #2807
- @QunBB made their first contribution in #2818
- @ChiayenGu made their first contribution in #2831
- @fengdwx made their first contribution in #2836
- @soulteary made their first contribution in #2865
- @VoidIsVoid made their first contribution in #2872
- @Onelevenvy made their first contribution in #2874
- @listeng made their first contribution in #2898
Full Changelog: 0.5.9...0.5.10
v0.5.9
New Features
- Supported Groq LLM by @Yeuoly #2733
- Supported Azure OpenAI Embedding v3 models by @Tuccuay #2758
- Supported Azure Whisper model by @leslie2046 #2732
- Supported Azure TTS by @leslie2046 #2751
- OpenAI compatible API provider supported function calling by @JohnJyong #2783
- Added tavily tool for searching by @Yash-1511 #2681
- Added QR code generation tool by @bowenliang123 #2699
- Added Twilio tool for sending text and WhatsApp messages by @Yash-1511 #2700
- Added DingTalk(钉钉) tool for sending messages to chat group bot via webhook by @bowenliang123 #2693
- Added AIPPT tool by @Yeuoly #2725
- Optimized database connection when LLM invoking, avoid occupying database connection pool connections for a long time in LLM reasoning by @takatost #2774
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
-
Update Python dependencies:
cd api pip install -r requirements.txt
-
Then, let's run the migration script:
flask db upgrade
-
Finally, run API server, Worker and Web frontend Server again.
What's Changed
- Fix tts play logic by @charli117 in #2683
- FEAT: add tavily tool for searching... A search engine for LLM by @Yash-1511 in #2681
- Fix/agent react output parser by @Yeuoly in #2689
- feat: support HTTP response compression in api server by @bowenliang123 in #2680
- fix: replace os.path.join with yarl by @Yeuoly in #2690
- make volume folders for milvus docker containers ignored by git by @bowenliang123 in #2694
- fix mistralai icon by @joshua20231026 in #2707
- feat: add qrcode tool for QR code generation by @bowenliang123 in #2699
- Fix rebuild index&csv parsing by @charli117 in #2705
- FEAT: Add twilio tool for sending text and whatsapp messages by @Yash-1511 in #2700
- fix(web): chat input auto resize by window by @JunIce in #2696
- fix: chatbot service api auto generate name default value error by @iamjoel in #2709
- fix error msg format issue by @JohnJyong in #2715
- fix qa index processor tenant id is None error by @JohnJyong in #2713
- fix typo: responsing -> responding by @lancemao in #2718
- Feat: AIPPT & DynamicToolParamter by @Yeuoly in #2725
- fix: max tokens can only up to 2048 by @Yeuoly in #2734
- fix:delete the slash at the end of xinference provider server_url by @kztao in #2730
- fix: check webhook key of Wecom tool in valid UUID form and fix typo by @bowenliang123 in #2719
- Feat/add groq by @Yeuoly in #2733
- Fix/jina tokenizer cache by @Yeuoly in #2735
- feat:support azure whisper model and fix:rename text-embedidng-ada-002.yaml to text-embedding-ada-002.yaml by @leslie2046 in #2732
- fix: missing en_name of aippt by @Yeuoly in #2737
- fix: the behavior of save action in opening config panel by @crazywoola in #2736
- fix:missing import by @leslie2046 in #2739
- UPDATE: Twilio tool crdential verification by @Yash-1511 in #2741
- Use
python-docx
to extract docx files by @bowenliang123 in #2654 - fix overlap and splitter optimization by @JohnJyong in #2742
- feat: support error correction and border size in qrcode tool by @bowenliang123 in #2731
- use SVG icons for built-in tools by @bowenliang123 in #2748
- fix: image tokenizer by @Yeuoly in #2752
- Feat/model as tool by @Yeuoly in #2744
- enhance: custom tool timeout by @Yeuoly in #2754
- fix: valid password on reset-password page by @yoogoc in #2753
- replace message content type list to string when file_objs is empty .. by @vikeychen in #2745
- feat: Add new Azure OpenAI Embedding models by @Tuccuay in #2758
- chore: rename lastStep to previousStep by @crazywoola in #2759
- Feat/tool secret parameter by @Yeuoly in #2760
- SMTP authentication is optional by @lmagnien in #2765
- fix: app name can be empty in settings modal by @vikeychen in #2761
- fix: auto prompt by @zxhlyh in #2768
- fix: auto closing when close local image uploading by @wststone in #2767
- doc: add suggested questions back by @crazywoola in #2771
- feat: optimize db connection when llm invoking by @takatost in #2774
- fix: dataset segements api by @crazywoola in #2766
- fix: deep copy of model-tool label by @Yeuoly in #2775
- fix: aippt default styles by @Yeuoly in #2779
- overview: fix filter today calc start & end by @lroolle in #2777
- debug/chat: increase notify error duration to 3000 by @lroolle in #2778
- Update README.md by @crazywoola in #2780
- chunk-overlap None check by @JohnJyong in #2781
- fix: api tool provider not found by @Yeuoly in #2782
- Feat/open ai compatible functioncall by @JohnJyong in #2783
- fix delete dataset when dataset has no document by @JohnJyong in #2789
- feat:support azure tts by @leslie2046 in #2751
- feat: add DingTalk(钉钉) tool for sending message to chat group bot via webhook by @bowenliang123 in #2693
- bump version to 0.5.9 by @takatost in #2794
New Contributors
- @lancemao made their first contribution in #2718
- @yoogoc made their first contribution in #2753
- @Tuccuay made their first contribution in #2758
- @lmagnien made their first contribution in #2765
- @lroolle made their first contribution in #2777
Full Changelog: 0.5.8...0.5.9
v0.5.8
New Features
- Added Anthropic
claude-3
LLM with Vision #2684 - Added
jina-reranker-v1-base-en
rerank model #2676 - Added Wecom(企业微信) tool for sending message to chat group bot via webhook by @bowenliang123 #2638
- Added PubMed to tools #2652
- Added arxiv tool for searching scientific papers and articles from Arxiv by @Yash-1511 #2632
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: support auth type like basic bearer and custom by @Yeuoly in #2613
- refactor: remove unused codes, move core/agent module into dataset retrieval feature by @takatost in #2614
- fix: wrong default model parameters when creating app by @takatost in #2623
- fix: model parameter load presets config by @zxhlyh in #2622
- chore: bump superlinter action from v5 to v6 by @bowenliang123 in #2325
- generalize the generation of new collection name by dataset id by @bowenliang123 in #2620
- fix: remove unnecessary credentials of custom tool by @Yeuoly in #2621
- Fix/custom tool any of by @Yeuoly in #2625
- add logs for vdb-migrate command by @bowenliang123 in #2626
- fix: default mail type invalid in .env.example by @takatost in #2628
- FEAT: Add arxiv tool for searching scientific papers and articles fro… by @Yash-1511 in #2632
- fix: typo in gaode tool by @bowenliang123 in #2636
- fix: Replace path.join with urljoin. by @kztao in #2631
- fix: custom tool max tool by @takatost in #2641
- feat: displaying the tool description when clicking on a custom tool by @iamjoel in #2642
- fix: missing description by @Yeuoly in #2643
- fix: click tool item in app debug page would show detail by @iamjoel in #2644
- Feat/jpn support by @crazywoola in #2651
- fix: default to allcategories when search params is not from recommended by @wststone in #2653
- bugfix: model str maybe empty by @kingo233 in #2660
- fix: use English as the default i18n language by @Yeuoly in #2663
- Add PubMed to tools by @crazywoola in #2652
- Feat: Add documents limitation by @GarfieldDai in #2662
- feat: add Wecom(企业微信) tool for sending message to chat group bot via webhook by @bowenliang123 in #2638
- Fix/app runner typo by @kingo233 in #2661
- fix: fix import from explore apps err when OpenAI not inited by @takatost in #2671
- Doc/update license by @guchenhe in #2666
- fix typo recale to recalc by @xiangpingjiang in #2670
- fix: test custom tool already exists without decrypting credentials by @Yeuoly in #2668
- fix: setup default filters while add credentials by @Yeuoly in #2669
- fix: deep copy customColletion by @Yeuoly in #2673
- Fix vdb merge error by @waltcow in #2650
- Feat/add annotation migrate by @JohnJyong in #2675
- fix: CE edition limits upload file nums by @iamjoel in #2677
- fix: typo in wecom tool by @bowenliang123 in #2674
- add jina-reranker-v1-base-en by @joshua20231026 in #2676
- fix: auto generate prompt result not show by @iamjoel in #2678
- Fix voice selection by @charli117 in #2664
- feat: add Anthropic claude-3 models support by @takatost in #2684
- bump version to 0.5.8 by @takatost in #2685
New Contributors
Full Changelog: 0.5.7...0.5.8
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