Class SpeechService
Inheritance
SpeechService
Assembly: Glitch9.AIDevKit.Provider.SherpaOnnx.dll
Syntax
public sealed class SpeechService
Constructors
|
Edit this page
View Source
SpeechService(SherpaOnnxClient)
Declaration
public SpeechService(SherpaOnnxClient client)
Parameters
Methods
|
Edit this page
View Source
CreateAsync(SpeechGenerationRequest)
Declaration
public UniTask<Generated<IAudioAsset>> CreateAsync(SpeechGenerationRequest request)
Parameters
Returns
|
Edit this page
View Source
StreamAsync(SpeechGenerationRequest)
Declaration
public IGenerativeStream<Delta<IAudioChunk>, IAudioAsset> StreamAsync(SpeechGenerationRequest request)
Parameters
Returns
Extension Methods