File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,12 @@ This example illustrates how a Weather Agent can be modeled using a Thing Descri
6262 "id" : " urn:uuid:6f1d3a7a-1f97-4e6b-b45f-f3c2e1c84c77" ,
6363 "title" : " WeatherAgent" ,
6464 "@type" : " ex:Agent" ,
65+ "links" : [{
66+ "rel" : " service-doc" ,
67+ "href" : " https://weatherai.example.com/manual.pdf" ,
68+ "type" : " application/pdf" ,
69+ "hreflang" : " en"
70+ }],
6571 "ex:metadata" : {
6672 "ex:vendor" : {
6773 "ex:name" : " WeatherAI Inc." ,
@@ -98,8 +104,8 @@ This example illustrates how a Weather Agent can be modeled using a Thing Descri
98104 "actions" : {
99105 "getWeather" : {
100106 "description" : " Fetches weather information based on user input." ,
101- "safe" : true , // Used to signal that there is no internal state changed when invoking the action.
102- "idempotent" : false , // Informs whether the Action can be called repeatedly with the same result.
107+ "safe" : true ,
108+ "idempotent" : false ,
103109 "synchronous" : true ,
104110 "input" : {
105111 "type" : " object" ,
@@ -129,7 +135,6 @@ This example illustrates how a Weather Agent can be modeled using a Thing Descri
129135 }
130136 }
131137}
132-
133138```
134139
135140## Advantages of Kotlin-WoT
You can’t perform that action at this time.
0 commit comments