class

LLM::ChatInclusions

Inherits Reference < Object

This class is used to setup additional content for use with a Chat#ask.

Constructors

Instance methods

audio_data(base64_content : String, format : String, source_path : String) : Nil

Expects base64-encoded data from an audio

Source
each(*args, **options)
Source
each(*args, **options, &)
Source
empty?(*args, **options)
Source
empty?(*args, **options, &)
Source
file_data(base64_content : String, source_path : String) : Nil

Expects base64-encoded data from a file

Source
image_data(data_url : String, source_path : String) : Nil

Expects a data URL string

Source
size(*args, **options)
Source
size(*args, **options, &)
Source
text(content : String, source_path : String) : Nil

Expects some text

Source