Documentation ¶
Index ¶
- func DeleteFromGCS(ctx context.Context, client *storage.Client, bucket, objectName string) error
- func ExtractTranscript(resp *speechpb.LongRunningRecognizeResponse) string
- func NewRecognitionRequest(opts common.TranscribeOptions, audioInfo *speechpb.RecognitionConfig, ...) *speechpb.LongRunningRecognizeRequest
- func NewSpeechClient(ctx context.Context, opts common.TranscribeOptions) (*speech.Client, error)
- func NewStorageClient(ctx context.Context, opts common.TranscribeOptions) (*storage.Client, error)
- func UploadToGCS(ctx context.Context, client *storage.Client, bucket, filename string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFromGCS ¶
func ExtractTranscript ¶
func ExtractTranscript(resp *speechpb.LongRunningRecognizeResponse) string
func NewRecognitionRequest ¶
func NewRecognitionRequest(opts common.TranscribeOptions, audioInfo *speechpb.RecognitionConfig, gcsURI string) *speechpb.LongRunningRecognizeRequest
func NewSpeechClient ¶
func NewStorageClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.