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

ee.carlrobert.llm.client.anthropic.completion.ClaudeCompletionResponse Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import ee.carlrobert.llm.completion.CompletionResponse;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ClaudeCompletionResponse implements CompletionResponse {

  private String id;
  private String type;
  private String role;
  private List content;
  private ClaudeCompletionResponseUsage usage;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public List getContent() {
    return content;
  }

  public void setContent(
      List content) {
    this.content = content;
  }

  public ClaudeCompletionResponseUsage getUsage() {
    return usage;
  }

  public void setUsage(
      ClaudeCompletionResponseUsage usage) {
    this.usage = usage;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy