<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dspy on AI Knowledge Base</title><link>https://learn-ai.blindshot.kz/source/dspy/</link><description>Recent content in Dspy on AI Knowledge Base</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://learn-ai.blindshot.kz/source/dspy/index.xml" rel="self" type="application/rss+xml"/><item><title>Adapters</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/adapters/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/adapters/_overview/</guid><description/></item><item><title>Advanced Tool Use</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/tool_use/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/tool_use/_overview/</guid><description/></item><item><title>Async</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/async/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/async/_overview/</guid><description/></item><item><title>Audio</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/audio/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/audio/_overview/</guid><description/></item><item><title>Building a Creative Text-Based AI Game</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/ai_text_game/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/ai_text_game/_overview/</guid><description/></item><item><title>Building AI Agents with DSPy</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/customer_service_agent/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/customer_service_agent/_overview/</guid><description/></item><item><title>Building AI Applications by Customizing DSPy Modules</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/custom_module/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/custom_module/_overview/</guid><description/></item><item><title>Building RAG as Agent</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/agents/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/agents/_overview/</guid><description/></item><item><title>Cache</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/cache/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/cache/_overview/</guid><description/></item><item><title>Cheatsheet</title><link>https://learn-ai.blindshot.kz/docs/dspy/cheatsheet/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/cheatsheet/_overview/</guid><description>DSPy cheatsheet for quick reference</description></item><item><title>Classification</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/classification/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/classification/_overview/</guid><description/></item><item><title>Classification Finetuning</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/classification_finetuning/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/classification_finetuning/_overview/</guid><description/></item><item><title>Code Generation for Unfamiliar Libraries</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/sample_code_generation/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/sample_code_generation/_overview/</guid><description/></item><item><title>Community Ports</title><link>https://learn-ai.blindshot.kz/docs/dspy/community/community-ports/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/community/community-ports/_overview/</guid><description/></item><item><title>Community Resources</title><link>https://learn-ai.blindshot.kz/docs/dspy/community/community-resources/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/community/community-resources/_overview/</guid><description/></item><item><title>Contributing</title><link>https://learn-ai.blindshot.kz/docs/dspy/community/how-to-contribute/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/community/how-to-contribute/_overview/</guid><description/></item><item><title>Data Handling</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/evaluation/data/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/evaluation/data/_overview/</guid><description/></item><item><title>Debugging &amp; Observability</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/observability/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/observability/_overview/</guid><description/></item><item><title>Deployment</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/deployment/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/deployment/_overview/</guid><description/></item><item><title>DSPy Assertions</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/7-assertions/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/7-assertions/_overview/</guid><description/></item><item><title>Email Information Extraction</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/email_extraction/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/email_extraction/_overview/</guid><description/></item><item><title>Entity Extraction</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/entity_extraction/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/entity_extraction/_overview/</guid><description/></item><item><title>Evaluation Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/evaluation/overview/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/evaluation/overview/_overview/</guid><description>&lt;p&gt;This is the foundational concept page for DSPy&amp;rsquo;s evaluate-then-optimize workflow, and it is essential reading before you touch any teleprompter. The key insight is that DSPy treats evaluation as a first-class input to compilation rather than an afterthought — your dev set and metric become the signal the optimizer uses to rewrite prompts. Start here, then move to the metrics page to define what good actually means for your task. Watch out for evaluating on the same examples you optimize against, which inflates scores and hides overfitting.&lt;/p&gt;</description></item><item><title>FAQ</title><link>https://learn-ai.blindshot.kz/docs/dspy/faqs/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/faqs/_overview/</guid><description>Common questions on DSPy usage, comparisons, optimization, and debugging</description></item><item><title>Financial Analysis with Yahoo Finance</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/yahoo_finance_react/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/yahoo_finance_react/_overview/</guid><description/></item><item><title>Finetuning Agents</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/games/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/games/_overview/</guid><description/></item><item><title>Generating llms.txt</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/llms_txt_generation/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/llms_txt_generation/_overview/</guid><description/></item><item><title>GEPA for AIME (Math)</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_aime/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_aime/_overview/</guid><description/></item><item><title>GEPA for Code Backdoor Classification (AI control)</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_trusted_monitor/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_trusted_monitor/_overview/</guid><description/></item><item><title>GEPA for Privacy-Conscious Delegation</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_papillon/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_papillon/_overview/</guid><description/></item><item><title>GEPA for Structured Information Extraction for Enterprise Tasks</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_facilitysupportanalyzer/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_facilitysupportanalyzer/_overview/</guid><description/></item><item><title>Get Started</title><link>https://learn-ai.blindshot.kz/docs/dspy/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/_overview/</guid><description>DSPy overview and quick start guide</description></item><item><title>Image Generation Prompt iteration</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/image_generation_prompting/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/image_generation_prompting/_overview/</guid><description/></item><item><title>Language Models</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/language_models/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/language_models/_overview/</guid><description/></item><item><title>Learning DSPy</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/_overview/</guid><description>Three stages of building AI systems - programming, evaluation, and optimization</description></item><item><title>Managing Conversation History</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/conversation_history/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/conversation_history/_overview/</guid><description/></item><item><title>Math Reasoning</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/math/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/math/_overview/</guid><description/></item><item><title>MCP</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/mcp/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/mcp/_overview/</guid><description/></item><item><title>Memory-Enabled ReAct Agents</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/mem0_react_agent/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/mem0_react_agent/_overview/</guid><description/></item><item><title>Metrics</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/evaluation/metrics/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/evaluation/metrics/_overview/</guid><description>&lt;p&gt;In DSPy a metric is the objective function that drives both evaluation and optimization, so this page matters more than a typical reference — your metric definition directly shapes how teleprompters compile and improve a program. Pay close attention to the difference between simple answer-matching metrics and metrics that themselves call an LM to judge quality, since the latter adds cost and variance you have to control. A common pitfall is returning a bare boolean where an optimizer expects a float score. Read the evaluation overview first, then pair this with the optimizers documentation.&lt;/p&gt;</description></item><item><title>Modules</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/modules/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/modules/_overview/</guid><description/></item><item><title>Multi-Hop RAG</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/multihop_search/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/multihop_search/_overview/</guid><description/></item><item><title>Optimization Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/optimization/overview/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/optimization/overview/_overview/</guid><description/></item><item><title>Optimizers</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/optimization/optimizers/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/optimization/optimizers/_overview/</guid><description/></item><item><title>Output Refinement</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/output_refinement/best-of-n-and-refine/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/output_refinement/best-of-n-and-refine/_overview/</guid><description/></item><item><title>Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/build_ai_program/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/build_ai_program/_overview/</guid><description/></item><item><title>Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/core_development/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/core_development/_overview/</guid><description/></item><item><title>Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_ai_program/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/gepa_ai_program/_overview/</guid><description/></item><item><title>Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/optimize_ai_program/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/optimize_ai_program/_overview/</guid><description/></item><item><title>Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/real_world_examples/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/real_world_examples/_overview/</guid><description/></item><item><title>Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/rl_ai_program/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/rl_ai_program/_overview/</guid><description/></item><item><title>Privacy-Conscious Delegation</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/papillon/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/papillon/_overview/</guid><description/></item><item><title>Program Of Thought</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/program_of_thought/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/program_of_thought/_overview/</guid><description/></item><item><title>Programming Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/overview/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/overview/_overview/</guid><description>&lt;p&gt;DSPy takes a fundamentally different approach to working with LLMs: instead of manually writing and tweaking prompts, you define typed signatures (input/output schemas) and let DSPy&amp;rsquo;s optimizers compile them into effective prompts automatically. This is a paradigm shift from traditional prompt engineering, and it means the skills you build here are more about program design than wordsmithing. Focus on understanding Modules and Signatures first, as they are the core abstractions everything else builds on. A common gotcha is expecting DSPy to work well without a good set of training examples — the optimizers need representative input-output pairs to produce high-quality compiled prompts, so invest in your dataset before tuning the optimizer.&lt;/p&gt;</description></item><item><title>Retrieval-Augmented Generation (RAG)</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/rag/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/rag/_overview/</guid><description/></item><item><title>RL for Multi-Hop Research</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/rl_multihop/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/rl_multihop/_overview/</guid><description/></item><item><title>RL for Privacy-Conscious Delegation</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/rl_papillon/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/rl_papillon/_overview/</guid><description/></item><item><title>Saving and Loading</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/saving/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/saving/_overview/</guid><description/></item><item><title>Signatures</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/signatures/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/signatures/_overview/</guid><description/></item><item><title>Streaming</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/streaming/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/streaming/_overview/</guid><description/></item><item><title>Tools</title><link>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/tools/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/learn/programming/tools/_overview/</guid><description/></item><item><title>Tracking DSPy Optimizers</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/optimizer_tracking/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/optimizer_tracking/_overview/</guid><description/></item><item><title>Tutorials Overview</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/_overview/</guid><description/></item><item><title>Use Cases</title><link>https://learn-ai.blindshot.kz/docs/dspy/community/use-cases/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/community/use-cases/_overview/</guid><description/></item><item><title>Use MCP in DSPy</title><link>https://learn-ai.blindshot.kz/docs/dspy/tutorials/mcp/_overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-ai.blindshot.kz/docs/dspy/tutorials/mcp/_overview/</guid><description/></item></channel></rss>