Skip to content

Commit 80f9bdd

Browse files
committed
add logging
1 parent d23be5c commit 80f9bdd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ First of all, open the `pom.xml` file from the previous project (`podify-quarkus
2222
[.console-input]
2323
[source,bash,subs="+macros,+attributes"]
2424
----
25-
<dependency>
26-
<groupId>io.quarkiverse.langchain4j</groupId>
27-
<artifactId>quarkus-langchain4j-core</artifactId>
28-
<version>0.26.0</version>
29-
</dependency>
3025
<dependency>
3126
<groupId>io.quarkiverse.langchain4j</groupId>
3227
<artifactId>quarkus-langchain4j-openai</artifactId>
@@ -41,6 +36,9 @@ Then open the `src/main/resources/application.properties` file and configure Lan
4136
----
4237
quarkus.langchain4j.openai.base-url=http://localhost:58184/v1
4338
quarkus.langchain4j.openai.api-key=sk-dummy
39+
quarkus.langchain4j.log-requests=true
40+
quarkus.langchain4j.log-responses=true
41+
quarkus.langchain4j.timeout=30s
4442
----
4543

4644
Integrating LangChain4j with Quarkus lets developers send requests to a model quickly.

0 commit comments

Comments
 (0)