- 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