create_service()#

relationalai.app
#create_service()

Creates and starts the RelationalAI (RAI) service on Snowpark Container Services. The RAI service is the primary component of the RAI Native App and is responsible for managing RAI schemas and running RAI queries. Requires the app_admin application role.

Example#

Use create_service() to start the RAI service on Snowpark Container services:

#CALL relationalai.app.create_service();

You can check the status of the service using the service_status() procedure. Usually it takes between 30 seconds and a couple minutes after calling create_service() for the service to show a status of "Running".

See Also#