[docs]@deprecated(since="0.3.3",removal="1.0",alternative_import="databricks_langchain.DatabricksEmbeddings",)classDatabricksEmbeddings(MlflowEmbeddings):"""Databricks embeddings. To use, you should have the ``mlflow`` python package installed. For more information, see https://mlflow.org/docs/latest/llms/deployments. Example: .. code-block:: python from langchain_community.embeddings import DatabricksEmbeddings embeddings = DatabricksEmbeddings( target_uri="databricks", endpoint="embeddings", ) """target_uri:str="databricks""""The target URI to use. Defaults to ``databricks``."""@propertydef_mlflow_extras(self)->str:return""def_validate_uri(self)->None:ifself.target_uri=="databricks":returnifurlparse(self.target_uri).scheme!="databricks":raiseValueError("Invalid target URI. The target URI must be a valid databricks URI.")