Skip to main content

module aixplain.modules.model.utils


function build_payload

build_payload(data: Union[str, Dict], parameters: Optional[Dict] = None)

function call_run_endpoint

call_run_endpoint(url: str, api_key: str, payload: Dict) → Dict

function parse_code

parse_code(code: Union[str, Callable]) → Tuple[str, List, str]