Skip to main content

Module ai_decide

Module ai_decide 

Source

Structsยง

AiDecide ๐Ÿ”’
Request ๐Ÿ”’
One state is one request. An array in state is context, not an HTTP batch.

Constantsยง

MAX_RESPONSE_BYTES ๐Ÿ”’
MAX_RETRY_AFTER ๐Ÿ”’
MAX_RETRY_DELAY ๐Ÿ”’
REQUEST_TIMEOUT ๐Ÿ”’
RETRY_DELAY ๐Ÿ”’

Staticsยง

_LINKME_ELEMENT_ai_decide_jsonb_varchar_varchar_jsonb_varchar_struct ๐Ÿ”’

Functionsยง

ai_decide_jsonb_varchar_varchar_jsonb_varchar_struct ๐Ÿ”’
build ๐Ÿ”’
decode_response ๐Ÿ”’
Decode strictly before the result can be persisted. Invalid responses are retried inside the request loop, without reaching non-strict expression wrappers. An explicit provider refusal is a valid unanswered question, represented by SQL NULL.
request_error ๐Ÿ”’