<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Phoenix on DevOpsTales</title>
    <link>https://devopstales.github.io/tags/phoenix/</link>
    <description>Recent content in Phoenix on DevOpsTales</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Tue, 27 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://devopstales.github.io/tags/phoenix/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building a Self-Evaluating RAG System: Hybrid Search, Routing, and LLM-as-Judge</title>
      <link>https://devopstales.github.io/ai/self-evaluating-rag-hybrid-search-llm-judge/</link>
      <pubDate>Tue, 27 Oct 2026 00:00:00 +0000</pubDate>
      
      <guid>https://devopstales.github.io/ai/self-evaluating-rag-hybrid-search-llm-judge/</guid>
      <description>Most RAG systems are demos: they retrieve chunks and generate an answer immediately, with no check on whether the retrieved context is relevant, sufficient, or even correct. When retrieval misses, the model hallucinates. There is no recovery loop, no quality signal, and no way to tell which step produced a bad answer.
This post documents how to build a self-evaluating RAG system that routes queries, retrieves with hybrid search, and evaluates its own answers using LLM-as-judge. It is built in three cooperating parts:
Hybrid search and retrieval — dense + BM25 vectors with int8 quantization in Qdrant, RRF fusion, payload filtering, and multi-year balanced fetch. Agent and MCP — a LangGraph ReAct loop with routing guardrails, wrapped in FastMCP and exposed through a Streamlit UI. Observability and evaluation — Arize Phoenix tracing plus LLM-as-judge scoring for hallucination, QA correctness, and context relevance. The LLM provider layer is shared: Ollama (local llama3.2, nomic-embed-text) or Gemini API (gemini-2.5-flash-lite), switchable via environment variable with no code changes.
</description>
      <enclosure url="https://devopstales.github.io/img/coding-terminal.webp" length="96031" type="image/png" />
    </item>
    
    <item>
      <title>Monitoring a Self-Hosted LLM Stack: vLLM, Phoenix, and Grafana Measurements</title>
      <link>https://devopstales.github.io/ai/llm-self-hosted-stack-monitoring-measurements/</link>
      <pubDate>Tue, 27 Oct 2026 00:00:00 +0000</pubDate>
      
      <guid>https://devopstales.github.io/ai/llm-self-hosted-stack-monitoring-measurements/</guid>
      <description>Running a self-hosted LLM stack produces signals on several axes at once — serving health, per-tenant token consumption, response quality, and full request traces. Classic web monitoring does not capture most of them. Tokens, batching, KV cache pressure, queue dynamics, inter-token latency, and trace spans all need their own measurement.
This post is a practical guide to monitoring a self-hosted LLM inference stack. It covers what to measure at each layer (vLLM serving, AI Gateway access, Phoenix tracing and evaluation), which PromQL queries turn raw metrics into dashboards, how KEDA autoscaling consumes the signals, and which SLOs and alerts belong on the platform. The examples assume two NVIDIA DGX Spark units running vLLM, but the metrics and queries apply to any vLLM-based stack.
</description>
      <enclosure url="https://devopstales.github.io/img/coding-terminal.webp" length="96031" type="image/png" />
    </item>
    
  </channel>
</rss>
