| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package com.goafanti.baiduAI.bo;
- public class OutSendChatOK extends OutSendChat {
- private String id;
- private String object;
- private String created;
- private String sentence_id;
- private String is_end;
- private String result;
- private String need_clear_history;
- private Usage usage;
- private class Usage {
- private Integer prompt_tokens;
- private Integer completion_tokens;
- private Integer total_tokens;
- public Integer getPrompt_tokens() {
- return prompt_tokens;
- }
- public void setPrompt_tokens(Integer prompt_tokens) {
- this.prompt_tokens = prompt_tokens;
- }
- public Integer getCompletion_tokens() {
- return completion_tokens;
- }
- public void setCompletion_tokens(Integer completion_tokens) {
- this.completion_tokens = completion_tokens;
- }
- public Integer getTotal_tokens() {
- return total_tokens;
- }
- public void setTotal_tokens(Integer total_tokens) {
- this.total_tokens = total_tokens;
- }
- }
- }
|