Description
GenRAG utilizes the transformers and sentence_transformers library which generate multiple deprecation and non-critical warnings that do not hamper the overall functionality.
Objectives
- Minimize and manage deprecation warnings
Technical Approach
- Use
warnings.filterwarnings() to control warning display
- Selectively suppress specific warning categories
Expected Outcomes
- Cleaner terminal output
- Reduced warning noise
Description
GenRAG utilizes the
transformersandsentence_transformerslibrary which generate multiple deprecation and non-critical warnings that do not hamper the overall functionality.Objectives
Technical Approach
warnings.filterwarnings()to control warning displayExpected Outcomes