# Audio Summarization

Summarize an audio file

|---|---|
| You can query a model directly and test the results returned when using different parameter values with the Cloud console, or by calling the Vertex AI API directly. - For an example of using the Vertex AI API, see [Quickstart using the Vertex AI API](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/api-quickstart). - To view this sample in the Cloud console: [Go to Google Cloud console](https://console.cloud.google.com/vertex-ai/generative/language/prompt-examples/Audio%20Summarization) <br /> ||
| #### Prompt Freeform Please analyze this audio file and summarize the contents of the audio as bullet points. #### Response Of course. Here is a bulleted summary of the audio's content: - **Importance of Headings:** When writing documentation and UI copy, use informative language and semantic code for titles and headings. This is critical for content organization, readability, and accessibility for all users. - **Characteristics of Good Headings:** - **Short \& High-Level:** They should be brief summaries of the section's content, requiring less cognitive effort. - **Context-Independent:** A heading should be understandable on its own, without needing to read the surrounding text. - **Action-Oriented:** Use language that tells the user what they will learn or what action they can take (e.g., "Get started with this feature," "Store your data on a server"). - **Semantic HTML Structure:** - The structure of your content is as important as the content itself. - Use HTML heading tags (H1, H2, H3, etc.) correctly to define a logical hierarchy. H1 is for the main title, H2 for major sections, H3 for subsections, and so on. - Prioritize the correct semantic format (function) over visual aesthetics (fashion), as screen readers and other assistive technologies rely on this structure to navigate content. - **Example 1: Documentation (Google Ad Manager):** - An article was difficult to scan because it lacked subheadings. - By adding two H2 headings ("Create new audience segments" and "Update existing segments"), the article becomes much easier for users to navigate and find the specific instructions they need. - **Example 2: Product UI (Google Home App):** - The headings "Play music," "Listen on," and "Manage your system" are effective. - They are scannable, short (omitting unnecessary words), and action-oriented, helping the user quickly understand what they can do. - **Conclusion \& Key Takeaways:** - Use concise, action-oriented language in headings. - Always write correct semantic HTML. - Using the correct HTML heading values is more important than the visual appearance of the text. | |---|---| | **Model:** | gemini-2.5-pro | | **Temperature:** | 0.2 | | **Max output tokens:** | 8192 | | **TopK:** | 40.0 | | **TopP:** | 0.95 | |