Package uno.anahata.ai.media
package uno.anahata.ai.media
Provides a comprehensive framework for handling audio and other media,
neatly separating high-level, AI-callable tools from their low-level
implementations.
Architecture
The package is divided into two main sub-packages:functions.spi: Contains the high-level, AI-callable tools, such asAudioToolandRadioTool. These classes are designed to be simple and declarative, exposing media capabilities in a way that is easy for the AI to understand and use.util: Contains the low-level implementation details for media handling, such as theMicrophoneclass, which manages the raw audio capture, and theAudioPlayer, which handles non-blocking sound playback.
util package can be tested and maintained
independently, while the AI tools in the functions package provide a
stable and consistent interface for the AI.