SDK Reference
Complete SDK reference for the Chutes Python SDK. Each page documents the classes, functions, decorators, and methods available.
Core Classes
- Chute Class - The main class for defining AI applications
- Cord Decorator - HTTP API endpoint decorator
- Job Decorator - Long-running jobs and server rentals
- Image Class - Docker image building
- NodeSelector Class - Hardware requirements
Templates
- Template Functions - Pre-built templates for vLLM, SGLang, Diffusion, and Embeddings
Quick Links
| Class | Import | Purpose |
|---|---|---|
| Define AI applications | ||
| Specify GPU requirements | ||
| Build custom images | ||
| Define job network ports | ||
| vLLM template |
Reference Format
Each API reference includes:
- Class/function signature
- Parameter descriptions with types and defaults
- Usage examples
- Best practices