Image Part • AI Agent SDK

image_part: Build an image content part from raw bytes/base64 or a URL/data URI.

image_part

Function

</div>

This function is defined in the base module.

Build an image content part from raw bytes/base64 or a URL/data URI.

Signature

python
def image_part(data: Any) -> Dict[str, Any]

Parameters

ParamField Any

No description available.

Returns

ResponseField Dict[str, Any]

The result of the operation.

Source

View on GitHub

praisonaiagents/tools/base.py at line 153


Related Documentation