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

ee.carlrobert.llm.client.openai.completion.response.OpenAITextCompletionResponseChoice Maven / Gradle / Ivy

There is a newer version: 0.8.28
Show newest version
package ee.carlrobert.llm.client.openai.completion.response;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class OpenAITextCompletionResponseChoice {

  private final String text;

  @JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
  public OpenAITextCompletionResponseChoice(@JsonProperty("text") String text) {
    this.text = text;
  }

  public String getText() {
    return text;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy