@@ -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
4343quarkus.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.
4747You only need to create and annotate a Java interface with `@RegisterAiService`, and Quarkus will do the rest.
4848
4949Create 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
110110Now, you can boot up the service and try it.
111111
0 commit comments