img {tidyllm}R Documentation

Create an Image Object

Description

This function reads an image file from disk, encodes it in base64, and returns a tidyllm_image object that can be used in multimodal embedding requests.

Usage

img(.path)

Arguments

.path

The path to the image file on disk.

Value

An tidyllm_image, containing:


[Package tidyllm version 0.3.4 Index]