Skip to main content

Code

cookbook/05_agent_os/interfaces/whatsapp/agent_with_media.py

Usage

1

Set up your virtual environment

2

Set Environment Variables

See the WhatsApp Bot setup guide for how to get these values from the Meta Developer Dashboard.
3

Install dependencies

4

Run Example

Key Features

  • Multimodal AI: Gemini Flash for image, video, and audio processing
  • Image Analysis: Object recognition, scene understanding, text extraction
  • Video Processing: Content analysis and summarization
  • Audio Support: Voice message transcription and response
  • Context Integration: Combines media analysis with conversation history