Update mcp tool universe
Add rag utility
This commit is contained in:
40
test-data/docs/dsl-guide.md
Normal file
40
test-data/docs/dsl-guide.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user