init
Initializes the Spree AI SDK using a Kotlin DSL-style configuration block.
Parameters
block
A lambda with a Builder receiver to configure the SDK settings.
Initializes the Spree AI SDK using a Builder instance. This is the recommended initialization method for Java consumers.
Parameters
builder
The configured Builder instance containing the SDK settings.