Files
mcp-rag-integration/test-data/docs/dsl-guide.md
shahondin1624 a0e36a7fe2 Update mcp tool universe
Add rag utility
2026-02-14 18:03:53 +01:00

41 lines
830 B
Markdown

# DSL Documentation Guide
## DiagnosticService
The `DiagnosticService` is the core component for managing diagnostics in the system.
It allows you to define diagnostic rules and actions.
Example:
```dsl
DiagnosticService {
rule "CheckEngineLight" {
condition: engine.status == ERROR
action: notify("Engine error detected")
}
}
```
## NotificationService
The `NotificationService` handles sending notifications to various channels.
Example:
```dsl
NotificationService {
channel "Email" {
address: "admin@example.com"
}
}
```
## DataProcessor
The `DataProcessor` is used for processing incoming data streams.
It supports various transformation functions.
Example:
```dsl
DataProcessor {
input: "sensor_data"
transform: map(value -> value * 2)
output: "processed_data"
}
```