Files
go-sip/internal/ai/turn.go
T

20 lines
407 B
Go

package ai
// Mode is the approved AI execution mode bound to one call.
type Mode string
const (
ModeFullAI Mode = "full_ai"
ModeASROnly Mode = "asr_only"
)
// TurnResult contains the observed speech and any approved response or stop fact.
type TurnResult struct {
Transcript string
Reply string
AudioPCM16 []byte
EndedByKeyword bool
InvalidCall bool
InvalidReason string
}