File tree Expand file tree Collapse file tree 8 files changed +12
-10
lines changed
src/main/java/com/theokanning/openai/response/content Expand file tree Collapse file tree 8 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >top.bella</groupId >
88 <artifactId >openai-java</artifactId >
9- <version >0.23.77 </version >
9+ <version >0.23.78 </version >
1010 </parent >
1111 <packaging >jar</packaging >
1212 <artifactId >openai-api</artifactId >
Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ public class ContainerFileCitation extends Annotation {
4848 * Character start position.
4949 */
5050 @ JsonProperty ("start_index" )
51- private int startIndex ;
51+ private Integer startIndex ;
5252
5353 /**
5454 * Character end position.
5555 */
5656 @ JsonProperty ("end_index" )
57- private int endIndex ;
57+ private Integer endIndex ;
5858
5959 @ Override
6060 public String getType () {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public class FileCitation extends Annotation {
5858 /**
5959 * Position in file list.
6060 */
61- private int index ;
61+ private Integer index ;
6262
6363 @ Override
6464 public String getType () {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public class FilePath extends Annotation {
3636 /**
3737 * Index position.
3838 */
39- private int index ;
39+ private Integer index ;
4040
4141 @ Override
4242 public String getType () {
Original file line number Diff line number Diff line change 11package com .theokanning .openai .response .content ;
22
3+ import com .fasterxml .jackson .annotation .JsonInclude ;
34import com .fasterxml .jackson .annotation .JsonProperty ;
45import lombok .AllArgsConstructor ;
56import lombok .Builder ;
1718@ Builder
1819@ NoArgsConstructor
1920@ AllArgsConstructor
21+ @ JsonInclude (JsonInclude .Include .NON_NULL )
2022public class URLCitation extends Annotation {
2123
2224 /**
@@ -39,13 +41,13 @@ public class URLCitation extends Annotation {
3941 * Character start position in text.
4042 */
4143 @ JsonProperty ("start_index" )
42- private int startIndex ;
44+ private Integer startIndex ;
4345
4446 /**
4547 * Character end position in text.
4648 */
4749 @ JsonProperty ("end_index" )
48- private int endIndex ;
50+ private Integer endIndex ;
4951
5052 @ Override
5153 public String getType () {
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >top.bella</groupId >
88 <artifactId >openai-java</artifactId >
9- <version >0.23.77 </version >
9+ <version >0.23.78 </version >
1010 </parent >
1111 <packaging >jar</packaging >
1212
Original file line number Diff line number Diff line change 55
66 <groupId >top.bella</groupId >
77 <artifactId >openai-java</artifactId >
8- <version >0.23.77 </version >
8+ <version >0.23.78 </version >
99 <packaging >pom</packaging >
1010 <description >openai java 版本</description >
1111 <name >openai-java</name >
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >top.bella</groupId >
88 <artifactId >openai-java</artifactId >
9- <version >0.23.77 </version >
9+ <version >0.23.78 </version >
1010 </parent >
1111 <packaging >jar</packaging >
1212
You can’t perform that action at this time.
0 commit comments