connect_to_model: Checks to see if model is available in PRISM

Description Usage Arguments Value

View source: R/1client_lib.R

Description

Checks to see if model is available in PRISM

Usage

1
2
3
4
5
6
7
connect_to_model(
  model_name,
  api_key = "",
  local_server = FALSE,
  bypass_router = FALSE,
  async = FALSE
)

Arguments

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?

Value

0 for success and 1 for error


resplab/voiPeermodels documentation built on Dec. 22, 2021, 3:04 p.m.