Overview
TheGoogleRTVIObserver extends the base RTVIObserver type, to add support for the bot-llm-search-response message type and providing clients with the search results from the GoogleLLMService. See this section on Search Grounding for more details.
API Reference
Complete API documentation and method details
Gemini Docs
Official Google Gemini API documentation and features
Example Code
Working example using Google’s search grounding to ask about current events
Installation
To useGoogleRTVIObserver, install the required dependencies:
GoogleLLMService is properly configured.
Frame Translation
The observer maps theLLMSearchResponseFrame to the RTVIBotLLMSearchResponseMessage. Check out the RTVI Standard Reference for details on the message format.
Usage Example
To useGoogleRTVIObserver, pass a GoogleRTVIProcessor to your PipelineTask. This automatically creates and attaches the Google-specific observer: