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

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