Grafito::AI::Request
Normalized AI request that works with any provider. Providers transform this into their specific format.
Constants
PRIORITY_MAP = {"emerg" => "0", "emergency" => "0", "alert" => "1", "crit" => "2", "critical" => "2", "err" => "3", "error" => "3", "warning" => "4", "warn" => "4", "notice" => "5", "info" => "6", "debug" => "7"}
Priority name to numeric string mapping
Constructors
Convenience constructor for log analysis use case. Priority should be "0"-"7" or the formatted name (emerg, alert, crit, err, warning, notice, info, debug)