Skip to content

Suppress Deprecation Warnings #10

Description

@adityaghai07

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions