@okcashpro/okai v0.1.7-alpha.1 / ITranscriptionService
Interface: ITranscriptionService
Extends
Accessors
serviceType
Get Signature
get serviceType():
ServiceType
Returns
Inherited from
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
Defined in
packages/core/src/types.ts:1021
transcribeAttachment()
transcribeAttachment(
audioBuffer
):Promise
<string
>
Parameters
• audioBuffer: ArrayBuffer
Returns
Promise
<string
>
Defined in
packages/core/src/types.ts:1120
transcribeAttachmentLocally()
transcribeAttachmentLocally(
audioBuffer
):Promise
<string
>
Parameters
• audioBuffer: ArrayBuffer
Returns
Promise
<string
>
Defined in
packages/core/src/types.ts:1121
transcribe()
transcribe(
audioBuffer
):Promise
<string
>
Parameters
• audioBuffer: ArrayBuffer
Returns
Promise
<string
>
Defined in
packages/core/src/types.ts:1124
transcribeLocally()
transcribeLocally(
audioBuffer
):Promise
<string
>
Parameters
• audioBuffer: ArrayBuffer
Returns
Promise
<string
>