toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.config.models
/
OpenAiProperties
Open
Ai
Properties
data
class
OpenAiProperties
(
val
maxAttempts
:
Int
=
10
,
val
backoffMillis
:
Long
=
5000
,
val
backoffMultiplier
:
Double
=
5.0
,
val
backoffMaxInterval
:
Long
=
180000
)
:
RetryProperties
Members
Constructors
Open
Ai
Properties
Link copied to clipboard
constructor
(
maxAttempts
:
Int
=
10
,
backoffMillis
:
Long
=
5000
,
backoffMultiplier
:
Double
=
5.0
,
backoffMaxInterval
:
Long
=
180000
)
Properties
backoff
Max
Interval
Link copied to clipboard
open
override
val
backoffMaxInterval
:
Long
=
180000
backoff
Millis
Link copied to clipboard
open
override
val
backoffMillis
:
Long
=
5000
backoff
Multiplier
Link copied to clipboard
open
override
val
backoffMultiplier
:
Double
=
5.0
max
Attempts
Link copied to clipboard
open
override
val
maxAttempts
:
Int
=
10
retry
Policy
Link copied to clipboard
open
val
retryPolicy
:
<Error class: unknown class>
Functions
retry
Template
Link copied to clipboard
open
override
fun
retryTemplate
(
name
:
String
)
:
<Error class: unknown class>