Skip to content

Latest commit

 

History

History
125 lines (63 loc) · 2.34 KB

IVideoService.md

File metadata and controls

125 lines (63 loc) · 2.34 KB

@ai16z/eliza v0.1.5-alpha.3 / IVideoService

Interface: IVideoService

Extends

Accessors

serviceType

Get Signature

get serviceType(): ServiceType

Returns

ServiceType

Inherited from

Service.serviceType

Defined in

packages/core/src/types.ts:968

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:973


isVideoUrl()

isVideoUrl(url): boolean

Parameters

url: string

Returns

boolean

Defined in

packages/core/src/types.ts:1075


fetchVideoInfo()

fetchVideoInfo(url): Promise<Media>

Parameters

url: string

Returns

Promise<Media>

Defined in

packages/core/src/types.ts:1076


downloadVideo()

downloadVideo(videoInfo): Promise<string>

Parameters

videoInfo: Media

Returns

Promise<string>

Defined in

packages/core/src/types.ts:1077


processVideo()

processVideo(url, runtime): Promise<Media>

Parameters

url: string

runtime: IAgentRuntime

Returns

Promise<Media>

Defined in

packages/core/src/types.ts:1078