@okcashpro/okai v0.1.7-alpha.1 / generateCaption
Function: generateCaption()
generateCaption(
data
,runtime
):Promise
<object
>
Parameters
• data
• data.imageUrl: string
• runtime: IAgentRuntime
Returns
Promise
<object
>
title
title:
string
description
description:
string