Skip to main content

lesson

Lessons Model​

Represents an instructional unit or educational content designed to provide context, explanation, or guidance related to a system or assistant's behavior.


id (integer, ReadOnly)​

Unique identifier for the lesson.


name (string) Required​

The title or label of the lesson.

  • Minimum length: 1 character

content (string) Required​

The main instructional text or information conveyed by the lesson.

  • Minimum length: 1 character

context_of_application (string) Required​

Describes the situation or conditions in which this lesson is applicable.

  • Minimum length: 1 character

additional_metadata (object, Optional)​

Custom key-value data to provide supplementary information.


Example​

[
{
"id": 0,
"name": "string",
"content": "string",
"context_of_application": "string",
"additional_metadata": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
}
}
]