Helper functions

更新时间:
复制 MD 格式

This topic provides an overview of helper functions designed to support the functionality of PolarDB for AI.

Function

Description

AI_ResizeImage

Resizes an image.

AI_ImageAsBase64

Converts an image into a Base64-encoded string.

AI_ImageFromBase64

Converts a Base64-encoded string into an image.

AI_LoadFile

Loads a file from Object Storage Service (OSS).

AI_ModelCacheLists

Returns a list of currently cached models.