v1.0.0
🚀 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
DVSclass for easier interaction. - Enhanced document and point management with methods like
add,remove, andsearch. - Improved handling of embeddings with the
openai-embeddings-model.
- A new
- 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
Settingsclass, 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.pyscript 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
Makefilehas 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
DVSclass 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.