This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
As discussed in langchain4j/langchain4j#2434 (comment), the base code for Content.java has to be updated in order to support the input_audio content type.
Describe the solution you'd like
public enum ContentType { @JsonProperty("text") TEXT, @JsonProperty("image_url") IMAGE_URL, // NEW! @JsonProperty("input_audio") AUDIO } ... @JsonDeserialize(builder = InputAudio.Builder.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) public class InputAudio { private String data; private String format; ...