relationalai.app.set_warm_reasoners()
set_warm_reasoners(type STRING, reasoner_size STRING, num_reasoners INT)A procedure that sets how many warm reasoners to keep running for a given reasoner type and size.
Requires the app_admin application role.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
type | STRING | Reasoner type. For example, 'logic'. |
reasoner_size | STRING | Reasoner size (instance family), for example 'HIGHMEM_X64_S'. |
num_reasoners | INT | Number of warm reasoners to keep running. Use 0 to disable warm reasoners for this type and size. |
Returns
Section titled “Returns”STRING
Example
Section titled “Example”Keep two warm logic reasoners of size HIGHMEM_X64_S running:
CALL relationalai.app.set_warm_reasoners('logic', 'HIGHMEM_X64_S', 2);See Warm Reasoners for limitations and operational details.