* feature: add China image configuration options
* feature: update Python and Poetry mirror configurations to use Tsinghua and Aliyun
* feature: improve Poetry mirror configuration to check for existing sources
* feature: rename setup-china to setup-cn and update pip mirror to Aliyun
* Add MD file
* Modify GitHub download
* Change to Chinese Mainland
---------
Co-authored-by: yanmuyuan <2216646664@qq.com>
* Fix Issue #157
Add chroma_utils.py to manage chromaDB and added docs for explanation
* Add logging and debugging process
- Enhanced the`reinitialize_chroma_collections` function in`chroma_utils.py` to properly check if collections exist before attempting to delete them, preventing potential errors when collections don't exist.
- Improved error handling in the`_handle_dimension_mismatch` method in`embedding_service.py` by adding more robust exception handling and verification steps after reinitialization.
- Enhanced the collection initialization process in`embedding_service.py` to provide more detailed error messages and better handle cases where collections still have incorrect dimensions after reinitialization.
- Added additional verification steps to ensure that collection dimensions match the expected dimension after creation or retrieval.
- Improved logging throughout the code to provide more context in error messages, making debugging easier.