cancel
Showing results for 
Search instead for 
Did you mean: 

error in running a LLM model in pyfunc.spark_udf

JAHNAVI
New Contributor III
New Contributor III

error in running a LLM model in pyfunc.spark_udf

1 ACCEPTED SOLUTION

Accepted Solutions

JAHNAVI
New Contributor III
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
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.