🔑 Signing in to KumoRFM…
authenticateAuthenticates a KumoRFM session using an API key or initiates OAuth2 login if key is not provided. Required before any prediction or evaluation tasks.
Instructions
Authenticate the current KumoRFM session.
Authentication is needed once before predicting or evaluating with the KumoRFM model. If an API key is provided directly, it is used immediately. Otherwise, if the 'KUMO_API_KEY' environment variable is not set, this initiates an OAuth2 authentication flow by opening a browser window for user login. Sets the 'KUMO_API_KEY' environment variable upon successful authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| api_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |