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

com.launchableinc.openai.messages.MessageFile Maven / Gradle / Ivy

The newest version!
package com.launchableinc.openai.messages;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * A list of files attached to a Message
 * 

* https://platform.openai.com/docs/api-reference/messages/file-object */ @NoArgsConstructor @AllArgsConstructor @Data public class MessageFile { /** * The identifier, which can be referenced in API endpoints. */ String id; /** * The object type, which is always thread.message.file. */ String object; /** * The Unix timestamp (in seconds) for when the message file was created. */ @JsonProperty("created_at") int createdAt; /** * The ID of the message that the File is attached to. */ @JsonProperty("message_id") String messageId; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy