Skip to main content
object Chatbase — Package: com.chatbase.sdk The singleton factory for creating SDK clients.

create

Create a client with default settings.
Context
required
Any Android Context. Used only during creation to generate the device ID.
String
required
The Chatbase agent ID to connect to.

create (with configuration)

Create a client with custom configuration via a DSL builder.

ChatbaseConfig

data class ChatbaseConfig — Package: com.chatbase.sdk
For streaming responses, the SDK uses a separate 5-minute read timeout regardless of the readTimeoutMs setting. This ensures long-running streams are not interrupted prematurely.