Provider.deactivate()#

relationalai
#Provider.deactivate() -> None

Deactivate the RAI Native App. Requires the Snowflake user set in your configuration to have the app_admin application role.

Returns#

None

Example#

Use .deactivate() to deactivate the RAI Native App while it is not in use:

#import relationalai as rai

app = rai.Provider()
app.activate()
IMPORTANT

While the RAI Native App is deactivated, RAI models cannot be created or queried. See RAI Native App Status for details.

See Also#