com.launchableinc.openai.moderation.ModerationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Basic java objects for the OpenAI GPT APIs
package com.launchableinc.openai.moderation;
import lombok.Data;
import java.util.List;
/**
* An object containing a response from the moderation api
*
* https://beta.openai.com/docs/api-reference/moderations/create
*/
@Data
public class ModerationResult {
/**
* A unique id assigned to this moderation.
*/
public String id;
/**
* The model used.
*/
public String model;
/**
* A list of moderation scores.
*/
public List results;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy