examples/

directory
v0.40.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: Apache-2.0

README

SpeechKit Examples

These examples show the public framework surface that OSS consumers can import.

  • library/: embeds the dictation recording and transcription pipeline with host-provided adapters.
  • provider-catalog/: reads the v23 mode contracts and provider catalog used by host applications.
  • embed-companion/: composes wake detections, Assist requests, optional TTS, and runtime events through the v0.40.1 SDK surface.
  • embed-tts/: demonstrates pkg/speechkit/tts Provider, Router, Service, and provider-kind routing.
  • embed-event-bus/: publishes and consumes the additive wake, skill, companion, Voice-Agent, and TTS events.
  • voice-agent/game-instructor/: end-to-end 15-minute Voice Agent embedded in a Go program (persona/role/sequence TOML + WebSocket client). Reference for the single-prompt "build a voice agent into my app" use case.

Run an example from the repository root:

go run ./examples/provider-catalog
go run ./examples/embed-companion
go run ./examples/embed-tts
go run ./examples/embed-event-bus

Directories

Path Synopsis
Example: Using SpeechKit as a Go library for speech-to-text.
Example: Using SpeechKit as a Go library for speech-to-text.
Example: reading SpeechKit's public mode and provider catalog.
Example: reading SpeechKit's public mode and provider catalog.
voice-agent
game-instructor command
Example: 15-minute Voice-Agent game instructor.
Example: 15-minute Voice-Agent game instructor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL