Package ai.redouble.demo.decide


package ai.redouble.demo.decide
  • Class
    Description
    What the decision agent is, for a page: its objective in words, the artifact type it starts from and the one it answers with, and its palette, each tool with what it takes and what it produces.
    One tool of the palette.
    One decision agent run, streamed as it happens: an observer on the runtime's message bus, scoped to the run's workflow, writing every event of the thinker and of every job under it as one line of newline-delimited JSON.
    What a decision model reads of each artifact of this package, one line each, registered as the types' text formatters: a decision thinker's state carries one digest line per artifact and nothing else of it, so these lines are the whole of what the model decides on.
    A file read as text: its name and the whole text.
    One file of a folder as the listing saw it: its name, what kind of file its bytes say it is, its size, and for a text file the first words.
    A folder on this machine, the decision agent's input: the one artifact a run starts from.
    Lists a folder: every regular file in it, by name, with what its bytes say it is and, for a text file, its first words.
    The demo's decision agent: a DecisionThinker over a folder of documents whose objective is to find the statements that decide a change of a price.
    Reads a file as text: a text file decoded, an Office document with its tags stripped.
    Splits a document into its statements: a paragraph's sentences (consecutive lines make one paragraph), each bullet or numbered item.
    One statement of a document: a sentence or a bullet, with the document it came from and its place in it.