Skip to content

Commit

Permalink
feat(providers): add TextToSpeechProvider interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nullswan committed Oct 29, 2024
1 parent f22754d commit 7fb920a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions internal/providers/base/texttospeech.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package baseprovider

import "context"

type TextToSpeechProvider interface {
GenerateSpeech(ctx context.Context, message string) ([]byte, error)

GetModel() string
Close() error
}

0 comments on commit 7fb920a

Please sign in to comment.