Creates a new instance of the Intelligence class.
The options to use for creating the Intelligence instance.
Optional
functionsThe functions to use for the intelligence service
The instance of the intelligence service
The model to use for the AI
The type of intelligence service to use
The system message to use in the chat
Sends a message to the intelligence service and gets a response.
The question to ask the intelligence service.
Optional
context: [{ The context for the question.
The response from the intelligence service.
Represents an intelligence service that can be used by a Brick to process and respond to messages.
Remarks
Currently, only OpenAI and custom functions are supported.