Skip to main content
Ops and Calls don’t appear in Agent Lens or the Weave Agents tab. Calls that you record with weave.op appear only in the Traces tab of your Weave project.If you’re new to CoreWeave Forge, get started with Agent Lens instead. If you’re a current Weave user and use Ops and Calls, they continue to work and you don’t need to change anything.
This is an interactive notebook. You can run it locally or use the links below:
Weave Scorers are classes with a score method that evaluates the performance of a call. They can range from basic rules to LLMs as judges. This notebook is for Weave users who want to apply Scorers at runtime to block or filter unwanted model outputs. By following along, you build a content safety guardrail that intercepts an LLM response, evaluates it with a Scorer, and returns a fallback message when the Scorer flags the response as unsafe. Using Scorers this way lets you reuse the same evaluation logic that powers offline experiments to enforce safety policies in production. By the end of this notebook, you have a working ContentSafetyScorer that wraps an LLM call and returns either the original response or a safe fallback, depending on the Scorer’s verdict.
Last modified on November 25, 2026