cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

error in running a LLM model in pyfunc.spark_udf

JAHNAVI
New Contributor III

error in running a LLM model in pyfunc.spark_udf

1 ACCEPTED SOLUTION

Accepted Solutions

JAHNAVI
New Contributor III

Solution:   

Please find below the example. 

Creating a secret and scope is a one time activity once we create a scope and secret we can access the token using any notebook or cluster in the workspace as shown below. 

imageAfter creating a secret if we want to use a secret in a spark configuration property or environment variable we need to add the sec

View solution in original post

1 REPLY 1

JAHNAVI
New Contributor III

Solution:   

Please find below the example. 

Creating a secret and scope is a one time activity once we create a scope and secret we can access the token using any notebook or cluster in the workspace as shown below. 

imageAfter creating a secret if we want to use a secret in a spark configuration property or environment variable we need to add the sec

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group