Building an image classification app with Databricks Connect “V2” and Dash

<p>Intelligent data application adoption is rapidly growing amongst various data platforms. And with this growing adoption, engineers are looking for efficient and flexible APIs to work with their data in a way they&rsquo;re used to operating pipelines, but inside such data applications.</p> <p>In this blog post, I&rsquo;ll demonstrate how the&nbsp;<a href="https://www.databricks.com/blog/2023/04/18/use-databricks-anywhere-databricks-connect-v2.html" rel="noopener ugc nofollow" target="_blank">upgraded Databricks Connect</a>&nbsp;protocol (based on&nbsp;<a href="https://www.databricks.com/blog/2023/04/18/spark-connect-available-apache-spark.html" rel="noopener ugc nofollow" target="_blank">Spark Connect</a>) enables developers to write concise and expressive data applications on top of the Databricks Lakehouse Platform with the Dash framework.</p> <p><strong>The Tale of Protocols</strong></p> <p>There are several ways to perform operations with the data stored in the Databricks Lakehouse from the data application.</p> <p>One of them is the one I&rsquo;ve described in one of my&nbsp;<a href="https://polarpersonal.medium.com/building-a-data-labeling-app-with-python-dash-and-databricks-lakehouse-48341f618b8f" rel="noopener">previous</a>&nbsp;blog posts &mdash; it&rsquo;s a straightforward and well-known approach that uses DBSQL and the SQLAlchemy ORM mechanism.</p> <p>However, this time I would like to highlight the (relatively) new functionality of Databricks, called&nbsp;<a href="https://www.databricks.com/blog/2023/04/18/use-databricks-anywhere-databricks-connect-v2.html" rel="noopener ugc nofollow" target="_blank">Databricks Connect &ldquo;<em>V2</em>&rdquo;</a>. Although for many of the Databricks users, this component may sound familiar, its new version provides a more flexible and faster approach within a thinner version of a client that can be potentially used from applications in various programming languages.</p> <p><a href="https://polarpersonal.medium.com/building-an-image-classification-app-with-databricks-connect-v2-and-dash-3c7f855f6e6"><strong>Visit Now</strong></a></p>