Files
pipecat/examples
James Hush 0a163201ea feat: Add sentence aggregation and Whisker debugger to transcript processor
- Enhance TranscriptHandler to aggregate transcript fragments into complete sentences using match_endofsentence()
- Add Whisker debugger integration for real-time pipeline visualization
- Implement sentence buffering for both user and assistant messages
- Add finalize_partial_sentences() method to handle incomplete sentences on disconnect
- Improves transcript readability by reducing fragmented output

Changes:
- Import match_endofsentence utility for sentence boundary detection
- Add pipecat_whisker.WhiskerObserver for debugging capabilities
- Modify on_transcript_update() to accumulate and aggregate messages
- Create _save_sentence() helper method for complete sentence handling
- Update client disconnect handler to preserve partial sentences
2025-09-25 14:01:19 +08:00
..
2025-07-29 11:28:40 -04:00

Pipecat Examples

This directory contains examples to help you learn how to build with Pipecat.

Getting Started

New to Pipecat? Start here:

  • Quickstart - Get your first voice AI bot running in 5 minutes (coming soon)
  • Client/Server Web - Learn to build web applications with Pipecat's client SDKs (coming soon)
  • Phone Bot with Twilio - Connect your bot to a phone number (coming soon)

Foundational Examples

Single-file examples that introduce core Pipecat concepts one at a time. These examples:

  • Build on each other progressively
  • Focus on specific features or integrations
  • Are used for testing with every Pipecat release

See the Foundational Examples README for the complete list.

More Advanced Examples

Ready to explore complex use cases? Visit pipecat-examples for:

  • Production-ready applications
  • Multi-platform client implementations
  • Telephony integrations
  • Multimodal and creative applications
  • Deployment and monitoring examples