Claude streaming RAG citations missing fields after schema change
Problem In a production Retrieval‑Augmented Generation (RAG) pipeline that streams responses from Anthropic Claude, the generated citations no longer match the required JSON schema. Symptoms include: Missing required fields such as source_id or relevance_score. Incorrect delimiters (e.g., using ; instead of the mandated ,). Citation blocks appearing outside the citations array or after the final … Read more