After you run all your experiments and get your LLM application live in production, you need to keep monitoring it. Online evaluation checks that the quality is good and that the application is safe for your users in production, and gives you the data to improve it.
A monitor you configure alerts you when it detects the condition it checks for, including safety issues, and it generates insights and builds your datasets as it runs, so you keep collecting data for optimizing your AI application.
Real-Time Evaluations for Safety
Just like all web applications need standard safety protections against DDoS attacks, it’s now the default practice to add sane protections to LLM applications too, like PII detection to know when sensitive data is being exposed, or protection against prompt injection, listed as the number 1 vulnerability for LLMs on the OWASP Top 10.Setting up a Prompt Injection detection monitor
On LangWatch, you set up prompt injection detection, check that it works with your data, and get alerted on the requests it flags. First, go to the Online Evaluations page and click New Online Evaluation:.png?fit=max&auto=format&n=UFU4yqeW-QWPi3A0&q=85&s=ea56e37a77dce46633233441e6dd0d6e)


.png?fit=max&auto=format&n=UFU4yqeW-QWPi3A0&q=85&s=86919c0c8be016bd3cdff8722baf5c34)


.png?fit=max&auto=format&n=UFU4yqeW-QWPi3A0&q=85&s=9f614ee145145d334513a2aeb9d97b7d)

.png?fit=max&auto=format&n=UFU4yqeW-QWPi3A0&q=85&s=cbf79ba9d99831b8e813108b2aa56098)
