quarkus.langchain4j.timeout as a default configuration for all timeouts #1629
Closed
diegolovison
started this conversation in
General
Replies: 1 comment 23 replies
-
I definitely see the value in this, even though one could easily argue it's not semantically correct. @cescoffier WDYT? |
Beta Was this translation helpful? Give feedback.
23 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have been working on #1626 and #1606 on my "private project", and my main difficulty is the timeout granularity.
Today, the
quarkus-langchain4j
,quarkus
, andvert-x
have specific timeout configurations that is super good once you have your project working and you know exactly what part you should optimize. But, as someone starting using thequarkus-langchain4j
imho, this is super problematic. I spent most of my time trying to setup the timeouts (because of the granularity) instead of working on my project.My idea is: if the property
quarkus.langchain4j.timeout
is presented, then all timeouts are set equal to the value of that property. If the property is not set, then each timeout can be configured independently.This is a good balance and reduces the learning curve. Those "timeout problems" are not because of the library but because of different models and individual computer performance.
Beta Was this translation helpful? Give feedback.
All reactions