def _extract_sources(content: str) -> list[str]:
    """Extract source citations from response content."""
    # This is a simplified version - implement based on your citation format
    import re

    return re.findall(r'"([^"]*)"', content)
Extract source citations from response content.
py/tests/integration/test_retrieval_advanced.py