Search
⌃K
Links

Client$new()

Call Client$new() to initialize the Arize client prior to publishing prediction and actual records

Overview

Initializing the client with Client$new() returns a client object you can use to log predictions and actuals.You need only call Client$new() once to initialize a session. Sessions are tied to a specific space, however, you can log records for any model in your space.

Keyword arguments:

Argument
Input Type
Description
Required
Default Value
api_key
character
the Arize-AI api key
Required
N/A
organization_key
character
the Arize-AI organization key
Required
N/A

Initializing Client Examples

ORGANIZATION_KEY <- 'ORGANIZATION_KEY'
API_KEY <- 'API_KEY'
arize_client <- Client$new(
organization_key = ORGANIZATION_KEY,
api_key = API_KEY)

Retrieving Space and API Keys

Questions? Email us at [email protected] or Slack us in the #arize-support channel