Skip to content

Commit d23be5c

Browse files
authored
Merge pull request #6 from redhat-scholars/32425
Version updates
2 parents e063413 + 323c62c commit d23be5c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

documentation/modules/ROOT/pages/ai-dev.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ First of all, open the `pom.xml` file from the previous project (`podify-quarkus
2525
<dependency>
2626
<groupId>io.quarkiverse.langchain4j</groupId>
2727
<artifactId>quarkus-langchain4j-core</artifactId>
28-
<version>0.21.0</version>
28+
<version>0.26.0</version>
2929
</dependency>
3030
<dependency>
3131
<groupId>io.quarkiverse.langchain4j</groupId>
3232
<artifactId>quarkus-langchain4j-openai</artifactId>
33-
<version>0.21.0</version>
33+
<version>0.26.0</version>
3434
</dependency>
3535
----
3636

37-
Then open the `src/main/resources/application.properties` file and configure Langchain4J to connect to the model deployed in Podman:
37+
Then open the `src/main/resources/application.properties` file and configure LangChain4j to connect to the model deployed in Podman:
3838

3939
[.console-input]
4040
[source,bash,subs="+macros,+attributes"]
@@ -43,7 +43,7 @@ quarkus.langchain4j.openai.base-url=http://localhost:58184/v1
4343
quarkus.langchain4j.openai.api-key=sk-dummy
4444
----
4545

46-
Integrating Langchain4J with Quarkus lets developers send requests to a model quickly.
46+
Integrating LangChain4j with Quarkus lets developers send requests to a model quickly.
4747
You only need to create and annotate a Java interface with `@RegisterAiService`, and Quarkus will do the rest.
4848

4949
Create a new class named `AiService.java` at `src/main/java/com/redhat/developers` directory with the following content:
@@ -105,7 +105,7 @@ public class AiResource {
105105
----
106106
<1> Injects the interface that connects to the local model
107107

108-
IMPORTANT: The version of Quarkus should be `<quarkus.platform.version>3.16.4</quarkus.platform.version>`.
108+
IMPORTANT: The version of Quarkus should be > 3.16.4
109109

110110
Now, you can boot up the service and try it.
111111

documentation/modules/ROOT/pages/building-images.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Let's install SDKMAN and OpenJDK. Copy & paste the following set of commands and
3535
[.console-input]
3636
[source,bash,subs="+macros,+attributes"]
3737
----
38-
sudo dnf install -y zip unzip && curl -s "https://get.sdkman.io" | bash && source "/home/student/.sdkman/bin/sdkman-init.sh" && sdk install java 21.0.3-tem
38+
sudo dnf install -y zip unzip && curl -s "https://get.sdkman.io" | bash && source "/home/student/.sdkman/bin/sdkman-init.sh" && sdk install java 21.0.6-tem
3939
----
4040

4141
If everything went well, you will see a message saying "Done installing!" and your installed version of Java is set as the default.
@@ -119,7 +119,7 @@ image::quarkus-dockerfiles.png[Quarkus Dockerfiles, 200]
119119
Go ahead and open `Dockerfile.jvm` and scroll down past the commented out initial section. Let's examine the Dockerfile.jvm instructions:
120120

121121
* *Base Image:*
122-
** `FROM registry.access.redhat.com/ubi8/openjdk-21:1.18` (Starts with an OpenJDK base image supplied, built and verified by Red Hat)
122+
** `FROM registry.access.redhat.com/ubi9/openjdk-21:latest` (Starts with an OpenJDK base image supplied, built and verified by Red Hat)
123123

124124
* *App Configuration, Source and Startup commands:*
125125
** `ENV LANGUAGE='en_US:en'` (Set environment variable "LANGUAGE")

0 commit comments

Comments
 (0)