All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.devlive.sdk.openai.response.FileResponse Maven / Gradle / Ivy

Go to download

Provides an easy-to-use SDK for Java developers to interact with the APIs of open AI models.

There is a newer version: 2024.01.3
Show newest version
package org.devlive.sdk.openai.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.devlive.sdk.openai.entity.FileEntity;
import org.devlive.sdk.openai.entity.UsageEntity;

import java.util.List;

@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class FileResponse
{
    @JsonProperty(value = "object")
    private String object;

    @JsonProperty(value = "data")
    private List files;

    @JsonProperty(value = "usage")
    private UsageEntity usage;

    @JsonProperty(value = "id")
    private String id;

    @JsonProperty(value = "deleted")
    private Boolean deleted;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy