Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsOpenAiEngine ¶
Types ¶
type Step ¶
type Step struct {
Settings *settings.StepSettings
}
func (*Step) SetStreaming ¶
type Transcription ¶ added in v0.2.18
type Transcription struct { File string `json:"file"` Response *openai.AudioResponse `json:"response"` // contains filtered or unexported fields }
type TranscriptionClient ¶ added in v0.2.18
type TranscriptionClient struct {
// contains filtered or unexported fields
}
func NewTranscriptionClient ¶ added in v0.2.18
func NewTranscriptionClient(apiKey, model, prompt, language string, temperature float32) *TranscriptionClient
func (*TranscriptionClient) TranscribeFile ¶ added in v0.2.18
func (tc *TranscriptionClient) TranscribeFile(mp3FilePath string, out chan<- Transcription, wg *sync.WaitGroup)
Click to show internal directories.
Click to hide internal directories.