@okcashpro/okai v0.1.7-alpha.1 / IPdfService
Interface: IPdfService
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
getInstance()
getInstance():
IPdfService
Returns
Defined in
packages/core/src/types.ts:1170
convertPdfToText()
convertPdfToText(
pdfBuffer
):Promise
<string
>
Parameters
• pdfBuffer: Buffer
Returns
Promise
<string
>