Skip to main content

@ai16z/eliza v0.1.6-alpha.4 / IVideoService

Interface: IVideoService

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


isVideoUrl()

isVideoUrl(url): boolean

Parameters

url: string

Returns

boolean

Defined in

packages/core/src/types.ts:1129


fetchVideoInfo()

fetchVideoInfo(url): Promise<Media>

Parameters

url: string

Returns

Promise<Media>

Defined in

packages/core/src/types.ts:1130


downloadVideo()

downloadVideo(videoInfo): Promise<string>

Parameters

videoInfo: Media

Returns

Promise<string>

Defined in

packages/core/src/types.ts:1131


processVideo()

processVideo(url, runtime): Promise<Media>

Parameters

url: string

runtime: IAgentRuntime

Returns

Promise<Media>

Defined in

packages/core/src/types.ts:1132