Custom LLM Function similar to Databricks built in AI functions

neha89
New Contributor II

Hi Team,

I am new to Databricks and working on Gen AI requirements.

Task - Build custom prompt with set of instructions to classify incident e.g. False Positive or True Positive. Input will be columns in Delta Table

Can I build custom LLM function with custom prompt and invoke it similar to built in AI function as SQL query. Or I should register function as model serving endpoint and then use this endpoint to apply on each record in Delta Table. Kindly provide suggestions