<!-- PCU: ch09-inference | contract: contracts/apr-book-ch09-v1.yaml -->
<!-- Example: cargo run -p aprender-core --example ch09_inference -->
<!-- Status: enforced -->
# Chapter 09: Inference with aprender-serve
> Contract: [`apr-book-ch09`](../../../contracts/apr-book-ch09-v1.yaml)
Run: `cargo run -p aprender-core --example ch09_inference`
```rust,ignore
{{#include ../../../crates/aprender-core/examples/ch09_inference.rs}}
```