# Inference guides

This section holds the guides and tutorials on inference.

- [Scan file uploads with an AI Inference firewall function](/en/documentation/guides/ai/inference/scan-uploads-with-ai-inference.md): Create a function that sends an uploaded file to a model through AI Inference, and run it on a firewall so a malicious upload never reaches the origin.
- [Build a streaming chat with AI Inference](/en/documentation/guides/ai/inference/build-a-streaming-chat-with-ai-inference.md): Build a chat page whose answers stream from a model on AI Inference, through a Function, an Application, and a Workload.
- [Call a model on AI Inference from a function](/en/documentation/guides/ai/inference/call-a-model-on-ai-inference-from-a-function.md): Call a chat model on AI Inference from a function with Azion.AI.run, and return the model's answer to the request that reached the function.
- [Summarize text with AI Inference and cache the summary](/en/documentation/guides/ai/inference/summarize-text-with-ai-inference-and-cache-the-summary.md): Summarize a text with a catalog model on AI Inference from a function, and return the same summary from the Cache API for the same text.
- [Route model calls through a gateway function](/en/documentation/guides/ai/inference/route-model-calls-through-a-gateway-function.md): Put one function in front of AI Inference and a third-party provider that authenticates teams, routes by alias, falls back, caches, and logs each call.
