Setting the file. One moment.
Subchapter 27.6
references/design-refs/ai.mdMarkdown5 KBView on GitHub
Applies to: Vertex AI (traditional ML), Cloud Vision API, Cloud ML Engine (deprecated — now part of Vertex AI)
If the detected AI workload is LLM-based (generative models), load the source-specific design reference instead of this file:
ai-workload-profile.json → summary.ai_source = "gemini": load references/design-refs/ai-gemini-to-bedrock.mdai-workload-profile.json → summary.ai_source = "openai": load references/vendored/ai/ai-openai-to-bedrock.mdai-workload-profile.json → summary.ai_source = "both": load both filesai-workload-profile.json → summary.ai_source = "other" or absent, OR if the workload is traditional ML (custom models, Vision API, Speech API): use the SageMaker/Rekognition/Textract rubric below.AnalyzeExpense, AnalyzeID, or AnalyzeDocument with FORMS/TABLES depending on document type)DetectDocumentText)Apply in order:
preferences.json: design_constraints.cost_sensitivity + ai_constraints (if present)
google_ai_platform_model (model_name=”image-classifier”, framework=PYTORCH)inferredgoogle_vision_api_call (feature=TEXT_DETECTION, image_source=GCS)inferredgoogle_automl_image_classification_datasetinferreddocumentai.process_document call detected in app codeAnalyzeExpense for invoices/receipts, AnalyzeID for identity documents, AnalyzeDocument with FORMS/TABLES for general forms, DetectDocumentText for plain OCR — pick the closest match to the detected GCP processor type; default to AnalyzeDocument with FORMS/TABLES when the processor type can’t be determined)inferredspeech.recognize or speech.long_running_recognize call detected in app codeStartStreamTranscription; batch → StartTranscriptionJob)inferred{
"gcp_type": "google_ai_platform_model",
"gcp_address": "image-classifier-v2",
"gcp_config": {
"framework": "PYTORCH",
"version": "1.9"
},
"aws_service": "SageMaker",
"aws_config": {
"endpoint_name": "image-classifier-v2",
"instance_type": "ml.m5.large",
"container_image": "pytorch:1.9"
},
"confidence": "inferred",
"rationale": "Vertex AI custom model → SageMaker Endpoint (PyTorch supported)"
}