stemedb/cmd/pitch-voiceover/pkg/elevenlabs/doc.go
jordan 157dbbb9eb feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing)
## Phase 8: Enterprise Extractor Improvements 
- 14 security extractors (TLS, JWT, SQL injection, XSS, etc.)
- 10 framework-specific extractors (Spring, Django, Rails, etc.)
- Config file security detection (YAML, TOML)

## Phase 9: Autonomous Extractor Generation 
- Shadow mode executor with TP/FP tracking
- Graduation pipeline with confidence thresholds
- Auto-rollback on regression detection
- Cross-project pattern syncing

## UAT Suite Complete (14 scripts, 90 tests)
- test-core-detection.sh (6 tests)
- test-declarative-extractors.sh (5 tests)
- test-domain-frameworks.sh (5 tests)
- test-domain-unreal.sh (3 tests)
- test-llm-extraction.sh (6 tests)
- test-eval-harness.sh (5 tests)
- test-cross-language.sh (3 tests)
- test-precommit-performance.sh (4 tests)
- test-output-formats.sh (8 tests)
- test-drift-detection.sh (6 tests)
- test-exit-codes.sh (12 tests)
+ 3 more scripts

## Other Changes
- Updated roadmap to mark Phase 8-9 complete
- Added .gitignore entries for build artifacts
- Updated pre-commit: 800 line limit, exclude tests/data/cmd

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 22:50:55 -07:00

29 lines
913 B
Go

// Package elevenlabs provides a Go client for the ElevenLabs TTS API.
//
// ElevenLabs is a text-to-speech API that generates high-quality, natural-sounding
// voices for applications including voiceovers, podcasts, and video content.
//
// Basic usage:
//
// client, err := elevenlabs.NewClient(elevenlabs.Config{
// APIKey: os.Getenv("ELEVENLABS_API_KEY"),
// })
// if err != nil {
// log.Fatal(err)
// }
//
// // Generate speech audio
// audio, err := client.TextToSpeech(ctx, "voice-id", elevenlabs.TextToSpeechRequest{
// Text: "Hello world",
// })
// if err != nil {
// log.Fatal(err)
// }
//
// // audio is []byte containing MP3 data
//
// The client automatically handles retries for server errors (5xx) and rate
// limits (429) with exponential backoff. Use the sentinel errors (ErrRateLimit,
// ErrServerError, etc.) with errors.Is() for programmatic error handling.
package elevenlabs