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

com.theokanning.openai.embedding.Embedding Maven / Gradle / Ivy

package com.theokanning.openai.embedding;

import lombok.Data;

import java.util.List;

/**
 * Represents an embedding returned by the embedding api
 *
 * https://beta.openai.com/docs/api-reference/classifications/create
 */
@Data
public class Embedding {

    /**
     * The type of object returned, should be "embedding"
     */
    String object;

    /**
     * The embedding vector
     */
    List embedding;

    /**
     * The position of this embedding in the list
     */
    Integer index;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy