Constructor

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

Overview

If using version < 1.0.0, the space_key argument is calledorganization_key

Instantiating the client with Arize(API_KEY, SPACE_KEY) returns a client object you can use to log individual records arize.log(), records in bulk arize.logBulk() , validation records arize.logValidationRecords(), and training records arize.logTrainingRecords() to Arize. You need only instantiate the client once to initialize a session. Sessions are tied to a specific space, however, you can log records to any model ID and version in your space.

Instantiation Arguments

Argument

Type

Description

api_key

String

Arize-provided api key associated with your service/space

space_key

String

Arize-provided identifier for relating records to a space

Code Example

import com.arize.ArizeClient;

ArizeClient arize = new ArizeClient("ARIZE_API_KEY", "SPACE_KEY");

Questions? Email us at support@arize.com or Slack us in the #arize-support channel

Last updated

Copyright © 2023 Arize AI, Inc