Describing and implementing two simple yet effective approaches to ensure AI agent safety: semantic drift based of cosine distance and confidence thresholding based on log-probability entropy.
Making developers awesome at machine learning
Making developers awesome at machine learning
Describing and implementing two simple yet effective approaches to ensure AI agent safety: semantic drift based of cosine distance and confidence thresholding based on log-probability entropy.
In this article, you will learn what agentic RAG is, how it differs from traditional RAG, and when to use it.
In this article, you will learn how TurboQuant, a novel algorithmic suite recently launched by Google, achieves advanced compression of large language models and vector search engines with no loss of accuracy.
In this article, you will learn how to build production-ready AI agents in Python using Pydantic AI, with structured outputs, custom tools, and dependency injection.
In this article, you will learn what context engineering is and how to apply it systematically to keep AI agents reliable, cost-efficient, and accurate in production.
In this article, you will learn how to use scikit-LLM’s text summarization feature to handle large volumes of text in machine learning pipelines.
In this article, you will learn how to build a fully functional AI agent that runs entirely on your own machine using small language models, with no internet connection and no API costs required. Topics we will cover include: What AI agents and small language models are, and why running them locally is a practical […]
In this article, you will learn how to train a Scikit-learn classification model, serve it with FastAPI, and deploy it to FastAPI Cloud.
In this article, you will learn how AI agent memory works across working memory, external memory, and scalable memory architectures for building agents that improve over time.
In this article, you will learn how zero-shot text classification works and how to apply it using a pretrained transformer model.