Forces Gemini to output structured JSON matching a defined schema for API integration.
Generate structured JSON output that strictly follows this schema. You MUST output valid JSON and nothing else - no markdown, no explanation, no code fences.
Schema:
{
"type": "object",
"properties": {
"analysis": {
"type": "object",
"properties": {
"summary": {"type": "string", "description": "2-3 sentence summary"},
"sentiment": {"type": "string", "enum": ["positive", "negative", "neutral", "mixed"]},
"confidence": {"type": "number", "minimum": 0, "maximum": 1},
"key_entities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {"type": "string"},
"type": {"type": "string", "enum": ["person", "organization", "location", "product", "concept"]},
"relevance_score": {"type": "number", "minimum": 0, "maximum": 1}
},
"required": ["name", "type", "relevance_score"]
}
},
"topics": {"type": "array", "items": {"type": "string"}},
"action_items": {"type": "array", "items": {"type": "string"}}
},
"required": ["summary", "sentiment", "confidence", "key_entities", "topics"]
}
}
}
Content to analyze:
[PASTE CONTENT]Use with Gemini API's response_mime_type: "application/json" for guaranteed structured output.
Use Gemini's Google Search grounding to provide factual, up-to-date answers with source citations. Reduces hallucination by anchoring responses in real search results.
Expert coding assistance for Google Cloud Platform services. Covers Cloud Functions, BigQuery, Firestore, Cloud Run, and GCP-native architectures using Gemini Code Assist.
Automate Google Docs, Sheets, Slides, and Gmail workflows using Gemini's native Google Workspace integration. Templates for common business automation.
Leverage Gemini's 1M+ token context window for processing long documents, PDFs, and multimodal content. Extracts, summarizes, and cross-references across large document sets.
Activates Gemini Deep Research for thorough multi-source topic analysis with citations.
Creates a complete interactive web app within Gemini Canvas with responsive design and accessibility.
Workflows from the Neura Market marketplace related to this Gemini resource