Uses of Class
com.kingsrook.qqq.backend.core.actions.ai.tools.AiToolException
Packages that use AiToolException
Package
Description
-
Uses of AiToolException in com.kingsrook.qqq.backend.core.actions.ai.filter
Methods in com.kingsrook.qqq.backend.core.actions.ai.filter that throw AiToolExceptionModifier and TypeMethodDescriptionstatic QQueryFilterAiFilterBuilder.build(Object filterInput, Map<String, QFieldMetaData> filterableFields) Build a QQueryFilter from a tool's filter input (null input gives an empty filter), allowing criteria only on the given filterable fields.static SerializableAiFilterBuilder.parseRelativeDateExpression(String value, QFieldType type) Parse a relative date expression - or return null if the value isn't one. -
Uses of AiToolException in com.kingsrook.qqq.backend.core.actions.ai.tools
Methods in com.kingsrook.qqq.backend.core.actions.ai.tools that return AiToolExceptionModifier and TypeMethodDescriptionstatic AiToolExceptionAiToolException.invalidInput(String message) An INVALID_INPUT exception.static AiToolExceptionAiToolContext.tableNotAvailable(String tableName) The DENIED exception for a table that is missing, invisible, unexposed or not readable.Methods in com.kingsrook.qqq.backend.core.actions.ai.tools that throw AiToolExceptionModifier and TypeMethodDescriptionA value as an object (a map with string keys).static StringA value as a string - accepting strings, numbers and booleans.AiToolInput.getOptionalInteger(String key) An optional integer.AiToolInput.getOptionalList(String key) An optional list.AiToolInput.getOptionalMap(String key) An optional object (map).AiToolInput.getOptionalString(String key) An optional string (numbers are accepted, as their string form).AiToolInput.getOptionalStringList(String key) An optional list of strings.AiToolInput.getRequiredString(String key) A required, non-blank string.voidAiToolInput.requireOnlyKeys(Collection<String> allowedKeys) Reject any keys outside the allowed set (the schemas are additionalProperties = false, and the kernel enforces that, rather than trusting the model).AiToolContext.requireReadableTable(String tableName) The table, if this session may read it through the assistant: it exists, is visible to the session (not DENY_HIDE, allowed by any meta-data action customizer), is exposed (not NONE), and the session has READ on it.