Documentation
¶
Overview ¶
Package speech_to_text code generated by lark suite oapi sdk gen
Package speech_to_text code generated by lark suite oapi sdk gen
Index ¶
- type FileConfig
- type Speech
- type SpeechFileRecognizeReq
- type SpeechFileRecognizeReqBody
- type SpeechFileRecognizeResp
- type SpeechFileRecognizeRespData
- type SpeechStreamRecognizeReq
- type SpeechStreamRecognizeReqBody
- type SpeechStreamRecognizeResp
- type SpeechStreamRecognizeRespData
- type SpeechToTextService
- type StreamConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileConfig ¶
type SpeechFileRecognizeReq ¶
type SpeechFileRecognizeReq struct {
Body *SpeechFileRecognizeReqBody `body:""`
}
type SpeechFileRecognizeReqBody ¶
type SpeechFileRecognizeReqBody struct { Speech *Speech `json:"speech,omitempty"` Config *FileConfig `json:"config,omitempty"` }
type SpeechFileRecognizeResp ¶
type SpeechFileRecognizeResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *SpeechFileRecognizeRespData `json:"data"` }
type SpeechFileRecognizeRespData ¶
type SpeechFileRecognizeRespData struct {
RecognitionText *string `json:"recognition_text,omitempty"`
}
type SpeechStreamRecognizeReq ¶
type SpeechStreamRecognizeReq struct {
Body *SpeechStreamRecognizeReqBody `body:""`
}
type SpeechStreamRecognizeReqBody ¶
type SpeechStreamRecognizeReqBody struct { Speech *Speech `json:"speech,omitempty"` Config *StreamConfig `json:"config,omitempty"` }
type SpeechStreamRecognizeResp ¶
type SpeechStreamRecognizeResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *SpeechStreamRecognizeRespData `json:"data"` }
type SpeechToTextService ¶
type SpeechToTextService struct {
Speech *speech
}
func New ¶
func New(app *lark.App) *SpeechToTextService
Click to show internal directories.
Click to hide internal directories.