Definition
Functional Requirements
Syntax
Semantics
Conformance Testing
Performance Assessment
Definition
Functional Requirements
- Header: The Data shall have Header “PGM-FRS-V1.0”.
- Identification: The Data shall carry the identifiers of the M‑Instance, of the U‑Environment and of the session, and a unique identifier and a time (FinalResponseID, FinalResponseTime).
- Content: The Data shall include at least one of the text to be uttered (Text), the Actions that go with the text (Actions) and the Process Actions (ProcessActions); the Process Actions shall be present only if A-User Control asked for them in the AUC-BKN Request.
- Communicative Functions: The Data may include Communicative Functions (CommunicativeFunctions) with its Level (FunctionLevel): at Level 1 no function carries a Behaviour; at Level 2 a function may carry the Behaviour that realises it. A Final Response without Communicative Functions is a Level 0 Final Response. Every function shall be anchored to words of the Text (or before or after the utterance) and shall carry no times: the times are given by A‑User Formation. The Level shall not be higher than the Level requested in the AUC-BKN Request.
- Destination: The Final Response is the only output of Basic Knowledge of this kind and is sent to A-User Formation.
- Metadata: The Data shall include DataXMData and may include DescrMetadata.
Syntax
https://schemas.mpai.community/PGM1/V1.0/data/FinalResponse.json
Semantics
Table 1 – Semantics of Final Response
| Label | Description |
| Header | Header of the Data Type, with the version. (required) |
| MInstance | Identifier of the M-Instance. (required) |
| UEnvironment | Identifier of the U-Environment. (required) |
| SessionID | Identifier of the A-User session. (required) |
| FinalResponseID | Identifier of this instance. (required) |
| FinalResponseTime | Time at which the Data was produced. (required) |
| AUCBKNRequestID | Identifier of the AUC-BKN Request to which the Final Response answers. |
| DialogID | Identifier of the dialogue (the Model Context Protocol session) in which the Final Response was deliberated. |
| Text | The text to be uttered by the A-User. |
| Actions | The Actions of MMM-TEC V2.2 that the A-User performs and that go with the text, typically on its own Persona (for instance MM-Animate to move the Persona in the M-Instance). |
| FunctionLevel | The Level of the Final Response. One of: 0 (no Communicative Functions), 1 (Communicative Functions without Behaviour), 2 (Communicative Functions, each of which may carry the Behaviour that realises it). Absent: Level 0. Required when CommunicativeFunctions is present. |
| CommunicativeFunctions | What the A-User means to do with its body while it utters the Text: items of the Communicative Functions Data Type (FunctionID, Function, Target, Anchor, Intensity, Requirement and, at Level 2, Behaviour), without Times. |
| ProcessActions | The Process Actions, in the syntax of MMM-TEC V2.2, that carry out the response. Present only if A-User Control asked for them. |
| DataXMData | Data Exchange Metadata of MPAI-PTF: provenance, authorisation, security and confidence of the Data. |
| DescrMetadata | Descriptive metadata (plain text, at most 2048 characters). |
Conformance Testing
Data conforms with Final Response if it validates against the schema of Section 3, every Anchor is within the Text, every Target is the User or is given in the PC Prompt, and its Level is not higher than the Level requested in the AUC-BKN Request. If a schema contains references to other schemas, conformance of data for the primary schema implies that any data referencing a secondary schema shall also validate against the relevant schema.
Performance Assessment
Not part of this specification.