RelationalAI Native App for Snowflake now
Generally Available
Product
Company
Docs
Resources
Get Started
Documentation
Get Started
Install the RAI Native App
Use RAI in a Cloud Notebook
Use RAI Locally
Develop With RAI
Core Concepts
Basic Functionality
Comparison to SQL
Guides
Configuration
Example Notebooks
Manage RAI
User Access
App Management
Compute Resources
Data Management
Cost Management
Upgrades
Reference
Python
save_config()
Config
get()
set()
Model
Type()
case()
export()
found()
match()
name
not_found()
query()
rule()
Type
add()
__and__()
__call__()
define()
extend()
known_properties()
__or__()
Property
declare
has_many
is_multi_valued
Context
__enter__()
__exit__()
model
results
ContextSelect
add()
__call__()
distinct()
__getattr__()
Producer
__add__()
__enter__()
__eq__()
__exit__()
__floordiv__()
__ge__()
__getattribute__()
__gt__()
__le__()
__lt__()
__mod__()
__mul__()
__ne__()
__pow__()
__radd__()
__rfloordiv__()
__rmod__()
__rmul__()
__rpow__()
__rsub__()
__rtruediv__()
__sub__()
__truediv__()
Instance
set()
InstanceProperty
add()
choose()
extend()
has_value()
in_()
or_()
set()
Expression
Provider
activate()
create_streams()
deactivate()
delete_stream()
list_streams()
sql()
std
Vars
aggregates
avg()
bottom()
concat()
count()
max()
min()
rank_asc()
rank_desc()
sum()
top()
alias()
as_bool()
as_rows()
dates
date()
date.fromdatetime()
date.fromisoformat()
date.fromordinal()
datetime()
datetime.fromdate()
datetime.fromordinal()
datetime.strptime()
Date()
DateTime()
date_range()
strftime()
ISO
year()
month()
day()
hour()
minute()
second()
quarter()
week()
dayofyear()
weekday()
isoweekday()
date_add()
date_subtract()
years()
months()
days()
hours()
minutes()
seconds()
milliseconds()
microseconds()
nanoseconds()
graphs
Compute
adamic_adar()
avg_clustering_coefficient()
betweenness_centrality()
common_neighbor()
cosine_similarity()
degree()
degree_centrality()
diameter_range()
distance()
eigenvector_centrality()
indegree()
infomap()
is_connected()
is_reachable()
is_triangle()
jaccard_similarity()
label_propagation()
local_clustering_coefficient()
louvain()
num_edges()
num_nodes()
num_triangles()
outdegree()
pagerank()
preferential_attachment()
reachable_from()
triangle_community()
triangles()
weakly_connected_component()
Edge
add()
__call__()
extend()
EdgeInstance
from_
set()
to
Graph
Edge
Node
compute
fetch()
id
model
undirected
visualize()
weighted
inspect
inspect()
pprint()
math
abs()
acos()
acosh()
acot()
asin()
asinh()
atan()
atanh()
cbrt()
ceil()
clip()
cos()
cosh()
cot()
degrees()
erf()
erfinv()
exp()
factorial()
floor()
haversine()
isclose()
log()
log10()
log2()
pow()
radians()
sign()
sin()
sinh()
sqrt()
tan()
tanh()
trunc_divide()
re
Match
end()
__getitem__()
group()
span()
start()
Pattern
findall()
fullmatch()
match()
search()
sub()
compile()
escape()
findall()
fullmatch()
match()
search()
sub()
strings
String()
concat()
contains()
ends_with()
join()
length()
levenshtein()
like()
lowercase()
regex_compile()
regex_match()
replace()
split()
split_part()
starts_with()
strip()
substring()
uppercase()
Rows
__getattr__()
__getitem__()
SQL
app.activate()
app.alter_cdc_engine_size()
api.alter_engine_auto_suspend_mins()
api.cancel_transaction()
app.cdc_status()
api.create_data_stream()
api.create_engine()
app.create_service()
api.data_stream_batches
api.data_streams
app.deactivate()
api.delete_data_stream()
api.delete_engine()
app.drop_service()
consumption.engine_credit_hours
api.engines
app.finalize_upgrade()
api.get_data_stream()
api.get_engine()
app.get_release()
app.get_service()
api.get_transaction()
api.object_reference()
app.resume_cdc()
api.resume_data_stream()
api.resume_engine()
app.schedule_upgrade()
app.service_status()
app.setup_cdc()
app.suspend_cdc()
api.suspend_data_stream()
api.transactions
app.unschedule_upgrade()
api.update_libraries()
app.upgrade()
app.upgrade_schedule_status()
app.upgrade_status
app.upgrade_status_details
CLI
config:check
config:explain
config:print
debugger
engines:create
engines:delete
engines:get
engines:list
exports:delete
exports:list
imports:delete
imports:get
imports:list
imports:setup
imports:stream
imports:wait
init
profile:switch
transactions:cancel
transactions:get
transactions:list
version
Release Notes
Developer Guides
#
Configuration
Configure your model's connection to the RAI Native App.
→