Overview of Built-in Processors in genai_processors.core
mainThe genai_processors.core module provides a variety of pre-built processors designed for different stages of a GenAI pipeline, including model interaction, media I/O, and stream manipulation.
Key categories of processors include:
- Model Interaction:
GenaiModelfor turn-based interactions andLiveProcessorfor real-time streaming via the Google GenAI Live API. - Media Input/Output:
PyAudioIn/PyAudioOutfor microphone/speaker I/O,VideoInfor camera/screen capture, andRateLimitAudiofor managing audio playback speed. - Stream Manipulation:
PreambleandSuffixfor adding fixed content,Timestampfor adding temporal metadata, andMatchProcessorfor regex extraction. - Event & Data Processing:
EventDetectionfor detecting events in image streams andDocs/Sheets/Slidesfor downloading Google Workspace files for model grounding.