command
Version:
v1.5.11
Opens a new window with list of versions in this module.
Published: Aug 20, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Audio Analysis Example
Send audio files with text prompts and have the model analyze or transcribe them.
What it shows
- Sending audio files alongside a text prompt using
WithAudioFile
- Using Gemini 2.5 for audio analysis and transcription
- Streaming the analysis response
Running
export GEMINI_API_KEY=your-key
cd sdk/examples/audio-analysis
go run .
Documentation
¶
Package main demonstrates audio analysis capabilities with the PromptKit SDK.
This example shows:
- Sending audio files with text prompts using WithAudioFile
- Using Gemini 2.5 for audio analysis and transcription
- Streaming audio analysis responses
Run with:
export GEMINI_API_KEY=your-key
go run .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.