init
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
apiVersion: cognitive-agent/v1alpha1
|
||||
kind: CapabilityCatalog
|
||||
metadata:
|
||||
id: example-domain-capabilities
|
||||
name: Example domain capabilities
|
||||
version: 0.1.0
|
||||
spec:
|
||||
domain: example_domain
|
||||
capabilities:
|
||||
- name: example_domain.set_level
|
||||
description: Replace with a user-facing semantic capability description.
|
||||
target_devices:
|
||||
- example_device
|
||||
target_scopes:
|
||||
- vehicle
|
||||
parameters:
|
||||
- name: level_pct
|
||||
type: number
|
||||
unit: percent
|
||||
required: true
|
||||
description: Replace with the physical meaning and range source.
|
||||
risk_level: medium
|
||||
confirmation_policy: on_ambiguity
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
apiVersion: cognitive-agent/v1alpha1
|
||||
kind: FunctionPreset
|
||||
metadata:
|
||||
id: example-domain-default
|
||||
name: Example preset
|
||||
version: 0.1.0
|
||||
spec:
|
||||
domain: example_domain
|
||||
operations:
|
||||
- id: set_example_level
|
||||
capability: example_domain.set_level
|
||||
target:
|
||||
device: example_device
|
||||
parameters:
|
||||
level_pct: 50
|
||||
transition:
|
||||
duration_ms: 1000
|
||||
profile: device_default
|
||||
timeout_ms: 5000
|
||||
failure_policy: abort
|
||||
locked_parameters: []
|
||||
applicability:
|
||||
platform: reference_vehicle
|
||||
|
||||
Reference in New Issue
Block a user