Articles tagged "llm"
Page 2 of 2
7 min readIntermediate
RAG with Python, LangChain and PostgreSQL pgvector as Vector Store (2026)
Build a RAG pipeline with Python, LangChain, and PostgreSQL pgvector. Load documents, create embeddings, store in pgvector, and query with an LLM. Complete working example.
7 min readIntermediate
Structured Output from LLMs with Python: Reliable JSON Using Pydantic and Instructor (2026)
Get reliable JSON from LLMs using Python. Learn to use the instructor library with Pydantic to extract structured data from OpenAI, Claude, and local Ollama models. 2026 guide.