[{"data":1,"prerenderedAt":3358},["ShallowReactive",2],{"navigation_docs":3,"-docs-reference-go-ai":968,"-docs-reference-go-ai-surround":3353},[4,27,63,129,287,311,893,902,950,964],{"title":5,"path":6,"stem":7,"children":8,"order":10,"icon":11},"Overview","\u002Fdocs\u002Foverview","docs\u002F1.overview\u002Findex",[9,12,18,24],{"title":5,"path":6,"stem":7,"order":10,"icon":11},1,"i-lucide-info",{"title":13,"path":14,"stem":15,"order":16,"icon":17},"Getting Started","\u002Fdocs\u002Foverview\u002Fgetting-started","docs\u002F1.overview\u002F2.getting-started",2,"i-lucide-rocket",{"title":19,"path":20,"stem":21,"order":22,"icon":23},"Contributing","\u002Fdocs\u002Foverview\u002Fcontributing","docs\u002F1.overview\u002F3.contributing",3,"i-lucide-heart",{"title":5,"path":25,"stem":26,"order":10},"\u002Fdocs\u002Foverview\u002F_dir","docs\u002F1.overview\u002F_dir",{"title":28,"path":29,"stem":30,"children":31,"page":62},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[32,37,42,47,53,59],{"title":33,"path":34,"stem":35,"order":10,"icon":36},"Events","\u002Fdocs\u002Fconcepts\u002Fevents","docs\u002F2.concepts\u002F1.events","i-lucide-zap",{"title":38,"path":39,"stem":40,"order":16,"icon":41},"Transports","\u002Fdocs\u002Fconcepts\u002Ftransports","docs\u002F2.concepts\u002F2.transports","i-lucide-network",{"title":43,"path":44,"stem":45,"order":22,"icon":46},"Module System","\u002Fdocs\u002Fconcepts\u002Fmodules","docs\u002F2.concepts\u002F3.modules","i-lucide-puzzle",{"title":48,"path":49,"stem":50,"order":51,"icon":52},"Flows","\u002Fdocs\u002Fconcepts\u002Fflows","docs\u002F2.concepts\u002F4.flows",4,"i-lucide-workflow",{"title":54,"path":55,"stem":56,"order":57,"icon":58},"Scheduler","\u002Fdocs\u002Fconcepts\u002Fscheduler","docs\u002F2.concepts\u002F5.scheduler",5,"i-lucide-clock",{"title":28,"path":60,"stem":61,"order":16},"\u002Fdocs\u002Fconcepts\u002F_dir","docs\u002F2.concepts\u002F_dir",false,{"title":64,"path":65,"stem":66,"children":67,"page":62},"Guides","\u002Fdocs\u002Fguides","docs\u002F3.guides",[68,73,77,81,85,89,93,98,104,110,116,122,126],{"title":69,"path":70,"stem":71,"order":10,"icon":72},"Creating a Go App","\u002Fdocs\u002Fguides\u002Fcreating-go-app","docs\u002F3.guides\u002F1.creating-go-app","i-lucide-terminal",{"title":74,"path":75,"stem":76},"E2E tests & demo videos","\u002Fdocs\u002Fguides\u002Fe2e-and-demo-videos","docs\u002F3.guides\u002F10.e2e-and-demo-videos",{"title":78,"path":79,"stem":80,"icon":17},"Deploying to production","\u002Fdocs\u002Fguides\u002Fdeploying-to-production","docs\u002F3.guides\u002F11.deploying-to-production",{"title":82,"path":83,"stem":84,"order":16,"icon":46},"Creating a Go Module","\u002Fdocs\u002Fguides\u002Fcreating-go-module","docs\u002F3.guides\u002F2.creating-go-module",{"title":86,"path":87,"stem":88,"order":22,"icon":36},"Adding Events","\u002Fdocs\u002Fguides\u002Fadding-events-to-go-module","docs\u002F3.guides\u002F3.adding-events-to-go-module",{"title":90,"path":91,"stem":92,"order":51,"icon":52},"FlowDSL to Service","\u002Fdocs\u002Fguides\u002Fflowdsl-to-redelay","docs\u002F3.guides\u002F4.flowdsl-to-redelay",{"title":94,"path":95,"stem":96,"order":57,"icon":97},"Choosing a Transport","\u002Fdocs\u002Fguides\u002Fchoosing-a-transport","docs\u002F3.guides\u002F5.choosing-a-transport","i-lucide-git-branch",{"title":99,"path":100,"stem":101,"order":102,"icon":103},"Module Browser (\u002Fmodules)","\u002Fdocs\u002Fguides\u002Fmodules-browser","docs\u002F3.guides\u002F6.modules-browser",6,"i-lucide-layout-dashboard",{"title":105,"path":106,"stem":107,"order":108,"icon":109},"Running Flows","\u002Fdocs\u002Fguides\u002Frunning-flows","docs\u002F3.guides\u002F7.running-flows",7,"i-lucide-play-circle",{"title":111,"path":112,"stem":113,"order":114,"icon":115},"Trace + Live Observability","\u002Fdocs\u002Fguides\u002Fobservability","docs\u002F3.guides\u002F8.observability",8,"i-lucide-activity",{"title":117,"path":118,"stem":119,"order":120,"icon":121},"Project AI Assistant","\u002Fdocs\u002Fguides\u002Fai-assistant","docs\u002F3.guides\u002F9.ai-assistant",9,"i-lucide-sparkles",{"title":123,"path":124,"stem":125},"Debug taps — trace live data through any node","\u002Fdocs\u002Fguides\u002Fdebug-taps","docs\u002F3.guides\u002F9.debug-taps",{"title":64,"path":127,"stem":128,"order":22},"\u002Fdocs\u002Fguides\u002F_dir","docs\u002F3.guides\u002F_dir",{"title":130,"path":131,"stem":132,"children":133,"page":62},"Reference","\u002Fdocs\u002Freference","docs\u002F4.reference",[134,139,143,148,153,158,163,168,172,177,182,187,193,199,205,210,215,219,225,230,236,242,247,253,259,263,267,273,278,284],{"title":135,"path":136,"stem":137,"order":10,"icon":138},"Go Framework","\u002Fdocs\u002Freference\u002Fgo-framework","docs\u002F4.reference\u002F01.go-framework","i-simple-icons-go",{"title":140,"path":141,"stem":142,"order":16,"icon":46},"Built-in Modules","\u002Fdocs\u002Freference\u002Fgo-modules","docs\u002F4.reference\u002F02.go-modules",{"title":144,"path":145,"stem":146,"order":22,"icon":147},"Domain Addon Modules","\u002Fdocs\u002Freference\u002Fgo-modules-addons","docs\u002F4.reference\u002F03.go-modules-addons","i-lucide-blocks",{"title":149,"path":150,"stem":151,"order":51,"icon":152},"Go Events","\u002Fdocs\u002Freference\u002Fgo-events","docs\u002F4.reference\u002F04.go-events","i-lucide-radio",{"title":154,"path":155,"stem":156,"order":57,"icon":157},"Email Module","\u002Fdocs\u002Freference\u002Fgo-module-email","docs\u002F4.reference\u002F05.go-module-email","i-lucide-mail",{"title":159,"path":160,"stem":161,"order":102,"icon":162},"Go Core & IR","\u002Fdocs\u002Freference\u002Fgo-core","docs\u002F4.reference\u002F06.go-core","i-lucide-cpu",{"title":164,"path":165,"stem":166,"order":108,"icon":167},"Module Definition Files","\u002Fdocs\u002Freference\u002Fgo-module-files","docs\u002F4.reference\u002F07.go-module-files","i-lucide-file-code",{"title":169,"path":170,"stem":171,"order":114,"icon":72},"CLI Reference","\u002Fdocs\u002Freference\u002Fgo-cli","docs\u002F4.reference\u002F08.go-cli",{"title":173,"path":174,"stem":175,"order":120,"icon":176},"Go Formats","\u002Fdocs\u002Freference\u002Fgo-formats","docs\u002F4.reference\u002F09.go-formats","i-lucide-file-json",{"title":178,"path":179,"stem":180,"order":181,"icon":152},"AsyncAPI Module","\u002Fdocs\u002Freference\u002Fgo-asyncapi","docs\u002F4.reference\u002F10.go-asyncapi",10,{"title":183,"path":184,"stem":185,"order":186,"icon":52},"Go FlowDSL","\u002Fdocs\u002Freference\u002Fgo-flowdsl","docs\u002F4.reference\u002F11.go-flowdsl",11,{"title":188,"path":189,"stem":190,"order":191,"icon":192},"FlowDSL Examples","\u002Fdocs\u002Freference\u002Fflowdsl-examples","docs\u002F4.reference\u002F12.flowdsl-examples",12,"i-lucide-file-code-2",{"title":194,"path":195,"stem":196,"order":197,"icon":198},"FlowDSL Sync","\u002Fdocs\u002Freference\u002Fflowdsl-sync","docs\u002F4.reference\u002F13.flowdsl-sync",13,"i-lucide-refresh-cw",{"title":200,"path":201,"stem":202,"order":203,"icon":204},"Node.js Framework","\u002Fdocs\u002Freference\u002Fjs-framework","docs\u002F4.reference\u002F14.js-framework",14,"i-simple-icons-nodedotjs",{"title":206,"path":207,"stem":208,"order":203,"icon":209},"Python Framework","\u002Fdocs\u002Freference\u002Fpy-framework","docs\u002F4.reference\u002F14.py-framework","i-simple-icons-python",{"title":211,"path":212,"stem":213,"order":214,"icon":204},"Node.js Events","\u002Fdocs\u002Freference\u002Fjs-events","docs\u002F4.reference\u002F15.js-events",15,{"title":216,"path":217,"stem":218,"order":214,"icon":209},"Python Events","\u002Fdocs\u002Freference\u002Fpy-events","docs\u002F4.reference\u002F15.py-events",{"title":220,"path":221,"stem":222,"order":223,"icon":224},"go-ai — LLM Providers, Guard, Ledger","\u002Fdocs\u002Freference\u002Fgo-ai","docs\u002F4.reference\u002F16.go-ai",16,"i-lucide-brain-circuit",{"title":226,"path":227,"stem":228,"order":229,"icon":41},"Infrastructure Modules","\u002Fdocs\u002Freference\u002Fgeneric-infra-modules","docs\u002F4.reference\u002F17.generic-infra-modules",17,{"title":231,"path":232,"stem":233,"order":234,"icon":235},"Flow Templates","\u002Fdocs\u002Freference\u002Fflow-templates","docs\u002F4.reference\u002F18.flow-templates",18,"i-lucide-library-big",{"title":237,"path":238,"stem":239,"order":240,"icon":241},"Assistant (chat + handoff)","\u002Fdocs\u002Freference\u002Fassistant","docs\u002F4.reference\u002F19.assistant",19,"i-lucide-messages-square",{"title":243,"path":244,"stem":245,"order":246,"icon":41},"Coordination","\u002Fdocs\u002Freference\u002Fcoordination","docs\u002F4.reference\u002F20.coordination",20,{"title":248,"path":249,"stem":250,"order":251,"icon":252},"Search (vector)","\u002Fdocs\u002Freference\u002Fsearch","docs\u002F4.reference\u002F21.search",21,"i-lucide-search",{"title":254,"path":255,"stem":256,"order":257,"icon":258},"Profiles","\u002Fdocs\u002Freference\u002Fprofiles","docs\u002F4.reference\u002F22.profiles",22,"i-lucide-bookmark",{"title":260,"path":261,"stem":262},"Flow-driven HTTP endpoints","\u002Fdocs\u002Freference\u002Fflow-driven-endpoints","docs\u002F4.reference\u002F23.flow-driven-endpoints",{"title":264,"path":265,"stem":266},"Deployments","\u002Fdocs\u002Freference\u002Fdeployments","docs\u002F4.reference\u002F24.deployments",{"title":268,"path":269,"stem":270,"order":271,"icon":272},"i18n (translations)","\u002Fdocs\u002Freference\u002Fi18n","docs\u002F4.reference\u002F25.i18n",25,"i-lucide-languages",{"title":274,"path":275,"stem":276,"order":277,"icon":152},"WebSockets","\u002Fdocs\u002Freference\u002Fwebsockets","docs\u002F4.reference\u002F26.websockets",26,{"title":279,"path":280,"stem":281,"order":282,"icon":283},"Localized content","\u002Fdocs\u002Freference\u002Flocalized-content","docs\u002F4.reference\u002F27.localized-content",27,"i-lucide-file-text",{"title":130,"path":285,"stem":286,"order":51},"\u002Fdocs\u002Freference\u002F_dir","docs\u002F4.reference\u002F_dir",{"title":288,"path":289,"stem":290,"children":291,"page":62},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F5.integrations",[292,296,300,304,308],{"title":293,"path":294,"stem":295,"order":10,"icon":52},"FlowDSL","\u002Fdocs\u002Fintegrations\u002Fflowdsl","docs\u002F5.integrations\u002F1.flowdsl",{"title":297,"path":298,"stem":299,"order":16,"icon":283},"OpenAPI","\u002Fdocs\u002Fintegrations\u002Fopenapi","docs\u002F5.integrations\u002F2.openapi",{"title":301,"path":302,"stem":303,"order":22,"icon":152},"AsyncAPI","\u002Fdocs\u002Fintegrations\u002Fasyncapi","docs\u002F5.integrations\u002F3.asyncapi",{"title":305,"path":306,"stem":307},"MCP Integration","\u002Fdocs\u002Fintegrations\u002Fmcp","docs\u002F5.integrations\u002F4.mcp",{"title":288,"path":309,"stem":310,"order":57},"\u002Fdocs\u002Fintegrations\u002F_dir","docs\u002F5.integrations\u002F_dir",{"title":312,"path":313,"stem":314,"children":315},"FlowDSL Node Catalog","\u002Fdocs\u002Fnodes","docs\u002F5.nodes\u002Findex",[316,317,321,325,329,333,337,341,345,349,353,357,361,365,369,373,377,381,385,389,393,397,401,405,409,413,417,421,425,429,433,437,441,445,449,453,457,461,465,469,473,477,481,485,489,493,497,501,505,509,513,517,521,525,529,533,537,541,545,549,553,557,561,565,569,573,577,581,585,589,593,597,601,605,609,613,617,621,625,629,633,637,641,645,649,653,657,661,665,669,673,677,681,685,689,693,697,701,705,709,713,717,721,725,729,733,737,741,745,749,753,757,761,765,769,773,777,781,785,789,793,797,801,805,809,813,817,821,825,829,833,837,841,845,849,853,857,861,865,869,873,877,881,885,889],{"title":312,"path":313,"stem":314},{"title":318,"path":319,"stem":320,"order":57},"Node Catalog","\u002Fdocs\u002Fnodes\u002F_dir","docs\u002F5.nodes\u002F_dir",{"title":322,"path":323,"stem":324},"Record Alert","\u002Fdocs\u002Fnodes\u002Falerts_record","docs\u002F5.nodes\u002Falerts_record",{"title":326,"path":327,"stem":328},"Log to API Log","\u002Fdocs\u002Fnodes\u002Fapilog_record","docs\u002F5.nodes\u002Fapilog_record",{"title":330,"path":331,"stem":332},"ClickHouse Exec","\u002Fdocs\u002Fnodes\u002Fclickhouse_exec","docs\u002F5.nodes\u002Fclickhouse_exec",{"title":334,"path":335,"stem":336},"ClickHouse Insert","\u002Fdocs\u002Fnodes\u002Fclickhouse_insert","docs\u002F5.nodes\u002Fclickhouse_insert",{"title":338,"path":339,"stem":340},"ClickHouse Query","\u002Fdocs\u002Fnodes\u002Fclickhouse_query","docs\u002F5.nodes\u002Fclickhouse_query",{"title":342,"path":343,"stem":344},"Array Op","\u002Fdocs\u002Fnodes\u002Fcore_array-ops","docs\u002F5.nodes\u002Fcore_array-ops",{"title":346,"path":347,"stem":348},"Assert","\u002Fdocs\u002Fnodes\u002Fcore_assert","docs\u002F5.nodes\u002Fcore_assert",{"title":350,"path":351,"stem":352},"Audit Emit","\u002Fdocs\u002Fnodes\u002Fcore_audit-emit","docs\u002F5.nodes\u002Fcore_audit-emit",{"title":354,"path":355,"stem":356},"Catch","\u002Fdocs\u002Fnodes\u002Fcore_catch","docs\u002F5.nodes\u002Fcore_catch",{"title":358,"path":359,"stem":360},"DateTime","\u002Fdocs\u002Fnodes\u002Fcore_datetime","docs\u002F5.nodes\u002Fcore_datetime",{"title":362,"path":363,"stem":364},"Dead Letter","\u002Fdocs\u002Fnodes\u002Fcore_dead-letter","docs\u002F5.nodes\u002Fcore_dead-letter",{"title":366,"path":367,"stem":368},"Delay","\u002Fdocs\u002Fnodes\u002Fcore_delay","docs\u002F5.nodes\u002Fcore_delay",{"title":370,"path":371,"stem":372},"ForEach","\u002Fdocs\u002Fnodes\u002Fcore_foreach","docs\u002F5.nodes\u002Fcore_foreach",{"title":374,"path":375,"stem":376},"Idempotency Key","\u002Fdocs\u002Fnodes\u002Fcore_idempotency-key","docs\u002F5.nodes\u002Fcore_idempotency-key",{"title":378,"path":379,"stem":380},"If","\u002Fdocs\u002Fnodes\u002Fcore_if","docs\u002F5.nodes\u002Fcore_if",{"title":382,"path":383,"stem":384},"Inspect","\u002Fdocs\u002Fnodes\u002Fcore_inspect","docs\u002F5.nodes\u002Fcore_inspect",{"title":386,"path":387,"stem":388},"JSON Merge","\u002Fdocs\u002Fnodes\u002Fcore_json-merge","docs\u002F5.nodes\u002Fcore_json-merge",{"title":390,"path":391,"stem":392},"JSON Schema Validate","\u002Fdocs\u002Fnodes\u002Fcore_json-schema-validate","docs\u002F5.nodes\u002Fcore_json-schema-validate",{"title":394,"path":395,"stem":396},"JSONPath Extract","\u002Fdocs\u002Fnodes\u002Fcore_jsonpath-extract","docs\u002F5.nodes\u002Fcore_jsonpath-extract",{"title":398,"path":399,"stem":400},"Log","\u002Fdocs\u002Fnodes\u002Fcore_log","docs\u002F5.nodes\u002Fcore_log",{"title":402,"path":403,"stem":404},"Math","\u002Fdocs\u002Fnodes\u002Fcore_math","docs\u002F5.nodes\u002Fcore_math",{"title":406,"path":407,"stem":408},"Merge","\u002Fdocs\u002Fnodes\u002Fcore_merge","docs\u002F5.nodes\u002Fcore_merge",{"title":410,"path":411,"stem":412},"Metric Counter","\u002Fdocs\u002Fnodes\u002Fcore_metric-counter","docs\u002F5.nodes\u002Fcore_metric-counter",{"title":414,"path":415,"stem":416},"Metric Gauge","\u002Fdocs\u002Fnodes\u002Fcore_metric-gauge","docs\u002F5.nodes\u002Fcore_metric-gauge",{"title":418,"path":419,"stem":420},"Mock","\u002Fdocs\u002Fnodes\u002Fcore_mock","docs\u002F5.nodes\u002Fcore_mock",{"title":422,"path":423,"stem":424},"No-op","\u002Fdocs\u002Fnodes\u002Fcore_noop","docs\u002F5.nodes\u002Fcore_noop",{"title":426,"path":427,"stem":428},"Object Omit","\u002Fdocs\u002Fnodes\u002Fcore_object-omit","docs\u002F5.nodes\u002Fcore_object-omit",{"title":430,"path":431,"stem":432},"Object Pick","\u002Fdocs\u002Fnodes\u002Fcore_object-pick","docs\u002F5.nodes\u002Fcore_object-pick",{"title":434,"path":435,"stem":436},"Parallel Fan-Out","\u002Fdocs\u002Fnodes\u002Fcore_parallel","docs\u002F5.nodes\u002Fcore_parallel",{"title":438,"path":439,"stem":440},"Raise","\u002Fdocs\u002Fnodes\u002Fcore_raise","docs\u002F5.nodes\u002Fcore_raise",{"title":442,"path":443,"stem":444},"Rate Limit Check","\u002Fdocs\u002Fnodes\u002Fcore_rate-limit-check","docs\u002F5.nodes\u002Fcore_rate-limit-check",{"title":446,"path":447,"stem":448},"Regex Extract","\u002Fdocs\u002Fnodes\u002Fcore_regex-extract","docs\u002F5.nodes\u002Fcore_regex-extract",{"title":450,"path":451,"stem":452},"Require Fields","\u002Fdocs\u002Fnodes\u002Fcore_require-fields","docs\u002F5.nodes\u002Fcore_require-fields",{"title":454,"path":455,"stem":456},"Rethrow","\u002Fdocs\u002Fnodes\u002Fcore_rethrow","docs\u002F5.nodes\u002Fcore_rethrow",{"title":458,"path":459,"stem":460},"Return","\u002Fdocs\u002Fnodes\u002Fcore_return","docs\u002F5.nodes\u002Fcore_return",{"title":462,"path":463,"stem":464},"HMAC Signature Verify","\u002Fdocs\u002Fnodes\u002Fcore_signature-verify","docs\u002F5.nodes\u002Fcore_signature-verify",{"title":466,"path":467,"stem":468},"String Op","\u002Fdocs\u002Fnodes\u002Fcore_string-ops","docs\u002F5.nodes\u002Fcore_string-ops",{"title":470,"path":471,"stem":472},"Subflow Invoke","\u002Fdocs\u002Fnodes\u002Fcore_subflow-invoke","docs\u002F5.nodes\u002Fcore_subflow-invoke",{"title":474,"path":475,"stem":476},"Switch","\u002Fdocs\u002Fnodes\u002Fcore_switch","docs\u002F5.nodes\u002Fcore_switch",{"title":478,"path":479,"stem":480},"Template Render","\u002Fdocs\u002Fnodes\u002Fcore_template-render","docs\u002F5.nodes\u002Fcore_template-render",{"title":482,"path":483,"stem":484},"Throttle","\u002Fdocs\u002Fnodes\u002Fcore_throttle","docs\u002F5.nodes\u002Fcore_throttle",{"title":486,"path":487,"stem":488},"Timeout","\u002Fdocs\u002Fnodes\u002Fcore_timeout","docs\u002F5.nodes\u002Fcore_timeout",{"title":490,"path":491,"stem":492},"Type Cast","\u002Fdocs\u002Fnodes\u002Fcore_type-cast","docs\u002F5.nodes\u002Fcore_type-cast",{"title":494,"path":495,"stem":496},"Webhook Respond","\u002Fdocs\u002Fnodes\u002Fcore_webhook-respond","docs\u002F5.nodes\u002Fcore_webhook-respond",{"title":498,"path":499,"stem":500},"File Delete","\u002Fdocs\u002Fnodes\u002Ffilesys_delete","docs\u002F5.nodes\u002Ffilesys_delete",{"title":502,"path":503,"stem":504},"Directory List","\u002Fdocs\u002Fnodes\u002Ffilesys_list","docs\u002F5.nodes\u002Ffilesys_list",{"title":506,"path":507,"stem":508},"File Read","\u002Fdocs\u002Fnodes\u002Ffilesys_read","docs\u002F5.nodes\u002Ffilesys_read",{"title":510,"path":511,"stem":512},"File Stat","\u002Fdocs\u002Fnodes\u002Ffilesys_stat","docs\u002F5.nodes\u002Ffilesys_stat",{"title":514,"path":515,"stem":516},"File Write","\u002Fdocs\u002Fnodes\u002Ffilesys_write","docs\u002F5.nodes\u002Ffilesys_write",{"title":518,"path":519,"stem":520},"FTP Delete","\u002Fdocs\u002Fnodes\u002Fftp_delete","docs\u002F5.nodes\u002Fftp_delete",{"title":522,"path":523,"stem":524},"FTP Download","\u002Fdocs\u002Fnodes\u002Fftp_download","docs\u002F5.nodes\u002Fftp_download",{"title":526,"path":527,"stem":528},"FTP List","\u002Fdocs\u002Fnodes\u002Fftp_list","docs\u002F5.nodes\u002Fftp_list",{"title":530,"path":531,"stem":532},"FTP Upload","\u002Fdocs\u002Fnodes\u002Fftp_upload","docs\u002F5.nodes\u002Fftp_upload",{"title":534,"path":535,"stem":536},"HTTP DELETE","\u002Fdocs\u002Fnodes\u002Fhttp_delete","docs\u002F5.nodes\u002Fhttp_delete",{"title":538,"path":539,"stem":540},"HTTP GET","\u002Fdocs\u002Fnodes\u002Fhttp_get","docs\u002F5.nodes\u002Fhttp_get",{"title":542,"path":543,"stem":544},"HTTP POST","\u002Fdocs\u002Fnodes\u002Fhttp_post","docs\u002F5.nodes\u002Fhttp_post",{"title":546,"path":547,"stem":548},"HTTP PUT","\u002Fdocs\u002Fnodes\u002Fhttp_put","docs\u002F5.nodes\u002Fhttp_put",{"title":550,"path":551,"stem":552},"HTTP Request","\u002Fdocs\u002Fnodes\u002Fhttp_request","docs\u002F5.nodes\u002Fhttp_request",{"title":554,"path":555,"stem":556},"Fill Translations","\u002Fdocs\u002Fnodes\u002Fi18n_fill-translations","docs\u002F5.nodes\u002Fi18n_fill-translations",{"title":558,"path":559,"stem":560},"Resolve Locale","\u002Fdocs\u002Fnodes\u002Fi18n_resolve-locale","docs\u002F5.nodes\u002Fi18n_resolve-locale",{"title":562,"path":563,"stem":564},"Translate","\u002Fdocs\u002Fnodes\u002Fi18n_translate","docs\u002F5.nodes\u002Fi18n_translate",{"title":566,"path":567,"stem":568},"Mongo AGGREGATE","\u002Fdocs\u002Fnodes\u002Fmongoops_aggregate","docs\u002F5.nodes\u002Fmongoops_aggregate",{"title":570,"path":571,"stem":572},"Mongo DELETE","\u002Fdocs\u002Fnodes\u002Fmongoops_delete","docs\u002F5.nodes\u002Fmongoops_delete",{"title":574,"path":575,"stem":576},"Mongo FIND","\u002Fdocs\u002Fnodes\u002Fmongoops_find","docs\u002F5.nodes\u002Fmongoops_find",{"title":578,"path":579,"stem":580},"Mongo FIND ONE","\u002Fdocs\u002Fnodes\u002Fmongoops_find-one","docs\u002F5.nodes\u002Fmongoops_find-one",{"title":582,"path":583,"stem":584},"Mongo INSERT","\u002Fdocs\u002Fnodes\u002Fmongoops_insert","docs\u002F5.nodes\u002Fmongoops_insert",{"title":586,"path":587,"stem":588},"Mongo UPDATE","\u002Fdocs\u002Fnodes\u002Fmongoops_update","docs\u002F5.nodes\u002Fmongoops_update",{"title":590,"path":591,"stem":592},"Postgres COPY FROM","\u002Fdocs\u002Fnodes\u002Fpostgres_copy-from","docs\u002F5.nodes\u002Fpostgres_copy-from",{"title":594,"path":595,"stem":596},"Postgres Exec","\u002Fdocs\u002Fnodes\u002Fpostgres_exec","docs\u002F5.nodes\u002Fpostgres_exec",{"title":598,"path":599,"stem":600},"Postgres Query","\u002Fdocs\u002Fnodes\u002Fpostgres_query","docs\u002F5.nodes\u002Fpostgres_query",{"title":602,"path":603,"stem":604},"Postgres Transaction","\u002Fdocs\u002Fnodes\u002Fpostgres_transaction","docs\u002F5.nodes\u002Fpostgres_transaction",{"title":606,"path":607,"stem":608},"RabbitMQ Consume","\u002Fdocs\u002Fnodes\u002Frabbitmq_consume","docs\u002F5.nodes\u002Frabbitmq_consume",{"title":610,"path":611,"stem":612},"RabbitMQ Declare","\u002Fdocs\u002Fnodes\u002Frabbitmq_declare","docs\u002F5.nodes\u002Frabbitmq_declare",{"title":614,"path":615,"stem":616},"RabbitMQ Publish","\u002Fdocs\u002Fnodes\u002Frabbitmq_publish","docs\u002F5.nodes\u002Frabbitmq_publish",{"title":618,"path":619,"stem":620},"Auth Login","\u002Fdocs\u002Fnodes\u002Fredelay_auth-login","docs\u002F5.nodes\u002Fredelay_auth-login",{"title":622,"path":623,"stem":624},"Require Permission","\u002Fdocs\u002Fnodes\u002Fredelay_auth-require-permission","docs\u002F5.nodes\u002Fredelay_auth-require-permission",{"title":626,"path":627,"stem":628},"Validate Token","\u002Fdocs\u002Fnodes\u002Fredelay_auth-validate-token","docs\u002F5.nodes\u002Fredelay_auth-validate-token",{"title":630,"path":631,"stem":632},"Render Email Template","\u002Fdocs\u002Fnodes\u002Fredelay_email-render-template","docs\u002F5.nodes\u002Fredelay_email-render-template",{"title":634,"path":635,"stem":636},"Send Email","\u002Fdocs\u002Fnodes\u002Fredelay_email-send","docs\u002F5.nodes\u002Fredelay_email-send",{"title":638,"path":639,"stem":640},"Send Templated Email","\u002Fdocs\u002Fnodes\u002Fredelay_email-send-templated","docs\u002F5.nodes\u002Fredelay_email-send-templated",{"title":642,"path":643,"stem":644},"Event Source","\u002Fdocs\u002Fnodes\u002Fredelay_event-source","docs\u002F5.nodes\u002Fredelay_event-source",{"title":646,"path":647,"stem":648},"Create Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-create-group","docs\u002F5.nodes\u002Fredelay_groups-create-group",{"title":650,"path":651,"stem":652},"Delete Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-delete-group","docs\u002F5.nodes\u002Fredelay_groups-delete-group",{"title":654,"path":655,"stem":656},"Resolve Permissions","\u002Fdocs\u002Fnodes\u002Fredelay_groups-resolve-permissions","docs\u002F5.nodes\u002Fredelay_groups-resolve-permissions",{"title":658,"path":659,"stem":660},"Update Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-update-group","docs\u002F5.nodes\u002Fredelay_groups-update-group",{"title":662,"path":663,"stem":664},"HTTP Endpoint","\u002Fdocs\u002Fnodes\u002Fredelay_http-endpoint","docs\u002F5.nodes\u002Fredelay_http-endpoint",{"title":666,"path":667,"stem":668},"JSON Stream Source","\u002Fdocs\u002Fnodes\u002Fredelay_json-stream-source","docs\u002F5.nodes\u002Fredelay_json-stream-source",{"title":670,"path":671,"stem":672},"JSON → Event","\u002Fdocs\u002Fnodes\u002Fredelay_json-to-event","docs\u002F5.nodes\u002Fredelay_json-to-event",{"title":674,"path":675,"stem":676},"Kafka Produce","\u002Fdocs\u002Fnodes\u002Fredelay_kafka-produce","docs\u002F5.nodes\u002Fredelay_kafka-produce",{"title":678,"path":679,"stem":680},"Create Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-create","docs\u002F5.nodes\u002Fredelay_links-create",{"title":682,"path":683,"stem":684},"Delete Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-delete","docs\u002F5.nodes\u002Fredelay_links-delete",{"title":686,"path":687,"stem":688},"Resolve Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-resolve","docs\u002F5.nodes\u002Fredelay_links-resolve",{"title":690,"path":691,"stem":692},"LLM Chat","\u002Fdocs\u002Fnodes\u002Fredelay_llm-chat","docs\u002F5.nodes\u002Fredelay_llm-chat",{"title":694,"path":695,"stem":696},"LLM Embed","\u002Fdocs\u002Fnodes\u002Fredelay_llm-embed","docs\u002F5.nodes\u002Fredelay_llm-embed",{"title":698,"path":699,"stem":700},"LLM Guard","\u002Fdocs\u002Fnodes\u002Fredelay_llm-guard","docs\u002F5.nodes\u002Fredelay_llm-guard",{"title":702,"path":703,"stem":704},"LLM Tool Router","\u002Fdocs\u002Fnodes\u002Fredelay_llm-tool-router","docs\u002F5.nodes\u002Fredelay_llm-tool-router",{"title":706,"path":707,"stem":708},"NATS Publish","\u002Fdocs\u002Fnodes\u002Fredelay_nats-publish","docs\u002F5.nodes\u002Fredelay_nats-publish",{"title":710,"path":711,"stem":712},"Mark Notification Read","\u002Fdocs\u002Fnodes\u002Fredelay_notifications-mark-read","docs\u002F5.nodes\u002Fredelay_notifications-mark-read",{"title":714,"path":715,"stem":716},"Send Notification","\u002Fdocs\u002Fnodes\u002Fredelay_notifications-send","docs\u002F5.nodes\u002Fredelay_notifications-send",{"title":718,"path":719,"stem":720},"Redis Stream XADD","\u002Fdocs\u002Fnodes\u002Fredelay_redis-stream-publish","docs\u002F5.nodes\u002Fredelay_redis-stream-publish",{"title":722,"path":723,"stem":724},"S3 Copy Object","\u002Fdocs\u002Fnodes\u002Fredelay_s3-copy-object","docs\u002F5.nodes\u002Fredelay_s3-copy-object",{"title":726,"path":727,"stem":728},"S3 Delete Many","\u002Fdocs\u002Fnodes\u002Fredelay_s3-delete-many","docs\u002F5.nodes\u002Fredelay_s3-delete-many",{"title":730,"path":731,"stem":732},"S3 Head Object","\u002Fdocs\u002Fnodes\u002Fredelay_s3-head-object","docs\u002F5.nodes\u002Fredelay_s3-head-object",{"title":734,"path":735,"stem":736},"S3 List Objects","\u002Fdocs\u002Fnodes\u002Fredelay_s3-list-objects","docs\u002F5.nodes\u002Fredelay_s3-list-objects",{"title":738,"path":739,"stem":740},"Create Schedule","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-create-schedule","docs\u002F5.nodes\u002Fredelay_scheduler-create-schedule",{"title":742,"path":743,"stem":744},"Cron Trigger","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-cron-trigger","docs\u002F5.nodes\u002Fredelay_scheduler-cron-trigger",{"title":746,"path":747,"stem":748},"Delete Schedule","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-delete-schedule","docs\u002F5.nodes\u002Fredelay_scheduler-delete-schedule",{"title":750,"path":751,"stem":752},"Interval Trigger","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-interval-trigger","docs\u002F5.nodes\u002Fredelay_scheduler-interval-trigger",{"title":754,"path":755,"stem":756},"Search Query","\u002Fdocs\u002Fnodes\u002Fredelay_search-query","docs\u002F5.nodes\u002Fredelay_search-query",{"title":758,"path":759,"stem":760},"Search Upsert","\u002Fdocs\u002Fnodes\u002Fredelay_search-upsert","docs\u002F5.nodes\u002Fredelay_search-upsert",{"title":762,"path":763,"stem":764},"Delete Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-delete","docs\u002F5.nodes\u002Fredelay_settings-delete",{"title":766,"path":767,"stem":768},"Get Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-get","docs\u002F5.nodes\u002Fredelay_settings-get",{"title":770,"path":771,"stem":772},"Set Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-set","docs\u002F5.nodes\u002Fredelay_settings-set",{"title":774,"path":775,"stem":776},"Delete File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-delete","docs\u002F5.nodes\u002Fredelay_storage-delete",{"title":778,"path":779,"stem":780},"Download File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-download","docs\u002F5.nodes\u002Fredelay_storage-download",{"title":782,"path":783,"stem":784},"Generate Presigned URL","\u002Fdocs\u002Fnodes\u002Fredelay_storage-presign-url","docs\u002F5.nodes\u002Fredelay_storage-presign-url",{"title":786,"path":787,"stem":788},"Upload File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-upload","docs\u002F5.nodes\u002Fredelay_storage-upload",{"title":790,"path":791,"stem":792},"Subworkflow","\u002Fdocs\u002Fnodes\u002Fredelay_subworkflow","docs\u002F5.nodes\u002Fredelay_subworkflow",{"title":794,"path":795,"stem":796},"Activate User","\u002Fdocs\u002Fnodes\u002Fredelay_users-activate","docs\u002F5.nodes\u002Fredelay_users-activate",{"title":798,"path":799,"stem":800},"Create Pending User","\u002Fdocs\u002Fnodes\u002Fredelay_users-create-pending","docs\u002F5.nodes\u002Fredelay_users-create-pending",{"title":802,"path":803,"stem":804},"Create User","\u002Fdocs\u002Fnodes\u002Fredelay_users-create-user","docs\u002F5.nodes\u002Fredelay_users-create-user",{"title":806,"path":807,"stem":808},"Delete User","\u002Fdocs\u002Fnodes\u002Fredelay_users-delete-user","docs\u002F5.nodes\u002Fredelay_users-delete-user",{"title":810,"path":811,"stem":812},"Find User By Email","\u002Fdocs\u002Fnodes\u002Fredelay_users-find-by-email","docs\u002F5.nodes\u002Fredelay_users-find-by-email",{"title":814,"path":815,"stem":816},"Get User","\u002Fdocs\u002Fnodes\u002Fredelay_users-get-user","docs\u002F5.nodes\u002Fredelay_users-get-user",{"title":818,"path":819,"stem":820},"List Users","\u002Fdocs\u002Fnodes\u002Fredelay_users-list-users","docs\u002F5.nodes\u002Fredelay_users-list-users",{"title":822,"path":823,"stem":824},"Update User","\u002Fdocs\u002Fnodes\u002Fredelay_users-update-user","docs\u002F5.nodes\u002Fredelay_users-update-user",{"title":826,"path":827,"stem":828},"Request Email Verification (legacy)","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request","docs\u002F5.nodes\u002Fredelay_verification-request",{"title":830,"path":831,"stem":832},"Request Email Verification","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request-email","docs\u002F5.nodes\u002Fredelay_verification-request-email",{"title":834,"path":835,"stem":836},"Request SMS Verification","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request-sms","docs\u002F5.nodes\u002Fredelay_verification-request-sms",{"title":838,"path":839,"stem":840},"Verify Token","\u002Fdocs\u002Fnodes\u002Fredelay_verification-verify","docs\u002F5.nodes\u002Fredelay_verification-verify",{"title":842,"path":843,"stem":844},"Redis DEL","\u002Fdocs\u002Fnodes\u002Fredisops_del","docs\u002F5.nodes\u002Fredisops_del",{"title":846,"path":847,"stem":848},"Redis EXPIRE","\u002Fdocs\u002Fnodes\u002Fredisops_expire","docs\u002F5.nodes\u002Fredisops_expire",{"title":850,"path":851,"stem":852},"Redis GET","\u002Fdocs\u002Fnodes\u002Fredisops_get","docs\u002F5.nodes\u002Fredisops_get",{"title":854,"path":855,"stem":856},"Redis HGET","\u002Fdocs\u002Fnodes\u002Fredisops_hget","docs\u002F5.nodes\u002Fredisops_hget",{"title":858,"path":859,"stem":860},"Redis HSET","\u002Fdocs\u002Fnodes\u002Fredisops_hset","docs\u002F5.nodes\u002Fredisops_hset",{"title":862,"path":863,"stem":864},"Redis INCR","\u002Fdocs\u002Fnodes\u002Fredisops_incr","docs\u002F5.nodes\u002Fredisops_incr",{"title":866,"path":867,"stem":868},"Redis LPOP","\u002Fdocs\u002Fnodes\u002Fredisops_lpop","docs\u002F5.nodes\u002Fredisops_lpop",{"title":870,"path":871,"stem":872},"Redis LPUSH","\u002Fdocs\u002Fnodes\u002Fredisops_lpush","docs\u002F5.nodes\u002Fredisops_lpush",{"title":874,"path":875,"stem":876},"Redis PUBLISH","\u002Fdocs\u002Fnodes\u002Fredisops_publish","docs\u002F5.nodes\u002Fredisops_publish",{"title":878,"path":879,"stem":880},"Redis SET","\u002Fdocs\u002Fnodes\u002Fredisops_set","docs\u002F5.nodes\u002Fredisops_set",{"title":882,"path":883,"stem":884},"SFTP Download","\u002Fdocs\u002Fnodes\u002Fsftp_download","docs\u002F5.nodes\u002Fsftp_download",{"title":886,"path":887,"stem":888},"SFTP Upload","\u002Fdocs\u002Fnodes\u002Fsftp_upload","docs\u002F5.nodes\u002Fsftp_upload",{"title":890,"path":891,"stem":892},"Send SMS","\u002Fdocs\u002Fnodes\u002Fsms_send","docs\u002F5.nodes\u002Fsms_send",{"title":894,"path":895,"stem":896,"children":897,"page":62},"Rfcs","\u002Fdocs\u002Frfcs","docs\u002F6.rfcs",[898],{"title":899,"path":900,"stem":901},"RFC 0001 — Worker Assignment for Flow Deployments","\u002Fdocs\u002Frfcs\u002F0001-worker-assignment","docs\u002F6.rfcs\u002F0001-worker-assignment",{"title":903,"path":904,"stem":905,"children":906,"page":62},"Admin","\u002Fdocs\u002Fadmin","docs\u002F7.admin",[907,912,917,922,927,932,937,941,946],{"title":5,"path":908,"stem":909,"order":910,"icon":911},"\u002Fdocs\u002Fadmin\u002Foverview","docs\u002F7.admin\u002F00.overview",0,"i-lucide-compass",{"title":913,"path":914,"stem":915,"order":10,"icon":916},"Getting started","\u002Fdocs\u002Fadmin\u002Fgetting-started","docs\u002F7.admin\u002F01.getting-started","i-lucide-play",{"title":918,"path":919,"stem":920,"order":16,"icon":921},"Layered architecture","\u002Fdocs\u002Fadmin\u002Flayered-architecture","docs\u002F7.admin\u002F02.layered-architecture","i-lucide-layers",{"title":923,"path":924,"stem":925,"order":22,"icon":926},"Building a custom admin project","\u002Fdocs\u002Fadmin\u002Fbuilding-a-custom-admin-project","docs\u002F7.admin\u002F03.building-a-custom-admin-project","i-lucide-folder-plus",{"title":928,"path":929,"stem":930,"order":51,"icon":931},"Building admin modules","\u002Fdocs\u002Fadmin\u002Fbuilding-admin-modules","docs\u002F7.admin\u002F04.building-admin-modules","i-lucide-package-plus",{"title":933,"path":934,"stem":935,"order":57,"icon":936},"Base module reference","\u002Fdocs\u002Fadmin\u002Freference-base-modules","docs\u002F7.admin\u002F05.reference-base-modules","i-lucide-boxes",{"title":938,"path":939,"stem":940,"order":102,"icon":17},"Deployment","\u002Fdocs\u002Fadmin\u002Fdeployment","docs\u002F7.admin\u002F06.deployment",{"title":942,"path":943,"stem":944,"order":108,"icon":945},"Consuming the base layer (versioned)","\u002Fdocs\u002Fadmin\u002Fconsuming-the-base-layer","docs\u002F7.admin\u002F07.consuming-the-base-layer","i-lucide-package",{"title":947,"path":948,"stem":949,"order":108},"Admin UI","\u002Fdocs\u002Fadmin\u002F_dir","docs\u002F7.admin\u002F_dir",{"title":951,"path":952,"stem":953,"children":954,"page":62},"Services","\u002Fdocs\u002Fservices","docs\u002F8.services",[955,960],{"title":956,"path":957,"stem":958,"order":10,"icon":959},"Custom development & support services","\u002Fdocs\u002Fservices\u002Fcustom-development","docs\u002F8.services\u002F1.custom-development","i-lucide-briefcase",{"title":951,"path":961,"stem":962,"icon":959,"order":963},"\u002Fdocs\u002Fservices\u002F_dir","docs\u002F8.services\u002F_dir",80,{"title":965,"path":966,"stem":967,"order":910},"Dir","\u002Fdocs\u002F_dir","docs\u002F_dir",{"id":969,"title":220,"body":970,"description":3346,"extension":3347,"links":3348,"meta":3349,"navigation":3350,"path":221,"seo":3351,"stem":222,"__hash__":3352},"docs\u002Fdocs\u002F4.reference\u002F16.go-ai.md",{"type":971,"value":972,"toc":3314},"minimark",[973,977,993,1017,1022,1030,1038,1079,1120,1127,1163,1173,1181,1188,1197,1288,1300,1333,1337,1344,1383,1411,1418,1438,1442,1500,1506,1571,1578,1581,1691,1694,1715,1745,1749,1822,1829,1839,1842,1885,1889,2007,2011,2017,2124,2135,2138,2197,2266,2295,2312,2319,2323,2341,2630,2645,2648,2655,2688,2694,2778,2799,2803,2849,2856,2870,2875,2939,2944,3000,3006,3016,3087,3107,3121,3128,3166,3181,3274,3310],[974,975,220],"h1",{"id":976},"go-ai-llm-providers-guard-ledger",[978,979,980,984,985,988,989,992],"p",{},[981,982,983],"code",{},"github.com\u002Fredelay\u002Fgo-ai"," provides a single ",[981,986,987],{},"llm.Provider"," interface implemented by every\nsupported LLM backend, a ",[981,990,991],{},"guard.Guard"," interface for safety classification, and a usage\nledger that records token spend per run. Applications pick a provider by ID at runtime;\nFlowDSL nodes make the choice configurable per-step.",[994,995,1000],"pre",{"className":996,"code":997,"language":998,"meta":999,"style":999},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","go get github.com\u002Fredelay\u002Fgo-ai\n","bash","",[981,1001,1002],{"__ignoreMap":999},[1003,1004,1006,1010,1014],"span",{"class":1005,"line":10},"line",[1003,1007,1009],{"class":1008},"sBMFI","go",[1003,1011,1013],{"class":1012},"sfazB"," get",[1003,1015,1016],{"class":1012}," github.com\u002Fredelay\u002Fgo-ai\n",[1018,1019,1021],"h2",{"id":1020},"package-layout","Package layout",[994,1023,1028],{"className":1024,"code":1026,"language":1027},[1025],"language-text","github.com\u002Fredelay\u002Fgo-ai\n├── llm                     Provider interface, registry, types, middleware, usage\n│   ├── providers\u002Fopenai    OpenAI Chat + Responses + Embeddings\n│   ├── providers\u002Fopenaicompat  Base for OpenAI-compatible endpoints\n│   ├── providers\u002Follama    Local Ollama runtime\n│   ├── providers\u002Fanthropic Claude (Messages API, SSE tool-use)\n│   ├── providers\u002Fgemini    Google Gemini (generateContent, streamGenerateContent)\n│   ├── providers\u002Fovh       OVH AI Endpoints (openai-compatible preset)\n│   └── flowdsl             FlowDSL nodes: llm-chat, llm-embed, llm-tool-router, llm-guard\n├── guard                   Safety-classification abstraction (pre\u002Fpost filters)\n│   ├── qwen                Qwen3Guard-Gen backend (OVH-hosted, free)\n│   ├── noop                Always-allow backend (default when GUARD_PROVIDER unset)\n│   └── module              Framework module — reads config + admin settings, builds guard\n└── ledger                  Usage + cost recorder (admin-api submodule for reports)\n    └── admin               Admin HTTP surface — \u002Fadmin\u002Fllm\u002Fusage, \u002Fadmin\u002Fllm\u002Fpricing\n","text",[981,1029,1026],{"__ignoreMap":999},[1018,1031,1033,1034,1037],{"id":1032},"the-provider-interface","The ",[981,1035,1036],{},"Provider"," interface",[994,1039,1042],{"className":1040,"code":1041,"language":1009,"meta":999,"style":999},"language-go shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","type Provider interface {\n    ID() string\n    Capabilities() Capabilities\n    Chat(ctx, ChatRequest) (*ChatResponse, error)\n    ChatStream(ctx, ChatRequest) (\u003C-chan Chunk, error)\n    Embed(ctx, EmbedRequest) (*EmbedResponse, error)\n}\n",[981,1043,1044,1049,1054,1059,1064,1069,1074],{"__ignoreMap":999},[1003,1045,1046],{"class":1005,"line":10},[1003,1047,1048],{},"type Provider interface {\n",[1003,1050,1051],{"class":1005,"line":16},[1003,1052,1053],{},"    ID() string\n",[1003,1055,1056],{"class":1005,"line":22},[1003,1057,1058],{},"    Capabilities() Capabilities\n",[1003,1060,1061],{"class":1005,"line":51},[1003,1062,1063],{},"    Chat(ctx, ChatRequest) (*ChatResponse, error)\n",[1003,1065,1066],{"class":1005,"line":57},[1003,1067,1068],{},"    ChatStream(ctx, ChatRequest) (\u003C-chan Chunk, error)\n",[1003,1070,1071],{"class":1005,"line":102},[1003,1072,1073],{},"    Embed(ctx, EmbedRequest) (*EmbedResponse, error)\n",[1003,1075,1076],{"class":1005,"line":108},[1003,1077,1078],{},"}\n",[978,1080,1081,1084,1085,1088,1089,1092,1093,1096,1097,1100,1101,1096,1104,1107,1108,1111,1112,1115,1116,1119],{},[981,1082,1083],{},"ChatRequest"," carries ",[981,1086,1087],{},"Messages",", optional ",[981,1090,1091],{},"Tools",", sampling knobs (",[981,1094,1095],{},"Temperature",", ",[981,1098,1099],{},"TopP",",\n",[981,1102,1103],{},"MaxTokens",[981,1105,1106],{},"Seed","), a ",[981,1109,1110],{},"ResponseFormat"," hint, and free-form ",[981,1113,1114],{},"Labels"," that flow into the\nusage record. ",[981,1117,1118],{},"Chunk"," is the transport-agnostic streaming envelope — the same shape feeds\nSSE and WebSocket adapters without per-transport provider code.",[978,1121,1122,1123,1126],{},"Providers are registered via ",[981,1124,1125],{},"init()",":",[994,1128,1130],{"className":1040,"code":1129,"language":1009,"meta":999,"style":999},"import _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fopenai\"\n\n\u002F\u002F Build an instance from config and store it in the registry.\np, err := llm.Build(\"openai\", map[string]any{\"apiKey\": os.Getenv(\"OPENAI_API_KEY\")})\n\u002F\u002F Later:\nprov, _ := llm.Get(\"openai\")\n",[981,1131,1132,1137,1143,1148,1153,1158],{"__ignoreMap":999},[1003,1133,1134],{"class":1005,"line":10},[1003,1135,1136],{},"import _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fopenai\"\n",[1003,1138,1139],{"class":1005,"line":16},[1003,1140,1142],{"emptyLinePlaceholder":1141},true,"\n",[1003,1144,1145],{"class":1005,"line":22},[1003,1146,1147],{},"\u002F\u002F Build an instance from config and store it in the registry.\n",[1003,1149,1150],{"class":1005,"line":51},[1003,1151,1152],{},"p, err := llm.Build(\"openai\", map[string]any{\"apiKey\": os.Getenv(\"OPENAI_API_KEY\")})\n",[1003,1154,1155],{"class":1005,"line":57},[1003,1156,1157],{},"\u002F\u002F Later:\n",[1003,1159,1160],{"class":1005,"line":102},[1003,1161,1162],{},"prov, _ := llm.Get(\"openai\")\n",[978,1164,1165,1168,1169,1172],{},[981,1166,1167],{},"llm.Providers()"," and ",[981,1170,1171],{},"llm.Factories()"," return sorted lists of registered instance IDs and\nfactory IDs respectively — consumed by the FlowDSL subpackage to populate the Studio dropdown.",[1018,1174,1176,1177,1180],{"id":1175},"flowdsl-nodes-llmflowdsl","FlowDSL nodes (",[981,1178,1179],{},"llm\u002Fflowdsl",")",[978,1182,1183,1184,1187],{},"Blank-import to expose the nodes in ",[981,1185,1186],{},"\u002Fmodules"," and make them available to the FlowDSL\nruntime:",[994,1189,1191],{"className":1040,"code":1190,"language":1009,"meta":999,"style":999},"import _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fflowdsl\"\n",[981,1192,1193],{"__ignoreMap":999},[1003,1194,1195],{"class":1005,"line":10},[1003,1196,1190],{},[1198,1199,1200,1216],"table",{},[1201,1202,1203],"thead",{},[1204,1205,1206,1210,1213],"tr",{},[1207,1208,1209],"th",{},"Node ID",[1207,1211,1212],{},"Kind",[1207,1214,1215],{},"Purpose",[1217,1218,1219,1233,1245,1266],"tbody",{},[1204,1220,1221,1227,1230],{},[1222,1223,1224],"td",{},[981,1225,1226],{},"redelay\u002Fllm-chat",[1222,1228,1229],{},"action",[1222,1231,1232],{},"Send a chat completion to a registered provider and emit the response",[1204,1234,1235,1240,1242],{},[1222,1236,1237],{},[981,1238,1239],{},"redelay\u002Fllm-embed",[1222,1241,1229],{},[1222,1243,1244],{},"Compute embeddings for one or more input strings",[1204,1246,1247,1252,1255],{},[1222,1248,1249],{},[981,1250,1251],{},"redelay\u002Fllm-tool-router",[1222,1253,1254],{},"router",[1222,1256,1257,1258,1261,1262,1265],{},"Inspect a chat response and route to ",[981,1259,1260],{},"Tool"," (toolCalls present) or ",[981,1263,1264],{},"Message"," (plain text)",[1204,1267,1268,1273,1275],{},[1222,1269,1270],{},[981,1271,1272],{},"redelay\u002Fllm-guard",[1222,1274,1254],{},[1222,1276,1277,1278,1281,1282,1281,1285],{},"Classify a message with a safety model and route to ",[981,1279,1280],{},"Allow"," \u002F ",[981,1283,1284],{},"Flag",[981,1286,1287],{},"Block",[1289,1290,1292,1293,1281,1296,1299],"h3",{"id":1291},"live-providerid-guardid-enums","Live ",[981,1294,1295],{},"providerID",[981,1297,1298],{},"guardID"," enums",[978,1301,1302,1168,1305,1308,1309,1311,1312,1315,1316,1318,1319,1322,1323,1281,1325,1328,1329,1332],{},[981,1303,1304],{},"llm-chat",[981,1306,1307],{},"llm-embed"," declare a required ",[981,1310,1295],{}," setting; ",[981,1313,1314],{},"llm-guard"," declares a\nrequired ",[981,1317,1298],{}," setting. At spec-build time the module overrides ",[981,1320,1321],{},"FlowDSLNodes()"," and\ninjects the live lists from ",[981,1324,1167],{},[981,1326,1327],{},"guard.Guards()"," (falling back to their\nfactory lists if no instance has been built yet) into each setting's ",[981,1330,1331],{},"enum",". Studio sees\ndropdowns that reflect the actual providers + guards wired up in the running app, not a\nhard-coded list.",[1289,1334,1336],{"id":1335},"registering-handlers","Registering handlers",[978,1338,1339,1340,1343],{},"Declaring the nodes in YAML is not enough — the runtime still needs handler functions that\ninvoke the Provider. Call ",[981,1341,1342],{},"flowdsl.Register"," once after bootstrapping the flow engine:",[994,1345,1347],{"className":1040,"code":1346,"language":1009,"meta":999,"style":999},"import (\n    llmflowdsl \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fflowdsl\"\n    \"github.com\u002Fredelay\u002Fgo-flowdsl\u002Fruntime\"\n)\n\neng := runtime.NewEngine(runtime.EngineConfig{})\nllmflowdsl.Register(eng)\n",[981,1348,1349,1354,1359,1364,1369,1373,1378],{"__ignoreMap":999},[1003,1350,1351],{"class":1005,"line":10},[1003,1352,1353],{},"import (\n",[1003,1355,1356],{"class":1005,"line":16},[1003,1357,1358],{},"    llmflowdsl \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fflowdsl\"\n",[1003,1360,1361],{"class":1005,"line":22},[1003,1362,1363],{},"    \"github.com\u002Fredelay\u002Fgo-flowdsl\u002Fruntime\"\n",[1003,1365,1366],{"class":1005,"line":51},[1003,1367,1368],{},")\n",[1003,1370,1371],{"class":1005,"line":57},[1003,1372,1142],{"emptyLinePlaceholder":1141},[1003,1374,1375],{"class":1005,"line":102},[1003,1376,1377],{},"eng := runtime.NewEngine(runtime.EngineConfig{})\n",[1003,1379,1380],{"class":1005,"line":108},[1003,1381,1382],{},"llmflowdsl.Register(eng)\n",[978,1384,1385,1388,1389,1100,1391,1096,1393,1096,1395,1397,1398,1400,1401,1404,1405,1400,1407,1410],{},[981,1386,1387],{},"Register"," wires four handlers keyed by node ID (",[981,1390,1226],{},[981,1392,1239],{},[981,1394,1251],{},[981,1396,1272],{},"). It resolves the\nconfigured ",[981,1399,1295],{}," through ",[981,1402,1403],{},"llm.Get"," and the configured ",[981,1406,1298],{},[981,1408,1409],{},"guard.Get",".",[978,1412,1413,1414,1417],{},"For tests or apps that manage their own provider cache, use ",[981,1415,1416],{},"RegisterWith"," and supply a\ncustom lookup:",[994,1419,1421],{"className":1040,"code":1420,"language":1009,"meta":999,"style":999},"llmflowdsl.RegisterWith(eng, func(id string) (llm.Provider, error) {\n    return myCache.Resolve(id)\n})\n",[981,1422,1423,1428,1433],{"__ignoreMap":999},[1003,1424,1425],{"class":1005,"line":10},[1003,1426,1427],{},"llmflowdsl.RegisterWith(eng, func(id string) (llm.Provider, error) {\n",[1003,1429,1430],{"class":1005,"line":16},[1003,1431,1432],{},"    return myCache.Resolve(id)\n",[1003,1434,1435],{"class":1005,"line":22},[1003,1436,1437],{},"})\n",[1289,1439,1441],{"id":1440},"handler-behaviour","Handler behaviour",[978,1443,1444,1449,1450,1096,1452,1096,1455,1096,1458,1096,1461,1100,1464,1467,1468,1471,1472,1096,1474,1100,1476,1096,1478,1481,1482,1485,1486,1489,1490,1096,1493,1496,1497,1410],{},[1445,1446,1447],"strong",{},[981,1448,1304],{}," reads ",[981,1451,1295],{},[981,1453,1454],{},"model",[981,1456,1457],{},"temperature",[981,1459,1460],{},"maxTokens",[981,1462,1463],{},"systemPrompt",[981,1465,1466],{},"replyStyle",", and ",[981,1469,1470],{},"examplesPolicy"," from node config; input fields (",[981,1473,1454],{},[981,1475,1457],{},[981,1477,1460],{},[981,1479,1480],{},"responseFormat",") override the config on a per-run basis. ",[981,1483,1484],{},"messages"," and\noptional ",[981,1487,1488],{},"tools"," come from the packet input. The output carries ",[981,1491,1492],{},"message",[981,1494,1495],{},"finishReason",",\nand ",[981,1498,1499],{},"usage",[978,1501,1502,1505],{},[1445,1503,1504],{},"System prompt composition"," — the effective system message is built at call time from\nthree node settings:",[1198,1507,1508,1521],{},[1201,1509,1510],{},[1204,1511,1512,1515,1518],{},[1207,1513,1514],{},"Setting",[1207,1516,1517],{},"Type",[1207,1519,1520],{},"Effect",[1217,1522,1523,1535,1554],{},[1204,1524,1525,1529,1532],{},[1222,1526,1527],{},[981,1528,1463],{},[1222,1530,1531],{},"string (textarea)",[1222,1533,1534],{},"Base prompt. Written verbatim as the first paragraph of the system message.",[1204,1536,1537,1541,1547],{},[1222,1538,1539],{},[981,1540,1466],{},[1222,1542,1543,1544],{},"enum ",[981,1545,1546],{},"short | normal | detailed",[1222,1548,1549,1550,1553],{},"Appends a plain-English directive about reply length. ",[981,1551,1552],{},"normal"," (default) appends nothing.",[1204,1555,1556,1560,1565],{},[1222,1557,1558],{},[981,1559,1470],{},[1222,1561,1543,1562],{},[981,1563,1564],{},"avoid | when_asked | always",[1222,1566,1567,1568,1553],{},"Appends a directive about whether to include runnable examples. ",[981,1569,1570],{},"when_asked",[978,1572,1573,1574,1577],{},"If the incoming packet's first message already has ",[981,1575,1576],{},"role=system",", node-level composition is\nskipped entirely — explicit callers always win. Otherwise the three parts are joined with\nblank lines and prepended as a single system message. The composed prompt is empty when\nevery input is empty, which lets the handler skip injecting a system role entirely.",[978,1579,1580],{},"Example — non-engineer tuning from Studio:",[994,1582,1586],{"className":1583,"code":1584,"language":1585,"meta":999,"style":999},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","nodes:\n  - id: chat\n    action_ref: redelay\u002Fllm-chat\n    config:\n      providerID: ollama\n      model: qwen2.5:3b\n      replyStyle: short            # → \"Keep replies short: aim for 1-3 sentences...\"\n      examplesPolicy: avoid        # → \"Do not include code or runnable examples...\"\n      systemPrompt: \"You are the support assistant for Acme.\"\n","yaml",[981,1587,1588,1598,1611,1621,1628,1638,1648,1662,1675],{"__ignoreMap":999},[1003,1589,1590,1594],{"class":1005,"line":10},[1003,1591,1593],{"class":1592},"swJcz","nodes",[1003,1595,1597],{"class":1596},"sMK4o",":\n",[1003,1599,1600,1603,1606,1608],{"class":1005,"line":16},[1003,1601,1602],{"class":1596},"  -",[1003,1604,1605],{"class":1592}," id",[1003,1607,1126],{"class":1596},[1003,1609,1610],{"class":1012}," chat\n",[1003,1612,1613,1616,1618],{"class":1005,"line":22},[1003,1614,1615],{"class":1592},"    action_ref",[1003,1617,1126],{"class":1596},[1003,1619,1620],{"class":1012}," redelay\u002Fllm-chat\n",[1003,1622,1623,1626],{"class":1005,"line":51},[1003,1624,1625],{"class":1592},"    config",[1003,1627,1597],{"class":1596},[1003,1629,1630,1633,1635],{"class":1005,"line":57},[1003,1631,1632],{"class":1592},"      providerID",[1003,1634,1126],{"class":1596},[1003,1636,1637],{"class":1012}," ollama\n",[1003,1639,1640,1643,1645],{"class":1005,"line":102},[1003,1641,1642],{"class":1592},"      model",[1003,1644,1126],{"class":1596},[1003,1646,1647],{"class":1012}," qwen2.5:3b\n",[1003,1649,1650,1653,1655,1658],{"class":1005,"line":108},[1003,1651,1652],{"class":1592},"      replyStyle",[1003,1654,1126],{"class":1596},[1003,1656,1657],{"class":1012}," short",[1003,1659,1661],{"class":1660},"sHwdD","            # → \"Keep replies short: aim for 1-3 sentences...\"\n",[1003,1663,1664,1667,1669,1672],{"class":1005,"line":114},[1003,1665,1666],{"class":1592},"      examplesPolicy",[1003,1668,1126],{"class":1596},[1003,1670,1671],{"class":1012}," avoid",[1003,1673,1674],{"class":1660},"        # → \"Do not include code or runnable examples...\"\n",[1003,1676,1677,1680,1682,1685,1688],{"class":1005,"line":120},[1003,1678,1679],{"class":1592},"      systemPrompt",[1003,1681,1126],{"class":1596},[1003,1683,1684],{"class":1596}," \"",[1003,1686,1687],{"class":1012},"You are the support assistant for Acme.",[1003,1689,1690],{"class":1596},"\"\n",[978,1692,1693],{},"Tuning these three fields in FlowDSL Studio + publishing a new version is enough to change\nassistant tone — no code changes, no env-var churn.",[978,1695,1696,1449,1700,1168,1702,1704,1705,1708,1709,1712,1713,1410],{},[1445,1697,1698],{},[981,1699,1307],{},[981,1701,1295],{},[981,1703,1454],{}," from node config, ",[981,1706,1707],{},"input"," (string array) from\nthe packet. Output carries ",[981,1710,1711],{},"vectors"," (same length as input) and ",[981,1714,1499],{},[978,1716,1717,1449,1722,1724,1725,1728,1729,1732,1733,1736,1737,1740,1741,1744],{},[1445,1718,1719],{},[981,1720,1721],{},"llm-tool-router",[981,1723,1492],{}," from the packet input, inspects ",[981,1726,1727],{},"toolCalls",", and\nwrites ",[981,1730,1731],{},"route = \"Tool\""," + ",[981,1734,1735],{},"toolCall"," (the first call) when present, otherwise\n",[981,1738,1739],{},"route = \"Message\"",". The runtime engine dispatches outbound edges whose ",[981,1742,1743],{},"condition"," matches\nthe route name.",[1018,1746,1748],{"id":1747},"provider-notes","Provider notes",[1750,1751,1752,1763,1788,1816],"ul",{},[1753,1754,1755,1758,1759,1762],"li",{},[1445,1756,1757],{},"openai, openaicompat, ovh"," — share an OpenAI-compatible transport; OVH is a thin preset\nover ",[981,1760,1761],{},"openaicompat"," defaulting to the Meta-Llama-3.3-70B endpoint.",[1753,1764,1765,1768,1769,1772,1773,1776,1777,1780,1781,1784,1785,1410],{},[1445,1766,1767],{},"anthropic"," — translates ",[981,1770,1771],{},"RoleSystem"," messages into the top-level ",[981,1774,1775],{},"system"," field and\nemits ",[981,1778,1779],{},"tool_use"," blocks through the Messages API. ",[981,1782,1783],{},"Embed"," returns ",[981,1786,1787],{},"ErrNoEmbed",[1753,1789,1790,1793,1794,1797,1798,1800,1801,1803,1804,1807,1808,1811,1812,1815],{},[1445,1791,1792],{},"gemini"," — rewrites ",[981,1795,1796],{},"RoleAssistant"," → ",[981,1799,1454],{},", folds ",[981,1802,1771],{}," into\n",[981,1805,1806],{},"systemInstruction",", and maps ",[981,1809,1810],{},"RoleTool"," responses into user-role ",[981,1813,1814],{},"functionResponse","\nblocks. Supports generateContent, streamGenerateContent, and embedContent.",[1753,1817,1818,1821],{},[1445,1819,1820],{},"ollama"," — local-only; no API key required; default model is whatever Ollama has pulled.",[1018,1823,1825,1828],{"id":1824},"ai-llm-framework-module",[981,1826,1827],{},"ai-llm"," framework module",[978,1830,1033,1831,1834,1835,1838],{},[981,1832,1833],{},"llm\u002Fmodule\u002F"," subpackage is a framework module that reads provider\ncredentials from env + admin settings and builds every provider that has\ncredentials on Startup. Use it instead of calling ",[981,1836,1837],{},"llm.BootstrapFromEnv","\ndirectly.",[978,1840,1841],{},"Blank-import to register:",[994,1843,1845],{"className":1040,"code":1844,"language":1009,"meta":999,"style":999},"import (\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fmodule\"              \u002F\u002F the module itself\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fanthropic\" \u002F\u002F factories\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fgemini\"\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Follama\"\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fopenai\"\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fovh\"\n)\n",[981,1846,1847,1851,1856,1861,1866,1871,1876,1881],{"__ignoreMap":999},[1003,1848,1849],{"class":1005,"line":10},[1003,1850,1353],{},[1003,1852,1853],{"class":1005,"line":16},[1003,1854,1855],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fmodule\"              \u002F\u002F the module itself\n",[1003,1857,1858],{"class":1005,"line":22},[1003,1859,1860],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fanthropic\" \u002F\u002F factories\n",[1003,1862,1863],{"class":1005,"line":51},[1003,1864,1865],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fgemini\"\n",[1003,1867,1868],{"class":1005,"line":57},[1003,1869,1870],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Follama\"\n",[1003,1872,1873],{"class":1005,"line":102},[1003,1874,1875],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fopenai\"\n",[1003,1877,1878],{"class":1005,"line":108},[1003,1879,1880],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fllm\u002Fproviders\u002Fovh\"\n",[1003,1882,1883],{"class":1005,"line":114},[1003,1884,1368],{},[1289,1886,1888],{"id":1887},"config-env-startup-defaults","Config (ENV — startup defaults)",[1198,1890,1891,1903],{},[1201,1892,1893],{},[1204,1894,1895,1898,1901],{},[1207,1896,1897],{},"Key",[1207,1899,1900],{},"Default",[1207,1902,1215],{},[1217,1904,1905,1919,1935,1949,1963,1977,1992],{},[1204,1906,1907,1912,1916],{},[1222,1908,1909],{},[981,1910,1911],{},"LLM_PROVIDER",[1222,1913,1914],{},[981,1915,1820],{},[1222,1917,1918],{},"Default provider id",[1204,1920,1921,1926,1932],{},[1222,1922,1923],{},[981,1924,1925],{},"OPENAI_API_KEY",[1222,1927,1928],{},[1929,1930,1931],"em",{},"(empty)",[1222,1933,1934],{},"Enables openai provider",[1204,1936,1937,1942,1946],{},[1222,1938,1939],{},[981,1940,1941],{},"ANTHROPIC_API_KEY",[1222,1943,1944],{},[1929,1945,1931],{},[1222,1947,1948],{},"Enables anthropic provider",[1204,1950,1951,1956,1960],{},[1222,1952,1953],{},[981,1954,1955],{},"GEMINI_API_KEY",[1222,1957,1958],{},[1929,1959,1931],{},[1222,1961,1962],{},"Enables gemini provider",[1204,1964,1965,1970,1974],{},[1222,1966,1967],{},[981,1968,1969],{},"OVH_AI_ENDPOINTS_TOKEN",[1222,1971,1972],{},[1929,1973,1931],{},[1222,1975,1976],{},"Enables ovh provider",[1204,1978,1979,1984,1989],{},[1222,1980,1981],{},[981,1982,1983],{},"OLLAMA_URL",[1222,1985,1986],{},[981,1987,1988],{},"http:\u002F\u002Flocalhost:11434",[1222,1990,1991],{},"Ollama HTTP endpoint",[1204,1993,1994,1999,2004],{},[1222,1995,1996],{},[981,1997,1998],{},"OLLAMA_MODEL",[1222,2000,2001],{},[981,2002,2003],{},"llama3.1",[1222,2005,2006],{},"Default Ollama model",[1289,2008,2010],{"id":2009},"admin-settings-runtime-override-env","Admin settings (runtime, override env)",[978,2012,2013,2014,2016],{},"All keys live under the ",[981,2015,1827],{}," module. Groups:",[1198,2018,2019,2029],{},[1201,2020,2021],{},[1204,2022,2023,2026],{},[1207,2024,2025],{},"Group",[1207,2027,2028],{},"Keys",[1217,2030,2031,2043,2061,2076,2091,2109],{},[1204,2032,2033,2038],{},[1222,2034,2035],{},[981,2036,2037],{},"ai-llm.defaults",[1222,2039,2040],{},[981,2041,2042],{},"default_provider",[1204,2044,2045,2050],{},[1222,2046,2047],{},[981,2048,2049],{},"ai-llm.openai",[1222,2051,2052,1096,2055,1096,2058],{},[981,2053,2054],{},"openai_api_key",[981,2056,2057],{},"openai_base_url",[981,2059,2060],{},"openai_default_model",[1204,2062,2063,2068],{},[1222,2064,2065],{},[981,2066,2067],{},"ai-llm.anthropic",[1222,2069,2070,1096,2073],{},[981,2071,2072],{},"anthropic_api_key",[981,2074,2075],{},"anthropic_default_model",[1204,2077,2078,2083],{},[1222,2079,2080],{},[981,2081,2082],{},"ai-llm.gemini",[1222,2084,2085,1096,2088],{},[981,2086,2087],{},"gemini_api_key",[981,2089,2090],{},"gemini_default_model",[1204,2092,2093,2098],{},[1222,2094,2095],{},[981,2096,2097],{},"ai-llm.ovh",[1222,2099,2100,1096,2103,1096,2106],{},[981,2101,2102],{},"ovh_api_key",[981,2104,2105],{},"ovh_base_url",[981,2107,2108],{},"ovh_default_model",[1204,2110,2111,2116],{},[1222,2112,2113],{},[981,2114,2115],{},"ai-llm.ollama",[1222,2117,2118,1096,2121],{},[981,2119,2120],{},"ollama_base_url",[981,2122,2123],{},"ollama_default_model",[978,2125,2126,2127,2134],{},"The module implements ",[2128,2129,2131],"a",{"href":2130},"\u002Fdocs\u002Fadmin\u002Freference-base-modules#settings-resolution-db-env-yaml-default",[981,2132,2133],{},"SettingsResolver","\nso the admin UI pre-populates every field with the env-resolved effective\nvalue instead of showing blanks on first boot. Setting a value in the UI\noverrides the env fallback; clearing it reverts to env.",[1018,2136,254],{"id":2137},"profiles",[978,2139,2140,2141,1732,2143,1732,2145,2147,2148,2150,2151,2154,2155,2157,2158,2161,2162,1732,2165,2168,2169,2171,2172,2174,2175,2177,2178,2181,2182,2185,2186,2189,2190,2192,2193,2196],{},"Rather than hand-configuring ",[981,2142,1295],{},[981,2144,1454],{},[981,2146,1457],{}," on every\nFlowDSL ",[981,2149,1304],{}," node, use a ",[1445,2152,2153],{},"profile"," — a named preset bundling\n",[981,2156,1295],{}," (live ",[981,2159,2160],{},"options_ref: llm.providers",") + ",[981,2163,2164],{},"apiKey",[981,2166,2167],{},"baseURL"," +\n",[981,2170,1454],{}," + tuning. The ",[981,2173,1827],{}," module declares the ",[981,2176,1304],{}," profile ",[1445,2179,2180],{},"kind","\nin its ",[981,2183,2184],{},"module.yaml"," ",[981,2187,2188],{},"profiles:"," block; operators create and edit profiles of\nthat kind in the admin ",[1445,2191,254],{}," page (",[981,2194,2195],{},"\u002Fprofiles",").",[994,2198,2200],{"className":1583,"code":2199,"language":1585,"meta":999,"style":999},"# FlowDSL node picks a profile instead of listing knobs\n- id: chat\n  action_ref: redelay\u002Fllm-chat\n  config:\n    profile: assistant-fast       # single dropdown, rest derived\n    # Any explicit field still overrides the profile:\n    systemPrompt: \"You are the Acme support assistant.\"\n",[981,2201,2202,2207,2218,2227,2234,2247,2252],{"__ignoreMap":999},[1003,2203,2204],{"class":1005,"line":10},[1003,2205,2206],{"class":1660},"# FlowDSL node picks a profile instead of listing knobs\n",[1003,2208,2209,2212,2214,2216],{"class":1005,"line":16},[1003,2210,2211],{"class":1596},"-",[1003,2213,1605],{"class":1592},[1003,2215,1126],{"class":1596},[1003,2217,1610],{"class":1012},[1003,2219,2220,2223,2225],{"class":1005,"line":22},[1003,2221,2222],{"class":1592},"  action_ref",[1003,2224,1126],{"class":1596},[1003,2226,1620],{"class":1012},[1003,2228,2229,2232],{"class":1005,"line":51},[1003,2230,2231],{"class":1592},"  config",[1003,2233,1597],{"class":1596},[1003,2235,2236,2239,2241,2244],{"class":1005,"line":57},[1003,2237,2238],{"class":1592},"    profile",[1003,2240,1126],{"class":1596},[1003,2242,2243],{"class":1012}," assistant-fast",[1003,2245,2246],{"class":1660},"       # single dropdown, rest derived\n",[1003,2248,2249],{"class":1005,"line":102},[1003,2250,2251],{"class":1660},"    # Any explicit field still overrides the profile:\n",[1003,2253,2254,2257,2259,2261,2264],{"class":1005,"line":108},[1003,2255,2256],{"class":1592},"    systemPrompt",[1003,2258,1126],{"class":1596},[1003,2260,1684],{"class":1596},[1003,2262,2263],{"class":1012},"You are the Acme support assistant.",[1003,2265,1690],{"class":1596},[978,2267,1033,2268,2270,2271,2273,2274,2276,2277,2279,2280,2283,2284,2287,2288,1100,2290,1096,2292,2294],{},[981,2269,2153],{}," setting is an enum populated live from the registered profiles at\nspec-build time, matching the pattern already used for ",[981,2272,1295],{}," and\n",[981,2275,1298],{},". At runtime the ",[981,2278,1226],{}," handler resolves the profile by id\nvia ",[981,2281,2282],{},"modules.ResolveProfile(\"llm-chat\", id)"," and layers it under the node config\nwith ",[981,2285,2286],{},"modules.MergeProfileIntoConfig"," — so individual node settings (",[981,2289,1454],{},[981,2291,1457],{},[981,2293,1463],{},") still win over profile defaults. Profiles are\npresets, not hard locks.",[978,2296,2297,2300,2301,2303,2304,2307,2308,2311],{},[1445,2298,2299],{},"Non-node consumers resolve profiles too."," Any module built on go-ai — not\njust FlowDSL nodes — can resolve its own ",[981,2302,1304],{}," profile with\n",[981,2305,2306],{},"modules.ResolveProfile",". ",[981,2309,2310],{},"go-modules\u002Fai"," (the translate\u002Fgenerate module) picks\nits own profile, so different features run different models: translations on a\nbest-quality model, a cheaper\u002Ffaster model elsewhere — each configured\nindependently.",[978,2313,2314,2315,2318],{},"See the ",[2128,2316,2317],{"href":255},"Profiles reference"," for the full kind\u002Fconsumer model,\nadmin API, and cross-worker cache invalidation.",[1018,2320,2322],{"id":2321},"ovh-ai-endpoints-multi-model-catalog","OVH AI Endpoints — multi-model catalog",[978,2324,1033,2325,2328,2329,2332,2333,2336,2337,2340],{},[981,2326,2327],{},"ovh"," provider is a single registration that calls any model OVH hosts behind its\nshared OpenAI-compatible endpoint (",[981,2330,2331],{},"https:\u002F\u002Foai.endpoints.kepler.ai.cloud.ovh.net\u002Fv1",").\nPick the model per call — node ",[981,2334,2335],{},"config.model"," or ",[981,2338,2339],{},"ChatRequest.Model"," — the same provider\ninstance serves all of them.",[1198,2342,2343,2363],{},[1201,2344,2345],{},[1204,2346,2347,2350,2353,2357,2360],{},[1207,2348,2349],{},"Category",[1207,2351,2352],{},"Model",[1207,2354,2356],{"align":2355},"right","Input (USD\u002FM)",[1207,2358,2359],{"align":2355},"Output (USD\u002FM)",[1207,2361,2362],{},"Notes",[1217,2364,2365,2383,2400,2417,2435,2452,2468,2487,2505,2521,2540,2555,2571,2593,2613],{},[1204,2366,2367,2370,2375,2378,2380],{},[1222,2368,2369],{},"Chat — flagship",[1222,2371,2372],{},[981,2373,2374],{},"Meta-Llama-3_3-70B-Instruct",[1222,2376,2377],{"align":2355},"0.74",[1222,2379,2377],{"align":2355},[1222,2381,2382],{},"Default when OVH provider is built without override",[1204,2384,2385,2388,2393,2396,2398],{},[1222,2386,2387],{},"Chat — budget",[1222,2389,2390],{},[981,2391,2392],{},"Mistral-7B-Instruct-v0.3",[1222,2394,2395],{"align":2355},"0.11",[1222,2397,2395],{"align":2355},[1222,2399],{},[1204,2401,2402,2405,2410,2413,2415],{},[1222,2403,2404],{},"Chat — multilingual",[1222,2406,2407],{},[981,2408,2409],{},"Mistral-Nemo-Instruct-2407",[1222,2411,2412],{"align":2355},"0.14",[1222,2414,2412],{"align":2355},[1222,2416],{},[1204,2418,2419,2422,2427,2430,2433],{},[1222,2420,2421],{},"Reasoning",[1222,2423,2424],{},[981,2425,2426],{},"gpt-oss-120b",[1222,2428,2429],{"align":2355},"0.09",[1222,2431,2432],{"align":2355},"0.44",[1222,2434],{},[1204,2436,2437,2439,2444,2447,2450],{},[1222,2438,2421],{},[1222,2440,2441],{},[981,2442,2443],{},"gpt-oss-20b",[1222,2445,2446],{"align":2355},"0.04",[1222,2448,2449],{"align":2355},"0.17",[1222,2451],{},[1204,2453,2454,2456,2461,2463,2466],{},[1222,2455,2421],{},[1222,2457,2458],{},[981,2459,2460],{},"Qwen3-32B",[1222,2462,2429],{"align":2355},[1222,2464,2465],{"align":2355},"0.25",[1222,2467],{},[1204,2469,2470,2473,2478,2481,2484],{},[1222,2471,2472],{},"Code",[1222,2474,2475],{},[981,2476,2477],{},"Qwen3-Coder-30B-A3B-Instruct",[1222,2479,2480],{"align":2355},"0.07",[1222,2482,2483],{"align":2355},"0.24",[1222,2485,2486],{},"256K context",[1204,2488,2489,2492,2497,2500,2503],{},[1222,2490,2491],{},"Vision",[1222,2493,2494],{},[981,2495,2496],{},"Mistral-Small-3.2-24B-Instruct-2506",[1222,2498,2499],{"align":2355},"0.10",[1222,2501,2502],{"align":2355},"0.31",[1222,2504],{},[1204,2506,2507,2509,2514,2517,2519],{},[1222,2508,2491],{},[1222,2510,2511],{},[981,2512,2513],{},"Qwen2.5-VL-72B-Instruct",[1222,2515,2516],{"align":2355},"1.00",[1222,2518,2516],{"align":2355},[1222,2520],{},[1204,2522,2523,2526,2531,2534,2537],{},[1222,2524,2525],{},"Embedding",[1222,2527,2528],{},[981,2529,2530],{},"bge-m3",[1222,2532,2533],{"align":2355},"0.01",[1222,2535,2536],{"align":2355},"—",[1222,2538,2539],{},"1024-dim; cheapest embedding",[1204,2541,2542,2544,2549,2551,2553],{},[1222,2543,2525],{},[1222,2545,2546],{},[981,2547,2548],{},"bge-multilingual-gemma2",[1222,2550,2533],{"align":2355},[1222,2552,2536],{"align":2355},[1222,2554],{},[1204,2556,2557,2559,2564,2566,2568],{},[1222,2558,2525],{},[1222,2560,2561],{},[981,2562,2563],{},"Qwen3-Embedding-8B",[1222,2565,2395],{"align":2355},[1222,2567,2536],{"align":2355},[1222,2569,2570],{},"Higher-quality variant",[1204,2572,2573,2576,2581,2586,2590],{},[1222,2574,2575],{},"Guard — moderation",[1222,2577,2578],{},[981,2579,2580],{},"Qwen3Guard-Gen-8B",[1222,2582,2583],{"align":2355},[1445,2584,2585],{},"free",[1222,2587,2588],{"align":2355},[1445,2589,2585],{},[1222,2591,2592],{},"Default guard model",[1204,2594,2595,2597,2602,2606,2610],{},[1222,2596,2575],{},[1222,2598,2599],{},[981,2600,2601],{},"Qwen3Guard-Gen-0.6B",[1222,2603,2604],{"align":2355},[1445,2605,2585],{},[1222,2607,2608],{"align":2355},[1445,2609,2585],{},[1222,2611,2612],{},"Faster, slightly less accurate",[1204,2614,2615,2618,2623,2625,2627],{},[1222,2616,2617],{},"ASR",[1222,2619,2620],{},[981,2621,2622],{},"whisper-large-v3-turbo",[1222,2624,2585],{"align":2355},[1222,2626,2536],{"align":2355},[1222,2628,2629],{},"Non-token modality",[978,2631,2632,2633,2636,2637,2640,2641,2644],{},"Prices are loaded into ",[981,2634,2635],{},"ledger\u002Fpricing.go builtinRates()",". Admins can override any row from\n",[981,2638,2639],{},"\u002Fadmin\u002Fllm\u002Fpricing"," without a code change. Rows with ",[981,2642,2643],{},"0, 0"," are intentionally free (local\nOllama, OVH free-tier) — removing a row stops cost calculation for that model.",[978,2646,2647],{},"Cross-check against the OVH public catalog before invoicing — prices drift.",[1018,2649,2651,2654],{"id":2650},"guard-package-safety-classification",[981,2652,2653],{},"guard"," package — safety classification",[994,2656,2658],{"className":1040,"code":2657,"language":1009,"meta":999,"style":999},"import (\n    \"github.com\u002Fredelay\u002Fgo-ai\u002Fguard\"\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fguard\u002Fqwen\"   \u002F\u002F registers \"qwen3guard\" factory\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fguard\u002Fnoop\"   \u002F\u002F registers \"noop\" factory\n    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fguard\u002Fmodule\" \u002F\u002F framework module — config + settings driven\n)\n",[981,2659,2660,2664,2669,2674,2679,2684],{"__ignoreMap":999},[1003,2661,2662],{"class":1005,"line":10},[1003,2663,1353],{},[1003,2665,2666],{"class":1005,"line":16},[1003,2667,2668],{},"    \"github.com\u002Fredelay\u002Fgo-ai\u002Fguard\"\n",[1003,2670,2671],{"class":1005,"line":22},[1003,2672,2673],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fguard\u002Fqwen\"   \u002F\u002F registers \"qwen3guard\" factory\n",[1003,2675,2676],{"class":1005,"line":51},[1003,2677,2678],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fguard\u002Fnoop\"   \u002F\u002F registers \"noop\" factory\n",[1003,2680,2681],{"class":1005,"line":57},[1003,2682,2683],{},"    _ \"github.com\u002Fredelay\u002Fgo-ai\u002Fguard\u002Fmodule\" \u002F\u002F framework module — config + settings driven\n",[1003,2685,2686],{"class":1005,"line":102},[1003,2687,1368],{},[1289,2689,2691,1037],{"id":2690},"guard-interface",[981,2692,2693],{},"Guard",[994,2695,2697],{"className":1040,"code":2696,"language":1009,"meta":999,"style":999},"type Guard interface {\n    ID() string\n    Check(ctx context.Context, input Input) (*Decision, error)\n}\n\ntype Input struct {\n    Role    Role   \u002F\u002F \"user\" | \"assistant\"\n    Content string\n    Context []Input \u002F\u002F optional previous turns\n}\n\ntype Decision struct {\n    Action     Action   \u002F\u002F Allow | Flag | Block\n    Categories []string \u002F\u002F policy tags from the classifier\n    Reason     string   \u002F\u002F short human-readable explanation\n    Raw        string   \u002F\u002F raw model output for debugging\n}\n",[981,2698,2699,2704,2708,2713,2717,2721,2726,2731,2736,2741,2745,2749,2754,2759,2764,2769,2774],{"__ignoreMap":999},[1003,2700,2701],{"class":1005,"line":10},[1003,2702,2703],{},"type Guard interface {\n",[1003,2705,2706],{"class":1005,"line":16},[1003,2707,1053],{},[1003,2709,2710],{"class":1005,"line":22},[1003,2711,2712],{},"    Check(ctx context.Context, input Input) (*Decision, error)\n",[1003,2714,2715],{"class":1005,"line":51},[1003,2716,1078],{},[1003,2718,2719],{"class":1005,"line":57},[1003,2720,1142],{"emptyLinePlaceholder":1141},[1003,2722,2723],{"class":1005,"line":102},[1003,2724,2725],{},"type Input struct {\n",[1003,2727,2728],{"class":1005,"line":108},[1003,2729,2730],{},"    Role    Role   \u002F\u002F \"user\" | \"assistant\"\n",[1003,2732,2733],{"class":1005,"line":114},[1003,2734,2735],{},"    Content string\n",[1003,2737,2738],{"class":1005,"line":120},[1003,2739,2740],{},"    Context []Input \u002F\u002F optional previous turns\n",[1003,2742,2743],{"class":1005,"line":181},[1003,2744,1078],{},[1003,2746,2747],{"class":1005,"line":186},[1003,2748,1142],{"emptyLinePlaceholder":1141},[1003,2750,2751],{"class":1005,"line":191},[1003,2752,2753],{},"type Decision struct {\n",[1003,2755,2756],{"class":1005,"line":197},[1003,2757,2758],{},"    Action     Action   \u002F\u002F Allow | Flag | Block\n",[1003,2760,2761],{"class":1005,"line":203},[1003,2762,2763],{},"    Categories []string \u002F\u002F policy tags from the classifier\n",[1003,2765,2766],{"class":1005,"line":214},[1003,2767,2768],{},"    Reason     string   \u002F\u002F short human-readable explanation\n",[1003,2770,2771],{"class":1005,"line":223},[1003,2772,2773],{},"    Raw        string   \u002F\u002F raw model output for debugging\n",[1003,2775,2776],{"class":1005,"line":229},[1003,2777,1078],{},[978,2779,2780,2782,2783,2785,2786,2788,2789,2792,2793,2795,2796,2798],{},[981,2781,1280],{}," passes through; ",[981,2784,1284],{}," records for review but continues; ",[981,2787,1287],{}," short-circuits.\nThe ",[981,2790,2791],{},"ai-guard.block_flagged"," admin setting collapses ",[981,2794,1284],{}," into ",[981,2797,1287],{}," when strict\ncompliance is required.",[1289,2800,2802],{"id":2801},"backends","Backends",[1750,2804,2805,2838],{},[1753,2806,2807,2812,2813,2815,2816,2818,2819,2821,2822,2824,2825,2827,2828,1281,2831,2834,2835,1410],{},[1445,2808,2809],{},[981,2810,2811],{},"guard\u002Fqwen"," — Qwen3Guard-Gen generative classifier, called via any ",[981,2814,987],{},"\n(typically ",[981,2817,2327],{},"). Factory config keys: ",[981,2820,1295],{}," (llm provider id, resolved lazily\nat Check time), ",[981,2823,1454],{}," (defaults to ",[981,2826,2580],{},"). The backend parses Qwen's\n",[981,2829,2830],{},"Safety: \u003CSafe|Unsafe|Controversial>",[981,2832,2833],{},"Categories: ..."," response into a ",[981,2836,2837],{},"Decision",[1753,2839,2840,2845,2846,2848],{},[1445,2841,2842],{},[981,2843,2844],{},"guard\u002Fnoop"," — always returns ",[981,2847,1280],{},". Registered so callers never need a nil check.",[1289,2850,2852,2853],{"id":2851},"framework-module-ai-guard","Framework module ",[981,2854,2855],{},"ai-guard",[978,2857,1033,2858,2861,2862,2864,2865,2869],{},[981,2859,2860],{},"guard\u002Fmodule\u002F"," subpackage registers an ",[981,2863,2855],{}," framework module that reads\nconfiguration from env + admin settings and builds the configured backend at Startup. See\n",[2128,2866,2868],{"href":2867},"\u002Fdocs\u002Fadmin\u002Freference-base-modules#ai-modules","Base module reference — AI modules"," for\nadmin-side details.",[978,2871,2872],{},[1445,2873,2874],{},"Config (ENV, startup-only):",[1198,2876,2877,2887],{},[1201,2878,2879],{},[1204,2880,2881,2883,2885],{},[1207,2882,1897],{},[1207,2884,1900],{},[1207,2886,1215],{},[1217,2888,2889,2910,2925],{},[1204,2890,2891,2896,2900],{},[1222,2892,2893],{},[981,2894,2895],{},"GUARD_PROVIDER",[1222,2897,2898],{},[1929,2899,1931],{},[1222,2901,2902,2903,1096,2906,2909],{},"Backend factory id — ",[981,2904,2905],{},"qwen3guard",[981,2907,2908],{},"noop",", or empty to disable",[1204,2911,2912,2917,2922],{},[1222,2913,2914],{},[981,2915,2916],{},"GUARD_UPSTREAM",[1222,2918,2919,2920],{},"value of ",[981,2921,1911],{},[1222,2923,2924],{},"LLM provider id used to call the guard model",[1204,2926,2927,2932,2936],{},[1222,2928,2929],{},[981,2930,2931],{},"GUARD_MODEL",[1222,2933,2934],{},[981,2935,2580],{},[1222,2937,2938],{},"Model name passed to the upstream provider",[978,2940,2941],{},[1445,2942,2943],{},"Admin settings (runtime-overridable):",[1198,2945,2946,2956],{},[1201,2947,2948],{},[1204,2949,2950,2952,2954],{},[1207,2951,1897],{},[1207,2953,1900],{},[1207,2955,1215],{},[1217,2957,2958,2980],{},[1204,2959,2960,2965,2970],{},[1222,2961,2962],{},[981,2963,2964],{},"ai-guard.default_on_error",[1222,2966,2967],{},[981,2968,2969],{},"allow",[1222,2971,2972,2973,2975,2976,2979],{},"Fail-open (",[981,2974,2969],{},") vs fail-closed (",[981,2977,2978],{},"block",") when the guard model errors",[1204,2981,2982,2986,2991],{},[1222,2983,2984],{},[981,2985,2791],{},[1222,2987,2988],{},[981,2989,2990],{},"false",[1222,2992,2993,2994,2996,2997,2999],{},"Treat ",[981,2995,1284],{}," as ",[981,2998,1287],{}," for strict compliance",[1289,3001,3003,3005],{"id":3002},"redelayllm-guard-flowdsl-node",[981,3004,1272],{}," FlowDSL node",[978,3007,3008,3009,1096,3011,1096,3013,3015],{},"Router with three output ports: ",[981,3010,1280],{},[981,3012,1284],{},[981,3014,1287],{},". Per-node settings:",[1198,3017,3018,3030],{},[1201,3019,3020],{},[1204,3021,3022,3024,3026,3028],{},[1207,3023,1514],{},[1207,3025,1517],{},[1207,3027,1900],{},[1207,3029,1215],{},[1217,3031,3032,3048,3068],{},[1204,3033,3034,3038,3041,3043],{},[1222,3035,3036],{},[981,3037,1298],{},[1222,3039,3040],{},"enum (live)",[1222,3042,2536],{},[1222,3044,3045,3046],{},"Registered guard id; populated from ",[981,3047,1327],{},[1204,3049,3050,3055,3060,3065],{},[1222,3051,3052],{},[981,3053,3054],{},"role",[1222,3056,1543,3057],{},[981,3058,3059],{},"user | assistant",[1222,3061,3062],{},[981,3063,3064],{},"user",[1222,3066,3067],{},"Whose message is being classified",[1204,3069,3070,3075,3080,3084],{},[1222,3071,3072],{},[981,3073,3074],{},"onError",[1222,3076,1543,3077],{},[981,3078,3079],{},"allow | block",[1222,3081,3082],{},[981,3083,2969],{},[1222,3085,3086],{},"Override the module-level default per node",[978,3088,3089,3090,3093,3094,3097,3098,3100,3101,3103,3104,1410],{},"Input shape: ",[981,3091,3092],{},"{ content?: string, messages?: object[], message?: object }"," — the handler\npicks ",[981,3095,3096],{},"content"," first, then falls back to the last message's ",[981,3099,3096],{}," (handy when\nchaining after ",[981,3102,1304],{},"). Every output port emits ",[981,3105,3106],{},"{ decision, content }",[978,3108,1033,3109,3112,3113,3116,3117,3120],{},[2128,3110,3111],{"href":238},"assistant flows"," now guard both directions — ",[981,3114,3115],{},"start → guard-in → chat → guard-out → end",", with unsafe messages routed to a dedicated ",[981,3118,3119],{},"rejected"," end node and\nfanned out to a trust-and-safety email in the production variant.",[1018,3122,3124,3127],{"id":3123},"ledger-package-usage-cost",[981,3125,3126],{},"ledger"," package — usage + cost",[978,3129,3130,3131,3134,3135,3138,3139,3142,3143,1096,3146,1096,3149,1096,3152,1100,3155,3157,3158,3161,3162,3165],{},"At bootstrap the ledger auto-discovers a ",[981,3132,3133],{},"UsageSink"," (flowexec's) via ",[981,3136,3137],{},"Configure"," and\ninstalls a go-ai recorder middleware that writes one row per LLM call into a MongoDB\ntime-series collection (",[981,3140,3141],{},"llm_usage","). Rows carry ",[981,3144,3145],{},"runID",[981,3147,3148],{},"flowID",[981,3150,3151],{},"nodeID",[981,3153,3154],{},"provider",[981,3156,1454],{},", token counts, latency, and computed ",[981,3159,3160],{},"costUSD"," from the price table.\n",[981,3163,3164],{},"LLM_TRACK_USAGE"," toggles recording on or off.",[978,3167,3168,3169,3172,3173,3176,3177,3180],{},"Admin endpoints live in ",[981,3170,3171],{},"go-ai\u002Fledger\u002Fadmin\u002F"," and mount under ",[981,3174,3175],{},"\u002Fadmin\u002Fllm\u002F..."," — grouped\nthere so the public ",[981,3178,3179],{},"cmd\u002Fapi"," binary never sees them:",[1198,3182,3183,3195],{},[1201,3184,3185],{},[1204,3186,3187,3190,3193],{},[1207,3188,3189],{},"Method",[1207,3191,3192],{},"Path",[1207,3194,1215],{},[1217,3196,3197,3210,3222,3234,3249,3262],{},[1204,3198,3199,3202,3207],{},[1222,3200,3201],{},"GET",[1222,3203,3204],{},[981,3205,3206],{},"\u002Fadmin\u002Fllm\u002Fusage",[1222,3208,3209],{},"Paginated usage rows with filters by flow, run, provider",[1204,3211,3212,3214,3219],{},[1222,3213,3201],{},[1222,3215,3216],{},[981,3217,3218],{},"\u002Fadmin\u002Fllm\u002Fusage\u002Fby?field=",[1222,3220,3221],{},"Aggregate usage by a dimension (provider, model, flow, node, user, profile)",[1204,3223,3224,3226,3231],{},[1222,3225,3201],{},[1222,3227,3228],{},[981,3229,3230],{},"\u002Fadmin\u002Fllm\u002Fbreakdowns",[1222,3232,3233],{},"Aggregated by provider × model × day",[1204,3235,3236,3238,3242],{},[1222,3237,3201],{},[1222,3239,3240],{},[981,3241,2639],{},[1222,3243,3244,3245,3248],{},"Current price table snapshot (per-",[981,3246,3247],{},"{provider,model}",", per-1M-token)",[1204,3250,3251,3254,3259],{},[1222,3252,3253],{},"PUT",[1222,3255,3256],{},[981,3257,3258],{},"\u002Fadmin\u002Fllm\u002Fpricing\u002F{provider}\u002F{model}",[1222,3260,3261],{},"Override a single rate row",[1204,3263,3264,3267,3271],{},[1222,3265,3266],{},"DELETE",[1222,3268,3269],{},[981,3270,3258],{},[1222,3272,3273],{},"Drop a row (cost calc stops)",[978,3275,3276,3277,3283,3284,3287,3288,1281,3291,1281,3294,3297,3298,1100,3300,1467,3302,3304,3305,3307,3308,1410],{},"The admin-facing UI is the ",[1445,3278,3279,3282],{},[981,3280,3281],{},"@redelay\u002Fjs-admin"," base-layer AI module"," — nav ",[1445,3285,3286],{},"AI"," →\n",[1445,3289,3290],{},"Usage",[1445,3292,3293],{},"Breakdowns",[1445,3295,3296],{},"Pricing"," pages, backed by ",[981,3299,3206],{},[981,3301,3218],{},[981,3303,2639],{}," (per-",[981,3306,3247],{}," rate\noverrides, per-1M-token). See ",[2128,3309,933],{"href":2867},[3311,3312,3313],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":999,"searchDepth":16,"depth":16,"links":3315},[3316,3317,3319,3326,3327,3332,3333,3334,3344],{"id":1020,"depth":16,"text":1021},{"id":1032,"depth":16,"text":3318},"The Provider interface",{"id":1175,"depth":16,"text":3320,"children":3321},"FlowDSL nodes (llm\u002Fflowdsl)",[3322,3324,3325],{"id":1291,"depth":22,"text":3323},"Live providerID \u002F guardID enums",{"id":1335,"depth":22,"text":1336},{"id":1440,"depth":22,"text":1441},{"id":1747,"depth":16,"text":1748},{"id":1824,"depth":16,"text":3328,"children":3329},"ai-llm framework module",[3330,3331],{"id":1887,"depth":22,"text":1888},{"id":2009,"depth":22,"text":2010},{"id":2137,"depth":16,"text":254},{"id":2321,"depth":16,"text":2322},{"id":2650,"depth":16,"text":3335,"children":3336},"guard package — safety classification",[3337,3339,3340,3342],{"id":2690,"depth":22,"text":3338},"Guard interface",{"id":2801,"depth":22,"text":2802},{"id":2851,"depth":22,"text":3341},"Framework module ai-guard",{"id":3002,"depth":22,"text":3343},"redelay\u002Fllm-guard FlowDSL node",{"id":3123,"depth":16,"text":3345},"ledger package — usage + cost","Provider-agnostic LLM access for Redelay — chat, streaming, embeddings, tool-use, safety classification, and cost ledger. Includes openai, ollama, anthropic, gemini, and ovh providers, a Guard abstraction backed by Qwen3Guard, and FlowDSL nodes for all of it.","md",null,{},{"order":223,"icon":224},{"title":220,"description":3346},"8KuRq9I1yzlj_ZErUN2nhcMu79QMGzGaKrWg1V6uwwM",[3354,3356],{"title":216,"path":217,"stem":218,"description":3355,"order":214,"icon":209,"children":-1},"Python event library for Redelay — coming soon.",{"title":226,"path":227,"stem":228,"description":3357,"order":229,"icon":41,"children":-1},"Generic FlowDSL node packs for Redis, MongoDB, ClickHouse, HTTP, filesystem, Postgres, RabbitMQ, SMS, FTP\u002FSFTP, and the core stdlib primitives — compose any flow without hardcoding infrastructure calls.",1790332223783]