camb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package camb provides Camb AI speech-to-text.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type STTService

type STTService struct {
	// contains filtered or unexported fields
}

STTService implements services.STTService using Camb AI's transcription API.

func NewSTT

func NewSTT(apiKey, baseURL, model string) *STTService

NewSTT creates a Camb STT service.

func (*STTService) Transcribe

func (s *STTService) Transcribe(ctx context.Context, audio []byte, sampleRate, numChannels int) ([]*frames.TranscriptionFrame, error)

Transcribe sends audio to Camb and returns transcription frames.

Jump to

Keyboard shortcuts

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