23 lines
346 B
Java
23 lines
346 B
Java
package com.theokanning.openai.edit;
|
|
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* An edit generated by GPT-3
|
|
*
|
|
* https://beta.openai.com/docs/api-reference/edits/create
|
|
*/
|
|
@Data
|
|
public class EditChoice {
|
|
|
|
/**
|
|
* The edited text.
|
|
*/
|
|
String text;
|
|
|
|
/**
|
|
* This index of this completion in the returned list.
|
|
*/
|
|
Integer index;
|
|
}
|