1 Definition | 2 Functional Requirements | 3 Syntax |
4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
Data Type expressing the result of analysis of the goal of a question.
2 Functional Requirements
Intention provides abstracts of Intention of User Question using properties: qtopic, qfocus, qLAT, qSAT and qdomain.
3 Syntax
https://schemas.mpai.community/MMC/V2.3/data/Intention.json
4 Semantics
Label | Size | Description |
Header | N1 Bytes | The Intention Header |
– Standard | 9 Bytes | The characters “MMC-INT-V” |
– Version | N2 Bytes | Major version – 1 or 2 characters |
– Dot-separator | 1 Byte | The character “.” |
– Subversion | N3 Bytes | Minor version – 1 or 2 characters |
MInstanceID | N4 Bytes | Identifier of M-Instance. |
IntentionID | N5 Bytes | ID of Intention |
IntentionData | N6 Bytes | Data included in Intention. |
– qtopic | N7 Bytes | Indicates the topic of the question. Question topic is the object or event that the question is about. Ex. of Qtopic is King Lear in “Who is the author of King Lear?”. |
– qfocus | N8 Bytes | Indicates the focus of the question, which is the part of the question that, if replaced by the answer, makes the question a stand-alone statement. Ex. What, where, who, what policy. Which river, etc. Example: – Question: Who is the president of USA? (The word “Who” is the focus of the question and it will be replaced by “Biden” in the Answer.) – Answer: Biden is the president of USA. |
– qLAT | N8 Bytes | Indicates the lexical answer type of the question. |
– qSAT | N9 Bytes | Indicates the semantic answer type of the question. QSAT corresponds to Named Entity type of the language analysis results. |
– qdomain | Indicates the domain of the question such as “science”, “weather”, “history”. Example: Who is the third king of Yi dynasty in Korea? (qdomain: history) |
|
DescrMetadata | N10 Bytes | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with MPAI-MMC V2.3 Intention (OSD-INT) if:
- The Data validates against the Intention’s JSON Schema.
- All Data in the Intention’s JSON Schema have the specified type.
6 Performance Assessment