Package com.kingsrook.qqq.backend.core.actions.ai
package com.kingsrook.qqq.backend.core.actions.ai
-
ClassDescriptionWhat the AI tool kernel may do with a table (and optionally one record) for one user - built by
AiToolKernel.describeAccess(com.kingsrook.qqq.backend.core.model.session.QSession, java.lang.String, java.io.Serializable), e.g. for the record Developer screen.Resolve AI data classifications without changing metadata or exposure policy.How the AI tool kernel's data tools read data.How much of a table or field the AI tool kernel may expose to a model.Compatibility view of the core FieldAccessHelper decision and why: "hidden", "password", "field security lock", "metadata" (explicit AiFieldMetaData), "table" (capped by the table's exposure) or "default".Supplemental field meta-data (type "ai") for the AI tool kernel: how much of the field is exposed to a model, and an optional description written for a model (aiDescription).A reference to one record, for the UI to render as a chip that deep-links to the record (href is an in-app path, like /app/{table}/{id}).Supplemental table meta-data (type "ai") for the AI tool kernel: how much of the table is exposed to a model, and an optional description written for a model (aiDescription), used by describe_table, search_help and the app digest.Whether one AI tool applies to a table (or record) for a user, and why not.One call of an AI tool, as requested by a model: the provider's tool-call id, the tool's wire name, and its (parsed JSON) input object.Definition of one AI tool, as advertised to a model: its wire name, a description, its kind, and a strict JSON Schema for its input (an object schema with additionalProperties=false and a required list).The AI tool kernel: the one permission-checked path through which an AI model (the in-app assistant, an MCP server, ...) reads QQQ data.Settings for anAiToolKernel.The kind of an AI tool: what class of effect running it can have.The outcome of running an AI tool call through theAiToolKernel.Tools contributed to the AI tool kernel by qbits and applications.The result of running one AI tool call through theAiToolKernel.The default AiDataGateway: the core actions, in-process, with the session in QContext (inputs prepared by AiToolContext, so permissions are enforced).Data sensitivity, ordered from least to most sensitive.