TemplateInferenceResult
Type: Object
Represents the structured output from the AI-powered template inference process. It contains the ID of the matched product template, the configuration values extracted from the user's natural language input, a confidence score for the match, and a textual explanation of the AI's reasoning. This is the primary data structure used to translate unstructured requests into actionable production specifications.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| confidence | Float! | Confidence score (0.0-1.0) for the template match and extraction | ||
| configuration | InferredConfiguration! | Extracted configuration values mapped to template schema | ||
| extractedFacts | [Dictionary!] | Key-value pairs extracted from the input text | ||
| reasoning | String | Explanation of why this template was chosen and how values were extracted | ||
| templateId | ID! | The ID of the matched product template |