[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[],[],null,["# PromptFeedback interface\n\nIf the prompt was blocked, this will be populated with `blockReason` and the relevant `safetyRatings`.\n\n**Signature:** \n\n export interface PromptFeedback \n\nProperties\n----------\n\n| Property | Type | Description |\n|-------------------------------------------------------------------------------|-----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [blockReason](./ai.promptfeedback.md#promptfeedbackblockreason) | [BlockReason](./ai.md#blockreason) | |\n| [blockReasonMessage](./ai.promptfeedback.md#promptfeedbackblockreasonmessage) | string | A human-readable description of the `blockReason`.This property is only supported in the Vertex AI Gemini API ([VertexAIBackend](./ai.vertexaibackend.md#vertexaibackend_class)). |\n| [safetyRatings](./ai.promptfeedback.md#promptfeedbacksafetyratings) | [SafetyRating](./ai.safetyrating.md#safetyrating_interface)\\[\\] | |\n\nPromptFeedback.blockReason\n--------------------------\n\n**Signature:** \n\n blockReason?: BlockReason;\n\nPromptFeedback.blockReasonMessage\n---------------------------------\n\nA human-readable description of the `blockReason`.\n\nThis property is only supported in the Vertex AI Gemini API ([VertexAIBackend](./ai.vertexaibackend.md#vertexaibackend_class)).\n\n**Signature:** \n\n blockReasonMessage?: string;\n\nPromptFeedback.safetyRatings\n----------------------------\n\n**Signature:** \n\n safetyRatings: SafetyRating[];"]]