cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
cwist_heal_config Struct Reference

Configuration passed to cwist_json_heal(). More...

#include <json_heal.h>

Collaboration diagram for cwist_heal_config:

Public Attributes

double threshold
 Min confidence (0.0–1.0) to accept recovery. Default: 0.8.
 
const cwist_schema_t * schema
 Schema for L2 alignment (may be NULL).
 
cwist_sllm_heal_fn sllm_fn
 Optional L3 deep-recovery callback.
 
void * sllm_userdata
 Passed verbatim to sllm_fn.
 

Detailed Description

Configuration passed to cwist_json_heal().

Definition at line 97 of file json_heal.h.

Member Data Documentation

◆ schema

const cwist_schema_t* cwist_heal_config::schema

Schema for L2 alignment (may be NULL).

Definition at line 99 of file json_heal.h.

Referenced by cwist_db_insert_healed(), and cwist_json_heal().

◆ sllm_fn

cwist_sllm_heal_fn cwist_heal_config::sllm_fn

Optional L3 deep-recovery callback.

Definition at line 100 of file json_heal.h.

Referenced by cwist_json_heal().

◆ sllm_userdata

void* cwist_heal_config::sllm_userdata

Passed verbatim to sllm_fn.

Definition at line 101 of file json_heal.h.

Referenced by cwist_json_heal().

◆ threshold

double cwist_heal_config::threshold

Min confidence (0.0–1.0) to accept recovery. Default: 0.8.

Definition at line 98 of file json_heal.h.

Referenced by cwist_db_insert_healed(), and cwist_json_heal().


The documentation for this struct was generated from the following file: