Databricks Foundation Model Serving uses the OpenAI API format regardless of the underlying model being served (for example, GPT, Gemini, or other supported foundation models).
- Replace
<name>with the Databricks Foundation Model Serving instance name. Example:databricks-prod. - Replace
<route_prefix>with the route prefix for the model used. Example:/serving-endpoint/gpt-model. - Replace
<base_url>with the URL for the instance. Example:https://upstream.provider.com. - Set the enrich response to true to return the upstream LLM response enriched with HiddenLayer’s detections and analysis. Set to false to disable the HiddenLayer’s detections and analysis.
- Replace
<api_key>with a Databricks API key.

