Usage
Arguments
model_id: Character string specifying the model ID (e.g., “gem-1-bulk”, “gem-1-sc”).api_base_url: The base URL for the API server. When NULL (default), it is resolved from theSYNTHESIZE_API_BASE_URLenvironment variable, falling back to the production default (API_BASE_URL). Point this at a self-hosted model container to fetch its example query.self_hosted: Logical; when TRUE, the request targets a self-hosted container and does not require an API key (one is only sent if set). When NULL (default), it is resolved from theSYNTHESIZE_SELF_HOSTEDenvironment variable (truthy for 1/true/yes/on), defaulting to FALSE.
Returns
A list representing a valid query structure for the specified model.Examples
Source
Generated fromR/call_model_api.R and the package help files in man/.