You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,16 +63,16 @@ Switching between LLM is done using **Maven profiles**. Three Maven profiles are
63
63
2.`azure-openai`
64
64
3.`ollama`
65
65
66
-
By default, thanks to the default `openai` profile, the `langchain4j-open-ai-spring-boot-starter` dependency is enabled.
67
-
You can change it to `langchain4j-azure-open-ai-spring-boot-starter` or `langchain4j-ollama-spring-boot-starter` by activating the corresponding profile.
66
+
By default, thanks to the default `openai` profile, the `langchain4j-open-ai-spring-boot4-starter` dependency is enabled.
67
+
You can change it to `langchain4j-azure-open-ai-spring-boot-starter` or `langchain4j-ollama-spring-boot4-starter` by activating the corresponding profile.
68
68
```shell
69
69
./mvnw package -P azure-openai
70
70
```
71
71
`in either`pom.xml` or in `build.gradle`, depending on your build tool of choice.
72
72
73
73
#### Gradle build
74
74
75
-
Gradle users will need to comment or uncomment the appropriate `dev.langchain4j:langchain4j-<llm>>-spring-boot-starter` dependency
75
+
Gradle users will need to comment or uncomment the appropriate `dev.langchain4j:langchain4j-<llm>>-spring-boot4-starter` dependency
76
76
in the `build.gradle` file, depending on the LLM provider they want to use.
77
77
78
78
@@ -110,10 +110,17 @@ ollama run llama3.1
110
110
```
111
111
By default, the Ollama REST API starts on `http://localhost:11434`. This URL is used in the `application.properties` file.
> **Note:** These slides refer to a legacy, pre–Spring Boot version of Petclinic and may not reflect the current Spring Boot–based implementation.
117
+
> For up-to-date information, please refer to this repository and its documentation.
118
+
113
119
114
120
## Run Petclinic locally
115
121
116
-
Spring Petclinic is a [Spring Boot](https://spring.io/guides/gs/spring-boot) application built using [Maven](https://spring.io/guides/gs/maven/) or [Gradle](https://spring.io/guides/gs/gradle/). You can build a jar file and run it from the command line (it should work just as well with Java 17 or newer):
122
+
Spring Petclinic is a [Spring Boot](https://spring.io/guides/gs/spring-boot) application built using [Maven](https://spring.io/guides/gs/maven/) or [Gradle](https://spring.io/guides/gs/gradle/).
123
+
Java 17 or later is required for the build, and the application can run with Java 17 or newer:
Further documentation is provided for [MySQL](https://github.com/spring-petclinic/spring-petclinic-langchain4j/blob/main/src/main/resources/db/mysql/petclinic_db_setup_mysql.txt)
@@ -195,7 +204,7 @@ There is a `petclinic.css` in `src/main/resources/static/resources/css`. It was
195
204
196
205
The following items should be installed in your system:
197
206
198
-
- Java 17 or newer (full JDK, not a JRE)
207
+
- Java 25 or newer (full JDK, not a JRE)
199
208
-[Git command line tool](https://help.github.com/articles/set-up-git)
200
209
- Your preferred IDE
201
210
- Eclipse with the m2e plugin. Note: when m2e is available, there is an m2 icon in `Help -> About` dialog. If m2e is
0 commit comments