File tree Expand file tree Collapse file tree
samples/spring-ai-te-agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 </scm >
2929 <properties >
3030 <java .version>21</java .version>
31- <spring-ai .version>1.0.3 </spring-ai .version>
31+ <spring-ai .version>1.1.0 </spring-ai .version>
3232 <resilience4j-bom .version>2.3.0</resilience4j-bom .version>
3333 <testcontainers .version>1.21.3</testcontainers .version>
3434 </properties >
8989 <dependency >
9090 <groupId >org.springframework.ai</groupId >
9191 <artifactId >spring-ai-starter-model-chat-memory-repository-jdbc</artifactId >
92- </dependency >
92+ </dependency >
9393 <dependency >
9494 <groupId >org.postgresql</groupId >
9595 <artifactId >postgresql</artifactId >
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ spring.ai.bedrock.converse.chat.options.model=global.anthropic.claude-sonnet-4-2
2727# spring.ai.bedrock.converse.chat.options.model=us.amazon.nova-pro-v1:0
2828# spring.ai.bedrock.converse.chat.options.model=us.amazon.nova-premier-v1:0
2929
30+ # Prompt Caching Configuration (SYSTEM_AND_TOOLS strategy)
31+ # Caches both system prompts and tool definitions for optimal performance
32+ spring.ai.bedrock.converse.chat.options.cache-options.strategy =SYSTEM_AND_TOOLS
33+
3034# Document processing model
3135ai.agent.document.model =global.anthropic.claude-sonnet-4-5-20250929-v1:0
3236
@@ -49,5 +53,5 @@ spring.ai.vectorstore.pgvector.dimensions=1024
4953# MCP Client Configuration
5054spring.ai.mcp.client.toolcallback.enabled =true
5155# via env var SPRING_AI_MCP_CLIENT_SSE_CONNECTIONS_SERVER1_URL=http://localhost:8082
52- spring.ai.mcp.client.sse.connections.server2 .url =http://localhost:8082
53- spring.ai.mcp.client.sse.connections.server3 .url =http://localhost:8083
56+ spring.ai.mcp.client.sse.connections.travel .url =http://localhost:8082
57+ spring.ai.mcp.client.sse.connections.backoffice .url =http://localhost:8083
Original file line number Diff line number Diff line change 2828 </scm >
2929 <properties >
3030 <java .version>21</java .version>
31- <spring-ai .version>1.0.3 </spring-ai .version>
31+ <spring-ai .version>1.1.0 </spring-ai .version>
3232 <testcontainers .version>1.21.3</testcontainers .version>
3333 </properties >
3434 <dependencyManagement >
Original file line number Diff line number Diff line change @@ -100,7 +100,12 @@ $SOURCES_FOLDER/demo-scripts/03-add-rag.sh
100100``` bash
101101curl -X POST \
102102 -H " Content-Type: text/plain" \
103- --data-binary @$SOURCES_FOLDER /ai-agent/samples/policy-travel.md \
103+ --data-binary @ai-agent/samples/policy-travel.md \
104+ http://localhost:8080/api/admin/rag-load
105+
106+ curl -X POST \
107+ -H " Content-Type: text/plain" \
108+ --data-binary @ai-agent/samples/policy-expense.md \
104109 http://localhost:8080/api/admin/rag-load
105110
106111```
Original file line number Diff line number Diff line change 2828 </scm >
2929 <properties >
3030 <java .version>21</java .version>
31- <spring-ai .version>1.0.3 </spring-ai .version>
31+ <spring-ai .version>1.1.0 </spring-ai .version>
3232 <testcontainers .version>1.21.3</testcontainers .version>
3333 </properties >
3434 <dependencyManagement >
You can’t perform that action at this time.
0 commit comments