- 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