Class Audios

java.lang.Object
smile.onnx.genai.Audios
All Implemented Interfaces:
AutoCloseable

public final class Audios extends Object implements AutoCloseable
Loaded audios for multimodal GenAI models.
  • Method Details

    • load

      public static Audios load(String... paths)
      Loads audios from file paths.
      Parameters:
      paths - one or more audio file paths.
      Returns:
      audios owned by the caller.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable