localAi / core /schema /transcription.go
eder0782's picture
inicio
7def60a
raw
history blame contribute delete
344 Bytes
package schema
import "time"
type Segment struct {
Id int `json:"id"`
Start time.Duration `json:"start"`
End time.Duration `json:"end"`
Text string `json:"text"`
Tokens []int `json:"tokens"`
}
type TranscriptionResult struct {
Segments []Segment `json:"segments"`
Text string `json:"text"`
}