File tree Expand file tree Collapse file tree 4 files changed +25
-4
lines changed
test/kotlin/com/rogervinas Expand file tree Collapse file tree 4 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ dependencies {
3030 implementation(" org.springframework.ai:spring-ai-mcp-client-spring-boot-starter" )
3131
3232 // ollama
33- implementation(" org.springframework.ai:spring-ai-ollama-spring-boot-starter" )
33+ // implementation("org.springframework.ai:spring-ai-ollama-spring-boot-starter")
3434
3535 // bedrock
36- // implementation("org.springframework.ai:spring-ai-bedrock-converse-spring-boot-starter")
37- // implementation("org.springframework.ai:spring-ai-bedrock-ai-spring-boot-starter")
36+ implementation(" org.springframework.ai:spring-ai-bedrock-converse-spring-boot-starter" )
37+ implementation(" org.springframework.ai:spring-ai-bedrock-ai-spring-boot-starter" )
3838
3939 implementation(" org.springframework.ai:spring-ai-pgvector-store-spring-boot-starter" )
4040 runtimeOnly(" org.postgresql:postgresql" )
Original file line number Diff line number Diff line change 1+ spring :
2+ ai :
3+ bedrock :
4+ aws :
5+ access-key : " ${AWS_ACCESS_KEY_ID}"
6+ secret-key : " ${AWS_SECRET_ACCESS_KEY}"
7+ region : " ${AWS_REGION:eu-central-1}"
8+ converse :
9+ chat :
10+ enabled : true
11+ options :
12+ model : " ${AWS_BEDROCK_CHAT_MODEL}"
13+ cohere :
14+ embedding :
15+ enabled : true
16+ model : " ${AWS_BEDROCK_EMBEDDING_MODEL}"
17+ vectorstore :
18+ pgvector :
19+ dimensions : 1024
20+ initialize-schema : true
Original file line number Diff line number Diff line change 11spring :
22 profiles :
3- active : " ollama "
3+ active : " bedrock "
44 application :
55 name : chat-server
66 datasource :
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ import java.util.UUID
3939@ActiveProfiles(" test" , " ollama" )
4040@TestMethodOrder(MethodOrderer .OrderAnnotation ::class )
4141@Testcontainers
42+ @DisabledIfCI
4243class ChatServerApplicationTest {
4344
4445 companion object {
You can’t perform that action at this time.
0 commit comments