CLI
Command-line interface for the LENS grading pipeline.
Usage examples::
python -m grading_pipeline --summary "Patient presents with..." --engine heuristic
python -m grading_pipeline --summary-file note.txt --engine llm --model gpt-4o
python -m grading_pipeline --summary "..." --engine heuristic --format json --pretty
main(argv=None)
CLI entry point. Parses args, runs the pipeline, and prints output.
Returns 0 on success, 2 on input validation errors.
Source code in src/grading_pipeline/cli.py
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | |