All Products
Search
Document Center

PolarDB:Helper functions

Last Updated:Apr 21, 2025

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.