def __init__(self, current_version: str, required_version: str):
        """
        Initialize the UnsupportedOracleAdsVersionError.

        Args:
            current_version (str): The currently installed version of `oracle-ads`.
            required_version (str): The minimum required version of `oracle-ads`.

        """
        super().__init__(
            f"The `oracle-ads` version {current_version} currently installed is incompatible with "
            "the `llama-index-llms-oci-data-science` version in use. To resolve this issue, "
            f"please upgrade to `oracle-ads:{required_version}` or later using the "
            "command: `pip install oracle-ads -U`"
        )

        Initialize the UnsupportedOracleAdsVersionError.

        Args:
            current_version (str): The currently installed version of `oracle-ads`.
            required_version (str): The minimum required version of `oracle-ads`.

        
llama-index-integrations/embeddings/llama-index-embeddings-oci-data-science/llama_index/embeddings/oci_data_science/utils.py