AI Generated Template Response
objectAI-generated inspection template
Notes about the template
Match pattern:^(?!\s)(?!.*\s$)[\S\s]+(?<!\s)$
>= 0 characters<= 120 characters
Name of the generated template
Match pattern:^\S[^\n]+\S$
>= 3 characters<= 60 characters
Name of the inspectable to use as a fallback when no specific inspectable is identified
Match pattern:^\S[^\n]+\S$
>= 3 characters<= 60 characters
List of template items generated by AI
>= 0 items<= 200 items
Show Child Parameters
Template Item
objectAn item can be of a valueType and is uniquely identified by the name
Unique identifier for a template item.
Match pattern:^[A-Za-z0-9-]{1,120}$
>= 1 characters<= 120 characters
Defines the type of data element within a template
Allowed values:CHECKMETERTEXTLOCATIONPHOTO
Unique name of the template item.
Match pattern:^\S[^\n]+\S$
>= 3 characters<= 120 characters
Additional information on the item
Match pattern:^(?!\s)(?!.*\s$)[\S\s]+(?<!\s)$
>= 0 characters<= 2000 characters
Marks template item as mandatory to fill in on every report based on the template
Individual label or attribute of an item
Match pattern:^\S[^\n]*\S$
>= 1 characters<= 80 characters>= 0 items<= 1 items
Defect
objectDefect details of a vehicle or other asset
Severity of the defect.
Allowed values:MINORCRITICAL
Attachment related to the defect
>= 1 items<= 100 items
Show Child Parameters
Type of the defect.
Allowed values:PENDINGFIXEDCERTIFIED
Asset under inspection
Show Child Parameters
Report items related to the defect
>= 0 items<= 200 items
Show Child Parameters
Unique identifier of a defect.
Match pattern:^[A-Za-z0-9-]{1,120}$
>= 1 characters<= 120 characters
ETag as described in RFC 9110
Match pattern:^[A-Za-z0-9-]+$
>= 1 characters<= 120 characters
Notes about the defect
Match pattern:^[^\n]*$
>= 0 characters<= 2000 characters
Reference to another resource
>= 0 items<= 100 items
Show Child Parameters
Defect status change information
>= 1 items<= 100 items
Show Child Parameters
InsightsCategory
stringRepresents the category of vehicle insights to retrieve. Allowed values:
- ACTIVE: Vehicles that are currently active.
- INSPECTED: Vehicles that have inspections for all their active days.
- NO_INSPECTION: Vehicles that have no inspections during any of their active days.
- PARTIAL: Vehicles that have inspections on some, but not all, of their active days.
Allowed values:ACTIVEINSPECTEDNO_INSPECTIONPARTIAL
SetupPromptRequest
objectType of prompt input for AI template generation
Allowed values:TEXTIMAGE
Optional ID of the Bedrock model to use (e.g., “anthropic.claude-3-sonnet-20240229-v1:0”)
Match pattern:^[a-zA-Z0-9.\-:]+$
>= 1 characters<= 255 characters
Example:anthropic.claude-3-sonnet-20240229-v1:0
The input for AI template generation:
- For
promptType: TEXT- Plain text description of the inspection template - For
promptType: IMAGE- Base64-encoded image data (JPEG or PNG) of an existing inspection form
Match pattern:^\S[^\n]+\S$
>= 1 characters<= 10000000 characters
Optional dictionary to hold model-specific inference parameters (e.g., “temperature”, “max_tokens”, “top_p”)
Example:{"max_tokens":2000,"temperature":0.7,"top_p":0.9}