Skip to content

Commit 997553c

Browse files
authored
Merge pull request #173 from redhat-developer-demos/kdubois-patch-1
set langchain4j timeout
2 parents bb6e7d9 + 2231dc2 commit 997553c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

documentation/modules/ROOT/pages/17_prompts.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ LangChain4j provides you a proxy to connect your application to OpenAI by just a
5454
quarkus.langchain4j.openai.api-key=demo
5555
# Change this URL to the model provider of your choice
5656
quarkus.langchain4j.openai.base-url=https://api.openai.com/v1
57+
# Set timeout explicitly (default is 10s)
58+
quarkus.langchain4j.openai.timeout=30s
5759
----
5860

5961

@@ -153,4 +155,4 @@ depending on the response from the non-deterministic LLM):
153155
[source,text]
154156
----
155157
The Earth is not flat, it is an oblate spheroid, meaning it is mostly spherical in shape but slightly flattened at the poles and bulging at the equator. This shape is due to the Earth's rotation, which causes it to bulge slightly at the equator and flatten at the poles. The idea that the Earth is flat is a misconception that has been debunked by centuries of scientific evidence, including satellite imagery, photos from space, and measurements of the Earth's curvature.
156-
----
158+
----

0 commit comments

Comments
 (0)