Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Palier neuronal

stzLLMFunction

31 méthodes propres · 6 formes avec extensions, rangées sous leur méthode

la source: base/neural/stzLLMFunction.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Palier neuronal

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Aucune méthode de cette classe n'est exécutée sur cette page : la classe touche aux fichiers, au réseau, aux processus, à l'horloge, au hasard ou au son, et un exemple exécuté ici ne serait que l'exemple de ses effets. Chaque méthode porte l'explication que la bibliothèque donne d'elle-même.

Méthode
Explication, telle que la source la porte
init
(sans commentaire dans la source : le nom se lit comme une phrase) initaucune extension
Name_
(sans commentaire dans la source : le nom se lit comme une phrase) name_aucune extension
SetPrompt
(sans commentaire dans la source : le nom se lit comme une phrase) set promptaucune extension
ReturnsNumber
(sans commentaire dans la source : le nom se lit comme une phrase) returns numberaucune extension
ReturnsBoolean
(sans commentaire dans la source : le nom se lit comme une phrase) returns booleanaucune extension
ReturnsString
(sans commentaire dans la source : le nom se lit comme une phrase) returns stringaucune extension
ReturnsOneOf
(sans commentaire dans la source : le nom se lit comme une phrase) returns one ofaucune extension
ReturnsStructure
THE STRUCTURED RUNG. paFields is an stzOutputSchema declaration; it is compiled and judged HERE, so a defective declaration can never reach a model.QCSXTZZZIBWU
HasSchema
(sans commentaire dans la source : le nom se lit comme une phrase) has schemaaucune extension
Schema
A READ. Haro copies on assign, so configuring the returned schema configures a copy and nothing else -- use RefuseUnknownFields() below for the one knob that has to land on the stored one.aucune extension
RefuseUnknownFields
Closed-world: a field the schema never declared refuses the answer instead of being reported and dropped.aucune extension
LastFindings
The findings the LAST validation produced, in the family's unified shape -- so a refusal can be handed to stzRuleReport.Ingest() and stand in the same CI gate as every other rule in the library.aucune extension
Budget
(sans commentaire dans la source : le nom se lit comme une phrase) budgetaucune extension
SetRetries
(sans commentaire dans la source : le nom se lit comme une phrase) set retriesaucune extension
UseResponder
TEST / OFFLINE DOOR, named for what it is. The responder is a FAKE standing where the model stands: it receives (prompt, attempt) and returns the raw text a model would have returned. It exists so the refusal paths -- the ones that matter most and that no seeded cache can reach -- can be narrated without a GGUF. It spends budget like a real call, and Why() says "FAKE responder" on every answer it produces, so nothing it returns can be mistaken for a live one. (The name follows stzGraphRule.UseChecker(): same escape-hatch shape, same word.)QCSXTZZZIBWU
IsUsingResponder
(sans commentaire dans la source : le nom se lit comme une phrase) is using responderaucune extension
CallsMade
(sans commentaire dans la source : le nom se lit comme une phrase) calls madeaucune extension
Why
(sans commentaire dans la source : le nom se lit comme une phrase) whyaucune extension
Call_
the callaussi écrite: Ofaucune extension
SeedAnswer
test/offline door: seed a known answer into the memo cache (the golden path for model-free environments; the seed is EXPLICIT)aucune extension
EffectivePrompt
The prompt actually sent. For a structured function it carries the schema's own clause, so the model is ASKED for the shape rather than hoped at -- and the memo key is taken over this same text, so a seed and a call agree on what the question was.aucune extension
ConstrainDecoding
constrained decoding, asked and answered --------------------------- ON by default when a structure is declared and the engine enforces grammars. Turn it OFF to compare, or when a caller wants the model's unconstrained voice and the court's verdict on it.QCSXTZZZIBWU
IsConstrainingDecoding
Will the NEXT live call be grammar-constrained? Ask this rather than assuming: a nested structure, an off switch, or a build without the sampler rung all answer 0, and WhyNotConstrained() says which.aucune extension
WhyNotConstrained
(sans commentaire dans la source : le nom se lit comme une phrase) why not constrainedaucune extension
GrammarUsed
The grammar text itself, for a reader who wants to see what was enforced.aucune extension
WasLastAnswerConstrained
Was the LAST live answer grammar-constrained? (0 for a memo hit and for a fake responder -- neither of them decoded anything.)aucune extension
SetRetrySampling
The sampling a RETRY uses. Attempt 1 never sees these -- it is greedy.QCSXTZZZIBWU
SetMaxTokens
(sans commentaire dans la source : le nom se lit comme une phrase) set max tokensQCSXTZZZIBWU
RetryTemperature
(sans commentaire dans la source : le nom se lit comme une phrase) retry temperatureaucune extension
AddGolden
golden setsQCSXTZZZIBWU
RunGoldens
Goldens hold STRUCTURES as readily as scalars now. Two things had to change for that, and both were real defects rather than gaps: Haro's own `=` answers 0 for two identical lists, so a structured golden could never have passed; and a failing structured case that reports only "expected / got" is unreadable, so the failure now carries the FIELD that moved.aucune extension