Package org.netxms.client.ai
Class AiAssistantFunction
java.lang.Object
org.netxms.client.ai.AiAssistantFunction
Function for AI assistant
-
Constructor Summary
ConstructorsConstructorDescriptionAiAssistantFunction(NXCPMessage msg, long baseId) Create function object from NXCP message. -
Method Summary
Modifier and TypeMethodDescriptionGet function description.getName()Get function name.Get JSON schema for function parameters.booleanCheck if this function is disabled by administrator.
-
Constructor Details
-
AiAssistantFunction
Create function object from NXCP message.- Parameters:
msg- NXCP messagebaseId- base ID for function fields
-
-
Method Details
-
getName
Get function name.- Returns:
- function name
-
getDescription
Get function description.- Returns:
- function description
-
getSchema
Get JSON schema for function parameters.- Returns:
- JSON schema or null
-
isDisabled
public boolean isDisabled()Check if this function is disabled by administrator.- Returns:
- true if disabled
-