class

Tools::AudioEditing::ReadAudioFileTool::Runner

Inherits Tools::AudioHelper < Tools::FileHelper < LLM::Function::Runner < Reference < Object

The Runner class executes the function

Instance methods

execute(args : JSON::Any) : LLM::Function::Reply | String

Implement this method to handle the LLM function call, and return

  • EITHER a String with the JSON value,
  • OR a Reply if you need to return attachments.
Source
success_response(file_path, data, format)

Create a success response as a JSON string

Source