This is the brain of your avatar - it understands your chats, schedules work, and responds to you.
The base node has a 'simple' brain to which we can add Artificial
Intelligence via HTTP services. Multiple services can be added into a
brains.json
file that contains a javascript array of
request options
The context
parameter will contain the current message and a few of
the most recent chats to provide the AI with the context to respond.
[
{
"uri": "http://localhost:8080/everlife_ai_chat/v1/actions/get_response",
"method": "POST",
"json": {
"context": {{context}}
}
}
]