Configure evals to run continuously on Production Traces
If you configure evaluations in the dashboard at https://app.athina.ai/evals/config , they will run automatically against all logged inferences that meet your filters.
Note: Logs may be sampled to ensure that evaluations run within your configured limits. You can adjust these limits in the Settings page.Note: Continuous evaluation is only available for paid plans. Contact hello@athina.ai to upgrade your plan.
Running evals as guardrails around inference using athina.guard()
This is useful if you want to run evaluations at inference time to prevent bad user queries or bad responses.Keep in mind there may be latency impacts here. We recommend running only low-latency evaluations if you’re using athina.guard().Follow this example notebook