<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/6cb57484c5444c9aa0585db1a1b17bb5&quot; frameborder=&quot;0&quot; width=&quot;1662&quot; height=&quot;1246&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1246</height><width>1662</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1246</thumbnail_height><thumbnail_width>1662</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/6cb57484c5444c9aa0585db1a1b17bb5-c39aa0c1c4f3b5e2.gif</thumbnail_url><duration>97.792</duration><title>Using Headroom Guardrails in LightLLM</title><description>This Loom demonstrates using Headroom as a guardrail in LightLLM. It shows creating a Headroom guardrail by adding the name and impression and selecting the provider as Headroom, including using a self-hosted API base and creating the guardrail key, then attaching it to a key. The video explains selecting the guardrail in the guardrails options and calling the chat completions or messages endpoint with the virtual key, provider name, and guardrail key. The logs confirm that the guardrail is evaluated and headroom compression is applied.</description></oembed>