You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f33df58
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/OVERVIEW.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,7 +236,7 @@ Flexible value matching with multiple modes and logic options.
236
236
237
237
---
238
238
239
-
### 3. Luna-2 Evaluator (`galileo-luna2`)
239
+
### 3. Luna-2 Evaluator (`galileo/luna2`)
240
240
241
241
AI-powered detection using Galileo's Luna-2 small language models. Provides real-time, low-latency evaluation for complex patterns that can't be caught with regex or lists.
242
242
@@ -267,7 +267,7 @@ AI-powered detection using Galileo's Luna-2 small language models. Provides real
267
267
```json
268
268
// Block toxic inputs (score > 0.5)
269
269
{
270
-
"name": "galileo-luna2",
270
+
"name": "galileo/luna2",
271
271
"config": {
272
272
"metric": "input_toxicity",
273
273
"operator": "gt",
@@ -278,7 +278,7 @@ AI-powered detection using Galileo's Luna-2 small language models. Provides real
278
278
279
279
// Block prompt injection attempts
280
280
{
281
-
"name": "galileo-luna2",
281
+
"name": "galileo/luna2",
282
282
"config": {
283
283
"metric": "prompt_injection",
284
284
"operator": "gt",
@@ -289,7 +289,7 @@ AI-powered detection using Galileo's Luna-2 small language models. Provides real
289
289
290
290
// Flag potential hallucinations (warn but allow)
291
291
{
292
-
"name": "galileo-luna2",
292
+
"name": "galileo/luna2",
293
293
"config": {
294
294
"metric": "hallucination",
295
295
"operator": "gt",
@@ -299,7 +299,7 @@ AI-powered detection using Galileo's Luna-2 small language models. Provides real
299
299
300
300
// Using a central stage (pre-defined server-side rules)
301
301
{
302
-
"name": "galileo-luna2",
302
+
"name": "galileo/luna2",
303
303
"config": {
304
304
"stage_type": "central",
305
305
"stage_name": "production-safety",
@@ -434,23 +434,28 @@ Every evaluator implements the `Evaluator` base class:
434
434
435
435
```python
436
436
from typing import Any
437
-
from pydantic import BaseModel
437
+
438
438
from agent_control_models import EvaluatorResult
439
-
from agent_control_evaluators import Evaluator, EvaluatorMetadata, register_evaluator
Copy file name to clipboardExpand all lines: docs/REFERENCE.md
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -304,7 +304,7 @@ Flexible value matching with multiple modes and logic options.
304
304
305
305
AI-powered detection using Galileo's Luna-2 small language models. Provides real-time, low-latency evaluation for complex patterns that can't be caught with regex or lists.
306
306
307
-
**Evaluator name**: `galileo-luna2`
307
+
**Evaluator name**: `galileo/luna2`
308
308
309
309
**Installation**: Luna-2 requires an optional dependency:
0 commit comments