File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed
src/main/java/com/javaaidev/text2sql/metadata Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >org.springframework.boot</groupId >
8
8
<artifactId >spring-boot-starter-parent</artifactId >
9
- <version >3.4.4 </version >
9
+ <version >3.4.5 </version >
10
10
<relativePath />
11
11
</parent >
12
12
18
18
<properties >
19
19
<java .version>21</java .version>
20
20
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21
- <spring-ai .version>1.0.0-M6 </spring-ai .version>
21
+ <spring-ai .version>1.0.0-M7 </spring-ai .version>
22
22
<chat-agent-ui .version>0.11.0</chat-agent-ui .version>
23
23
<llm-agent-spec .version>0.1.2</llm-agent-spec .version>
24
24
</properties >
58
58
</dependency >
59
59
<dependency >
60
60
<groupId >org.springframework.ai</groupId >
61
- <artifactId >spring-ai-openai-spring-boot-starter </artifactId >
61
+ <artifactId >spring-ai-starter-model-openai </artifactId >
62
62
</dependency >
63
63
<dependency >
64
64
<groupId >org.springdoc</groupId >
Original file line number Diff line number Diff line change 1
1
package com .javaaidev .text2sql .metadata ;
2
2
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonInclude .Include ;
5
+
6
+ @ JsonInclude (Include .NON_ABSENT )
3
7
public record ColumnInfo (
4
8
String name ,
5
9
String dataType ,
Original file line number Diff line number Diff line change 1
1
package com .javaaidev .text2sql .metadata ;
2
2
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonInclude .Include ;
3
5
import java .util .List ;
4
6
7
+ @ JsonInclude (Include .NON_ABSENT )
5
8
public record DatabaseMetadata (List <TableInfo > tables ) {
6
9
7
10
}
Original file line number Diff line number Diff line change 1
1
package com .javaaidev .text2sql .metadata ;
2
2
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonInclude .Include ;
3
5
import java .util .List ;
4
6
7
+ @ JsonInclude (Include .NON_ABSENT )
5
8
public record TableInfo (
6
9
String name ,
7
10
String description ,
You can’t perform that action at this time.
0 commit comments