
3/25/2026
What this post added
This post details Perplexity's implementation of OpenAI's Realtime API for voice search, focusing on technical challenges and solutions. Key contributions include strategies for context management with large transcripts by breaking them into smaller chunks and carefully managing message roles (`system`, `user`, `assistant`); standardizing audio processing across different client stacks using a Rust SDK for resampling, codec preference, and noise reduction; tuning voice activity detection (VAD) for noisy environments and implementing a 'voice lock' mechanism to manage pauses; and optimizing tool usage by narrowing the toolset and formatting tool outputs as structured JSON. The post emphasizes the importance of these technical decisions in bringing a robust voice interface to millions of users.