Git Product home page Git Product logo

databricks-java-sdk-examples's Introduction

databricks-java-sdk-examples

This repository contains examples of how to use the Databricks Java SDK to interact with Databricks optimized model serving endpoints.

The goal is to use as much of the databricks sdk for auth and extend classes as needed to make api calls to the new model serving endpoints.

The code is provided as is.

All the code is in src/main/java/org/example/custom/databricks folder

  1. OAuthM2MWithAuthDetailsServicePrincipalCredentialsProvider.java - This class is used to authenticate with Databricks using OAuth 2.0 M2M flow with Auth Details Service Principal.
  2. OptimizedEndpointQueryEndpointInput.java - This class is used to query the optimized model serving endpoint.

Look at the Main.java file to see how to use the classes.

Disclaimer

The code is provided as is and no support will be provided for this specific code repository. This is not affiliated with the databricks sdk by any means. The primary use is as a workaround to use the databricks sdk to interact with the optimized model serving endpoints as that is not yet natively supported.

databricks-java-sdk-examples's People

Contributors

stikkireddy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.