🐦 Twitter Post Details

Viewing enriched Twitter post

@llama_index

Masking PII 🔐 is crucial in many LLM app settings (especially healthcare 🥼), whether you're using a local or third-party LLM! @wenqi_glantz has a great article on using a @huggingface NER model in your @llama_index RAG pipeline for PII masking 👇: https://t.co/9cKkUvZxHd https://t.co/5ubwNLv0z9

Medium

Masking PII Data in RAG Pipeline

This article explores how to mask personally identifiable information (PII) data using LlamaIndex in a RAG pipeline....

• PII data masking is crucial in LLM application development.

• LlamaIndex provides tools for effective PII data masking.

📊 Media Metadata

{
  "media": [
    {
      "id": "",
      "type": "photo",
      "url": null,
      "media_url": "https://pbs.twimg.com/media/F8BbN_lbYAA5xL9.jpg",
      "media_url_https": null,
      "display_url": null,
      "expanded_url": null
    }
  ],
  "nlp": {
    "sentiment": "positive",
    "processed_at": "2025-08-06T12:44:38.724513"
  },
  "score": 1.0,
  "scored_at": "2025-08-09T13:46:07.542405",
  "import_source": "manual_curation_2023",
  "score_components": {
    "author": 0.264,
    "engagement": 0.11751240091670814,
    "quality": 0.16000000000000003,
    "source": 0.15,
    "nlp": 0.1,
    "recency": 0.010000000000000002
  },
  "source_tagged_at": "2025-08-09T13:42:53.491295",
  "enriched": true,
  "enriched_at": "2025-08-09T13:42:53.491297",
  "enriched_links": [
    {
      "url": "https://t.co/9cKkUvZxHd",
      "title": "Masking PII Data in RAG Pipeline",
      "description": "This article explores how to mask personally identifiable information (PII) data using LlamaIndex in a RAG pipeline.",
      "content_type": "article",
      "author": "Wenqi Glantz",
      "site_name": "Medium",
      "image_url": null,
      "key_points": [
        "PII data masking is crucial in LLM application development.",
        "LlamaIndex provides tools for effective PII data masking.",
        "Understanding PII definitions helps in compliance and data protection."
      ],
      "enriched_at": "2025-08-10T10:19:30.306783"
    }
  ],
  "llm_enriched": true,
  "llm_enriched_at": "2025-08-10T10:19:30.941784",
  "original_structure": "had_media_only"
}

🔧 Raw API Response

{
  "user": {
    "created_at": "2022-12-18T00:52:44.000Z",
    "default_profile_image": false,
    "description": "The way to connect LLMs to your data.\n\nGithub: https://t.co/HC19j7vMwc\nDocs: https://t.co/QInqg2zksh\nDiscord: https://t.co/3ktq3zzYII\nhttps://t.co/UXeIlwvvbA",
    "fast_followers_count": 0,
    "favourites_count": 633,
    "followers_count": 33457,
    "friends_count": 20,
    "has_custom_timelines": false,
    "is_translator": false,
    "listed_count": 667,
    "location": "",
    "media_count": 412,
    "name": "LlamaIndex 🦙",
    "normal_followers_count": 33457,
    "possibly_sensitive": false,
    "profile_banner_url": "https://pbs.twimg.com/profile_banners/1604278358296055808/1696908553",
    "profile_image_url_https": "https://pbs.twimg.com/profile_images/1623505166996742144/n-PNQGgd_normal.jpg",
    "screen_name": "llama_index",
    "statuses_count": 1325,
    "translator_type": "none",
    "url": "https://t.co/epzefqQqZx",
    "verified": false,
    "withheld_in_countries": [],
    "id_str": "1604278358296055808"
  },
  "id": "1711468307709386902",
  "conversation_id": "1711468307709386902",
  "full_text": "Masking PII 🔐 is crucial in many LLM app settings (especially healthcare 🥼), whether you're using a local or third-party LLM! \n\n@wenqi_glantz has a great article on using a @huggingface NER model in your @llama_index RAG pipeline for PII masking 👇: https://t.co/9cKkUvZxHd https://t.co/5ubwNLv0z9",
  "reply_count": 1,
  "retweet_count": 28,
  "favorite_count": 167,
  "hashtags": [],
  "symbols": [],
  "user_mentions": [
    {
      "id_str": "1534280120973787137",
      "name": "Wenqi Glantz",
      "screen_name": "wenqi_glantz",
      "profile": "https://twitter.com/wenqi_glantz"
    },
    {
      "id_str": "778764142412984320",
      "name": "Hugging Face",
      "screen_name": "huggingface",
      "profile": "https://twitter.com/huggingface"
    },
    {
      "id_str": "1604278358296055808",
      "name": "LlamaIndex 🦙",
      "screen_name": "llama_index",
      "profile": "https://twitter.com/llama_index"
    }
  ],
  "urls": [
    {
      "url": "https://t.co/9cKkUvZxHd",
      "expanded_url": "https://betterprogramming.pub/masking-pii-data-in-rag-pipeline-326d2d330336",
      "display_url": "betterprogramming.pub/masking-pii-da…"
    }
  ],
  "media": [
    {
      "media_url": "https://pbs.twimg.com/media/F8BbN_lbYAA5xL9.jpg",
      "type": "photo"
    }
  ],
  "url": "https://twitter.com/llama_index/status/1711468307709386902",
  "created_at": "2023-10-09T19:46:56.000Z",
  "#sort_index": "1711468307709386902",
  "view_count": 31901,
  "quote_count": 2,
  "is_quote_tweet": false,
  "is_retweet": false,
  "is_pinned": false,
  "is_truncated": false,
  "startUrl": "https://twitter.com/llama_index/status/1711468307709386902"
}