Ai
info
The FormAi object must be defined in the first screen of the form. Every other ai objects will be ignored.
Define form ai behavior.
JSON Example
{
"config": {...},
"admin_context": [...],
"input": false,
"questions": [...],
"form_questions": [...],
"planning_questions": [...],
}
Elements of FormAi
config
- Type:
Config?
. - Description: The gobal configuration of the Ai.
Example:
"config": {...}
admin_context
- Type:
Array<String>
. - Description: The context given to the ai for every questions you ask.
Example:
"admin_context": [
"You are an AI assistant that helps people find information about sidely.",
"The second context"
]
input
- Type:
boolean
. - Description: Whenever the the input is enabled or not.
- Default:
false
Example:
"input": true
questions
- Type:
Array<Question>
. - Description: The questions the user can ask inside the form. The lua can be used.
Example:
"question": [...]
form_questions
- Type:
Array<Question>
. - Description: The questions the user can ask outside the form. The lua cannot be used.
Example:
"form_questions": [...]
planning_questions
- Type:
Array<Question>
. - Description: The questions the user can ask on in planning. The lua cannot be used.
Example:
"planning_questions": [...]