Skip to content

v0.15.0

Latest
Compare
Choose a tag to compare
@laipz8200 laipz8200 released this 07 Jan 10:06
· 16 commits to main since this release
c236f05

✨ What’s New in v0.15.0? ✨

Hey developers! We know you've got a lot going on, so let's cut to it. Here's what's new in v0.15.0, our latest release, packed with bug fixes, feature upgrades, and enhancements.

⚡ New Features

🧑‍🧑‍🧒‍🧒 Parent-child Retrieval

12-25-3 12-25-5

Leverage a two-tier hierarchical approach that effectively balances the trade-off between accurate matching and comprehensive contextual information to improve the quality and accuracy of AI-generated responses in RAG systems. Learn more

Highlights:

  • The new chunk editing and preview display brings users a better reading and editing experience, making it easier for people without technical backgrounds to understand the two-layer parent-child structure.
  • We allow users to improve retrieval efficiency by child chunks independently without changing parent chunks as LLM content.
  • Update index mode rules: Economical cannot be downgraded once upgraded to High Quality.
  • Document batch operations in Knowledge Base support batch enabling, disabling, deletion, and archiving document functions.

✨ Improvements

  • Multi-Version Workflows: Manage multiple workflow versions more effectively with contributions from @warren830 (#11990).
  • UI/UX adjustments for accessibility, such as replacing div with button to enhance user interaction and navigation (@TinsFox, #12046).
  • Database and memory optimizations that not only improve performance but they'll likely save you headaches when loading and retrieving data (@laipz8200, #12071).
  • Enhanced support for streaming modes, error feedback, and token handling to improve your coding life significantly (various contributors).

🛠️ Fixes

  • Numerous typo fixes, improved error handling, and bug resolutions across the workflow, such as tool can not run, HTTP method case sensitivity by @yihong0618 (#12054, #12401), and cleaning up exceptions by @acelyc111 (#12246). Your workflow should be a lot smoother now.
  • Improved error management in several components. This includes better handling of invalid URLs, file uploads, JSON parsing, and missing IDs, thanks to contributions from @laipz8200 (various PRs).
  • Default value fixes to configurations like Google Storage and better formatting of URLs to keep Docker Compose happy, by @kazukitakamatsu and @cemremengu (#12188, #12072).

⚙️ Refactoring & Other Chores

  • Code refactoring to enhance readability and maintainability like using tiktoken for token calculations (@laipz8200, #12416).
  • Cleanup of unused imports for a leaner codebase. Thanks to @bowenliang123 for lint corrections (#11922).
  • A bundle of localization improvements for international users, meticulously handled by the community, including corrections to error messages and localizations (@HanqingZ, #12292).

⚡ Misc

  • Added cheaper and long context models for Qwen2.5-72B-Instruct, and a variety of speech models from siliconflow, contributed by @senseb (#12415, #12425).
  • Squashing bugs related to document parsing that maintained your data format integrity, addressed by @Hisir0909 (#12112).

Get ready to dive into these enhancements and see how they can supercharge your workflows and development experience. Happy coding!


Upgrade Guide

Docker compose deployments

Warning

The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.

  1. Back up your customized docker-compose YAML file (optional)

    cd docker
    cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
  2. Get the latest code from the main branch

    git checkout main
    git pull origin main
  3. Stop the service,Command, please execute in the docker directory

    docker compose down
  4. Back up data

    tar -cvf volumes-$(date +%s).tgz volumes
  5. Upgrade services

    docker compose up -d

Source Code deployments

  1. Stop API server, Worker and Web frontend Server.

  2. Get the latest code from the release branch:

    git checkout 0.15.0
  3. Update Python dependencies:

    cd api
    poetry install
  4. Then, let's run the migration script:

    poetry run flask db upgrade
  5. Finally, run API server, Worker and Web frontend Server again.


What's Changed

New Contributors

Full Changelog: 0.14.2...0.15.0