static public function infer(
string|array $messages, // (required) The message(s) to infer data from
string $prompt = '', // (optional) The prompt to use for inference
array $examples = [], // (optional) Examples to include in the prompt
string $model = '', // (optional) The model to use for inference (otherwise - use default)
int $maxRetries = 2, // (optional) The number of retries in case of validation failure
array $options = [], // (optional) Additional data to pass to the Instructor or LLM API
Mode $mode = OutputMode::Tools, // (optional) The mode to use for inference
?LLM $llm = null // (optional) LLM instance to use for inference
) : static;