Pydantic Schemas — Topic Summaries
AI-powered summaries of 9 videos about Pydantic Schemas.
9 summaries
Using LangChain Output Parsers to get what you want out of LLMs
LLM apps fail most often when they accept whatever text a model happens to generate instead of forcing that output into a structure the application...
OpenAI Functions + LangChain : Building a Multi Tool Agent
OpenAI’s function-calling system, wired through LangChain, can turn a plain chat model into a finance assistant that reliably selects the right API...
Python FastAPI Tutorial (Part 5): Adding a Database - SQLAlchemy Models and Relationships
The core shift is replacing FastAPI’s in-memory “posts” list with a real SQLAlchemy-backed database so data persists across server restarts—and then...
Tagging and Extraction - Classification using OpenAI Functions
OpenAI “functions” can be used in LangChain not to trigger external code, but to force large language models to return structured JSON...
Building a Vision App with Ollama Structured Outputs
Structured outputs in Ollama make it practical to turn both text and images into validated, schema-shaped data—locally—using Python classes...
Python FastAPI Tutorial (Part 4): Pydantic Schemas - Request and Response Validation
FastAPI’s request/response validation becomes concrete once Pydantic schemas define the API contract—what clients must send and what the server will...
Python FastAPI Tutorial (Part 6): Completing CRUD - Update and Delete (PUT, PATCH, DELETE)
CRUD in FastAPI is completed for both posts and users by adding full update (PUT), partial update (PATCH), and deletion (DELETE), with careful...
LLM JSON Output - Get Valid JSON with Pydantic and LangChain Output Parsers
Getting reliable JSON from large language models—especially ones that don’t natively support structured outputs—requires more than “please output...
Build Smarter AI Apps: Memory, Tools, Retrieval & Structured Output with Python, Pydantic & Ollama
AI apps become meaningfully more useful when they’re given four upgrades beyond plain text prompting: memory, structured outputs, tool use, and...