---
title: "SetupPromptRequest"
url: "https://developers.vzconnect.com/apis/fleet-inspections-api/versions/e4689b0c-c26d-40d6-b023-5303083c4a3f/schemas/SetupPromptRequest"
---

> Full API specification: https://developers.vzconnect.com/apis/fleet-inspections-api/versions/e4689b0c-c26d-40d6-b023-5303083c4a3f.md

# SetupPromptRequest

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Fleet Inspections API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    SetupPromptRequest:
      required:
        - promptText
        - promptType
      type: object
      properties:
        promptType:
          type: string
          description: Type of prompt input for AI template generation
          enum:
            - TEXT
            - IMAGE
        modelId:
          maxLength: 255
          minLength: 1
          pattern: ^[a-zA-Z0-9.\-:]+$
          type: string
          description: Optional ID of the Bedrock model to use (e.g.,
            "anthropic.claude-3-sonnet-20240229-v1:0")
          example: anthropic.claude-3-sonnet-20240229-v1:0
        promptText:
          maxLength: 10000000
          minLength: 1
          pattern: ^\S[^\n]+\S$
          type: string
          description: >
            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
        inferenceParameters:
          type: object
          additionalProperties: true
          description: 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
```
