Skip to main content

@okcashpro/okai v0.1.7-alpha.1 / ISpeechService

Interface: ISpeechService

Extends

Accessors

serviceType

Get Signature

get serviceType(): ServiceType

Returns

ServiceType

Inherited from

Service.serviceType

Defined in

packages/core/src/types.ts:1016

Methods

initialize()

abstract initialize(runtime): Promise<void>

Add abstract initialize method that must be implemented by derived classes

Parameters

runtime: IAgentRuntime

Returns

Promise<void>

Inherited from

Service.initialize

Defined in

packages/core/src/types.ts:1021


getInstance()

getInstance(): ISpeechService

Returns

ISpeechService

Defined in

packages/core/src/types.ts:1165


generate()

generate(runtime, text): Promise<Readable>

Parameters

runtime: IAgentRuntime

text: string

Returns

Promise<Readable>

Defined in

packages/core/src/types.ts:1166