Skip to content

v1.0.0

Choose a tag to compare

@allen2c allen2c released this 06 Jul 02:58
· 86 commits to main since this release
bbb885e

🚀 DVS v1.0.0 Release

This release marks a major milestone for DVS, transitioning it from a FastAPI-based web service to a lightweight, serverless Python library. This change significantly improves performance, simplifies the architecture, and enhances the overall user experience.

🌟 Key Changes

  • Goodbye, FastAPI! 👋: The most significant change is the removal of the FastAPI server, making DVS a pure Python library. This reduces overhead and simplifies the deployment process.
  • Refined API 🧑‍💻: The API has been streamlined for better usability. Key improvements include:
    • A new DVS class for easier interaction.
    • Enhanced document and point management with methods like add, remove, and search.
    • Improved handling of embeddings with the openai-embeddings-model.
  • Enhanced Caching 🗄️: The caching mechanism has been updated for better performance, with a new default path at ./cache/dvs.
  • Improved Configuration ⚙️: The configuration system now uses a more robust Settings class, providing better control over database paths, table names, and other parameters.
  • Streamlined Dependencies 📦: The project's dependencies have been updated and simplified, ensuring a more stable and maintainable codebase.

✨ Other Improvements

  • New Datasets Script 📥: A new download_datasets.py script makes it easier to download and set up example datasets.
  • Updated Documentation & README 📖: The documentation and README have been completely revamped to reflect the new library-based approach, with updated examples and usage instructions.
  • Simplified Makefile 🛠️: The Makefile has been cleaned up, removing outdated commands and streamlining the development process.

💥 Breaking Changes

  • The removal of the FastAPI server means that all API endpoints are no longer available. Users should now interact with DVS as a Python library.
  • The DVS class and its methods have been updated, requiring changes in how the library is used.
  • The configuration system has been updated, so users will need to adjust their environment variables and settings accordingly.