Description Usage Arguments Value
Checks to see if model is available in PRISM
1 2 3 4 5 6 7 | connect_to_model(
model_name,
api_key = "",
local_server = FALSE,
bypass_router = FALSE,
async = FALSE
)
|
model_name |
name of the model |
api_key |
API key |
local_server |
whether or not the call should be directed to the server on localhost. Default is FALSE. |
bypass_router |
bypass server API router, for debugging purposes |
async |
should the model be called in async mode? |
0 for success and 1 for error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.