LoongSuite Java GenAI Utils 0.3.0
Built on OpenTelemetry GenAI Semantic Conventions v1.41.1.
Changes
- Multimodal telemetry — Add
MessageContentCapablefor invocation types that carry input/output messages; support blob-to-URI preprocessing viaMultimodalPreUploader, modality resolution, and completion hooks for multimodal content (#28) - Multimodal upload backends — Add SLS (
SlsUploader,SlsMultimodalClient) and local file uploaders; PCM audio is converted to WAV by default for CMS playback compatibility (#29) - Examples overhaul — Restructure into multi-module examples:
basic-example(REST, all well-knowngen_ai.operation.namevalues) andasr-example(WebSocket ASR → LLM → TTS voice assistant) - Documentation — Add examples learning guide, GenAI instrumentation reference, and onboarding skill under
skills/genai-utils-onboarding/
Maven Coordinates
<dependency>
<groupId>com.alibaba.loongsuite</groupId>
<artifactId>otel-util-genai</artifactId>
<version>0.3.0</version>
</dependency>Maven Central: https://central.sonatype.com/artifact/com.alibaba.loongsuite/otel-util-genai/0.3.0