Canonical namespace entrypoint for Chain-of-Draft reasoning.
This module exposes shared CoD helpers and points to the canonical strategy:
Jido.AI.Reasoning.ChainOfDraft.Strategy.
Summary
Functions
Returns the default CoD system prompt.
Extracts structured steps and conclusion from CoD output text.
Generates a unique CoD call ID.
Returns the canonical CoD strategy module.
Functions
@spec default_system_prompt() :: String.t()
Returns the default CoD system prompt.
@spec extract_steps_and_conclusion(term()) :: {[Jido.AI.Reasoning.ChainOfThought.Machine.step()], String.t() | nil}
Extracts structured steps and conclusion from CoD output text.
@spec generate_call_id() :: String.t()
Generates a unique CoD call ID.
@spec strategy_module() :: module()
Returns the canonical CoD strategy module.