Skip to content

Commit bcfa239

Browse files
committed
fix: Add Spring AI Dependency Requirements to the Docs
1 parent d9e6e40 commit bcfa239

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/guides/SPRING_AI_INTEGRATION.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,32 @@
1111
This guide provides examples of how to use our Spring AI integration with our clients in SAP AI Core
1212
for chat completion tasks using the SAP AI SDK for Java.
1313

14+
First, add the Spring AI dependency to your `pom.xml`:
15+
16+
```xml
17+
<dependency>
18+
<groupId>org.springframework.ai</groupId>
19+
<artifactId>spring-ai-core</artifactId>
20+
<version>1.0.0-M5</version>
21+
</dependency>
22+
...
23+
<repository>
24+
<snapshots>
25+
<enabled>true</enabled>
26+
</snapshots>
27+
<id>spring-milestones</id>
28+
<name>Spring Milestones</name>
29+
<url>https://repo.spring.io/milestone</url>
30+
</repository>
31+
```
32+
33+
:::note Spring AI Milestone Version
34+
Note that currently no stable version of Spring AI exists just yet.
35+
The AI SDK currently uses the [M5 milestone](https://spring.io/blog/2024/12/23/spring-ai-1-0-0-m5-released).
36+
37+
Please be aware that future versions of the AI SDK may increase the Spring AI version.
38+
:::
39+
1440
## Orchestration Chat Completion
1541

1642
The Orchestration client is integrated in Spring AI classes:

0 commit comments

Comments
 (0)