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
Databricks Employee
Databricks Employee

error in running a LLM model in pyfunc.spark_udf

Jahnavi N
1 ACCEPTED SOLUTION

Accepted Solutions

JAHNAVI
Databricks Employee
Databricks Employee

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

Jahnavi N

View solution in original post

1 REPLY 1

JAHNAVI
Databricks Employee
Databricks Employee

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

Jahnavi N