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

io.github.sashirestela.openai.domain.assistant.VectorStore Maven / Gradle / Ivy

There is a newer version: 3.9.2
Show newest version
package io.github.sashirestela.openai.domain.assistant;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Map;

@NoArgsConstructor
@Getter
@ToString
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class VectorStore {

    private String id;
    private String object;
    private Integer createdAt;
    private String name;
    private Integer usageBytes;
    private FileCount fileCounts;
    private VectorStoreStatus status;
    private ExpiresAfter expriresAfter;
    private Integer expiresAt;
    private Integer lastActiveAt;
    private Map metadata;

    public enum VectorStoreStatus {

        @JsonProperty("expired")
        EXPIRED,

        @JsonProperty("in_progress")
        IN_PROGRESS,

        @JsonProperty("completed")
        COMPLETED;

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy