speech_to_text

package
v2.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2022 License: MIT Imports: 3 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileConfig

type FileConfig struct {
	FileId     *string `json:"file_id,omitempty"`
	Format     *string `json:"format,omitempty"`
	EngineType *string `json:"engine_type,omitempty"`
}

type Speech

type Speech struct {
	Speech    *string `json:"speech,omitempty"`
	SpeechKey *string `json:"speech_key,omitempty"`
}

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 SpeechStreamRecognizeRespData

type SpeechStreamRecognizeRespData struct {
	StreamId        *string `json:"stream_id,omitempty"`
	SequenceId      *int    `json:"sequence_id,omitempty"`
	RecognitionText *string `json:"recognition_text,omitempty"`
}

type SpeechToTextService

type SpeechToTextService struct {
	Speech *speech
}

func New

func New(app *lark.App) *SpeechToTextService

type StreamConfig

type StreamConfig struct {
	StreamId   *string `json:"stream_id,omitempty"`
	SequenceId *int    `json:"sequence_id,omitempty"`
	Action     *int    `json:"action,omitempty"`
	Format     *string `json:"format,omitempty"`
	EngineType *string `json:"engine_type,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL