fromImageSource
Creates an OpenAIImageUrl from an io.kory.core.message.content.source.ImageSource.
Return
An OpenAIImageUrl with the processed URL.
Parameters
imageSource
The image source to convert.
Throws
if image not found.
Creates an OpenAIImageUrl from an io.kory.core.message.content.source.ImageSource.
An OpenAIImageUrl with the processed URL.
The image source to convert.
if image not found.