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

[FEATURE] Add support for Chat Completion Input Audio #53

@sergioverde90

Description

@sergioverde90

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; ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions