REQUIRED |
KEY |
TYPE |
DESCRIPTION |
Yes |
deploymentToken |
str |
The deployment token used to authenticate access to created deployments. This token is only authorized to predict on deployments in this project, so it can be safely embedded in an application or website.
|
Yes |
deploymentId |
str |
The unique identifier of a deployment created under the project.
|
Yes |
queryData |
dict |
Specifies the set of assignments being requested. The value for the key can be:
1. A simple scalar value, which is matched exactly
2. A list of values, which matches any element in the list
3. A dictionary with keys lower_in/lower_ex and upper_in/upper_ex, which matches values in an inclusive/exclusive range
|
No |
addConstraints |
List[dict] |
List of constraints dict to apply to the query. The constraint dict should have the following keys:
1. query (dict): Specifies the set of assignment variables involved in the constraint. The format is same as query_data.
2. operator (str): Constraint operator '=' or '<=' or '>='.
3. constant (int): Constraint RHS constant value.
4. coefficient_column (str): Column in Assignment feature group to be used as coefficient for the assignment variables, optional and defaults to 1
|
No |
solveTimeLimitSeconds |
float |
Maximum time in seconds to spend solving the query.
|
No |
bestAlternateOnly |
bool |
When True only the best alternate will be returned, when False multiple alternates are returned
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.