Definitively. AgentProfile. OutputParser
(definitively v0.4.0)
Copy Markdown
Parses LLM subprocess stdout using agent profile output config.
Summary
Functions
Parses stdout into a JSON envelope map.
Returns true when parsed output indicates a successful completion.
Types
@type parse_result() :: {:ok, map()} | :error
Functions
@spec parse( String.t(), Definitively.Domain.AgentProfile.output_config() | Definitively.Domain.AgentProfile.t() ) :: parse_result()
Parses stdout into a JSON envelope map.
@spec stream_complete?( String.t(), Definitively.Domain.AgentProfile.output_config() | Definitively.Domain.AgentProfile.t() ) :: boolean()
Returns true when parsed output indicates a successful completion.