Offline scripted-provider fixtures for --fake-script NAME. These are canned
model responses used for keyless development and tests; they are NOT the engine.
Kept out of the CLI (the entry surface) and the provider (the boundary) so each
stays about one thing. Both the CLI and the test suite resolve scripts here.
Offline scripted-provider fixtures for `--fake-script NAME`. These are canned model responses used for keyless development and tests; they are NOT the engine. Kept out of the CLI (the entry surface) and the provider (the boundary) so each stays about one thing. Both the CLI and the test suite resolve scripts here.
(response-fn-for name)Some scenarios need a content-sensitive response (the same scripted model must answer differently for the root prompt vs each fanned-out leaf/child). Those return a fn of the request; scenarios with a fixed sequence return nil.
Some scenarios need a content-sensitive response (the same scripted model must answer differently for the root prompt vs each fanned-out leaf/child). Those return a fn of the request; scenarios with a fixed sequence return nil.
(script-for name)An ordered vector of canned assistant responses for a named scenario, replayed in sequence by the scripted provider.
An ordered vector of canned assistant responses for a named scenario, replayed in sequence by the scripted provider.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |