LLM Structured Output: JSON Mode & Pydantic Guide
Learn LLM structured output in Python with 3 methods: OpenAI JSON schema, Claude tool extraction, and Instructor. Build a type-safe invoice parser...
6 tutorials tagged Gen AI on Machine Learning Plus, newest first. Most of them belong to the Gen AI category.
Learn LLM structured output in Python with 3 methods: OpenAI JSON schema, Claude tool extraction, and Instructor. Build a type-safe invoice parser...
Learn OpenAI function calling in Python with 3 working tools. Build the tool-use loop, handle parallel calls, and design schemas using raw HTTP...
Master the OpenAI Batch API in Python: build a reusable pipeline for 10,000+ prompts at 50% cost with JSONL formatting, progress polling, and error...
Learn to run LLMs locally with Ollama. Install Llama, Mistral, and DeepSeek, use the OpenAI-compatible Python API, and build a local-to-cloud...
Master Hugging Face inference in 20 minutes. Run LLMs locally with Pipeline API or serverless via HTTP, with Python examples you can copy and run.
Build a multimodal document analyzer with the Google Gemini API in Python. Analyze images, PDFs, and text with structured JSON output, using raw HTTP...