Skip to content

Commit 238d8f9

Browse files
authored
Update README.md
1 parent 2c2ba88 commit 238d8f9

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,23 @@ Every Thing in kotlin-wot is modeled with the following capabilities, known as *
3434

3535
### ⚙️ **Properties**
3636
A **property** represents a value that can be read, written, or observed. For example:
37-
- A **temperature sensor** may have a property that holds the current temperature.
38-
- An **AI chatbot** could have a property `modelConfiguration`, which shows the current configuration of an LLM model.
39-
- An **AI recommendation engine** might have a property `activeRecommendations` listing the recommendations being served.
37+
- **Smart Home**: A thermostat could have a property `currentTemperature` that holds the current room temperature.
38+
- **AI Applications**: A recommendation engine could have a property `recommendationModel` showing which model version is currently in use.
39+
- **Industrial IoT**: A factory machine could have a property `operationalStatus` indicating if the machine is running, idle, or under maintenance.
40+
4041

4142
### 🦾 **Actions**
4243
An **action** represents an operation that can be invoked. For example:
43-
- A **smart light bulb** may have an action to turn it on or off.
44-
- A **chatbot** could have an action `generateReply(input: String)` to respond based on user input.
45-
- An **AI scheduling assistant** could provide an action `scheduleMeeting(date: String, participants: List<String>)` to book a meeting.
44+
- **Smart Home**: A washing machine could have an action `startCycle(program: String)` to begin a specific washing program.
45+
- **AI Applications**: An AI assistant could provide an action `generateSummary(text: String)` to summarize user-provided content.
46+
- **Industrial IoT**: A robotic arm on a production line could have an action `moveToPosition(x: Float, y: Float, z: Float)` to reposition the arm.
47+
4648

4749
### **Events**
4850
An **event** is a notification triggered by a specific occurrence. For example:
49-
- A **motion sensor** may send an event notification when motion is detected.
50-
- A **chatbot** might emit an event `conversationEnded` when the user ends the chat session.
51-
- An **AI monitoring system** might trigger an event `anomalyDetected` when it identifies unusual behavior in a monitored system.
51+
- **Smart Home**: A smoke detector may send an event `smokeDetected` when smoke is identified.
52+
- **AI Applications**: A chatbot might emit an event `userFeedbackReceived` when a user provides a rating or comment.
53+
- **Industrial IoT**: A conveyor belt system might trigger an event `jamDetected` if it identifies a blockage in the production line.
5254

5355
### Example of a Thing Description
5456

0 commit comments

Comments
 (0)