aiAgent
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | data type=string; maxLen=255Enter a name of the AI Agent. |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
service | reference | No | data type=reference; lov=COMPONENT; references=genAIService | |
systemPrompt | multiline string | No | data type=multiline string; maxLen=32767 | |
welcomeMessage | multiline string | No | data type=multiline string; maxLen=32767 |
genAI {
service: @component
systemPrompt: ```
value
```
welcomeMessage: ```html
value
```
}responseFormat
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | text | data type=string; lov=STATICValid values: text jsonObject |
jsonSchema | multiline string | Yes | data type=multiline string; maxLen=32767Applies when type = jsonObject |
responseFormat {
type: text
jsonSchema: ```json
value
```
}advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
reasoningEffort | enum | No | data type=string; lov=STATICValid values: none minimal low medium high xhigh max | |
temperature | number | No | data type=number; maxLen=22 | |
staticId | string | Yes | data type=string; maxLen=255Use the Static ID to reference the AI Agent in API Calls. |
advanced {
reasoningEffort: none
temperature: 42
staticId: value
}subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | reference | No | data type=reference; lov=COMPONENT; references=aiAgent |
subscription {
master: @component
}comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | data type=multiline string; maxLen=4000 |
comments {
comments: ```
value
```
}APEXlang Example
aiAgent sample (
name: value
genAI {
service: @component
systemPrompt: ```
value
```
welcomeMessage: ```html
value
```
}
responseFormat {
type: text
jsonSchema: ```json
value
```
}
advanced {
reasoningEffort: none
temperature: 42
staticId: value
}
subscription {
master: @component
}
comments {
comments: ```
value
```
}
)