def get_default(cls, mode: str, app) -> "IngestionConfig":
        """Return default ingestion configuration for a given mode."""
        if mode == "hi-res":
            return cls(app=app, parser_overrides={"pdf": "zerox"})
        if mode == "ocr":
            return cls(app=app, parser_overrides={"pdf": "ocr"})
        if mode == "fast":
            return cls(app=app, skip_document_summary=True)
        else:
            return cls(app=app)
Return default ingestion configuration for a given mode.
py/core/base/providers/ingestion.py