com.theokanning.openai.embedding.EmbeddingResult Maven / Gradle / Ivy
package com.theokanning.openai.embedding;
import com.theokanning.openai.Usage;
import lombok.Data;
import java.util.List;
/**
* An object containing a response from the answer api
*
* https://beta.openai.com/docs/api-reference/embeddings/create
*/
@Data
public class EmbeddingResult {
/**
* The GPTmodel used for generating embeddings
*/
String model;
/**
* The type of object returned, should be "list"
*/
String object;
/**
* A list of the calculated embeddings
*/
List data;
/**
* The API usage for this request
*/
Usage usage;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy