Documentation ¶
Index ¶
- func DeleteModelById(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper, ...)
- func DownloadModel(ctx context.Context, w http.ResponseWriter, r *http.Request, ...)
- func GetModelById(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper, ...)
- func ListModels(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper)
- func RegisterEndpoints(base string, whisper *whisper.Whisper, mux *http.ServeMux) *http.ServeMux
- func TranscribeFile(ctx context.Context, service *whisper.Whisper, w http.ResponseWriter, ...)
- type ResponseFormat
- type TaskType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteModelById ¶
func DeleteModelById(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper, id string)
func DownloadModel ¶
func GetModelById ¶
func GetModelById(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper, id string)
func ListModels ¶
func ListModels(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper)
func RegisterEndpoints ¶
func TranscribeFile ¶
Types ¶
type ResponseFormat ¶ added in v0.0.18
type ResponseFormat string
const ( FormatJson ResponseFormat = "json" FormatText ResponseFormat = "text" FormatSrt ResponseFormat = "srt" FormatVerboseJson ResponseFormat = "verbose_json" FormatVtt ResponseFormat = "vtt" )
Click to show internal directories.
Click to hide internal directories.