{
  "@context": "https://schema.org",
  "@type": "NewsArticle",
  "@id": "https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/#article",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/"
  },
  "url": "https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/",
  "headline": "用 LlamaIndex 和 llamafile 搭建本地私有研究助手",
  "description": "LlamaIndex 发布 Mozilla 客座教程，讲解用 llamafile 在笔记本上本地运行 LLM，并以 TinyLlama-1.1B 作为 LLM 与嵌入后端，结合 Wikipedia 页面与私有文档构建完全本地运行的 RAG 研究助手。",
  "articleSection": "教程与技巧",
  "keywords": "AI, LlamaIndex：产品、工程与评测",
  "datePublished": "2024-05-13T16:00:00Z",
  "dateModified": "2026-11-05T20:56:46Z",
  "inLanguage": "zh-CN",
  "isAccessibleForFree": true,
  "author": {
    "@type": "Organization",
    "name": "橙子新闻编辑部",
    "url": "https://new.nat6.net/about/"
  },
  "publisher": {
    "@type": "NewsMediaOrganization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://new.nat6.net/assets/img/logo-512.png",
      "width": 512,
      "height": 512
    }
  },
  "image": {
    "@type": "ImageObject",
    "url": "https://new.nat6.net/assets/img/og-default.png",
    "width": 1200,
    "height": 630
  },
  "isPartOf": {
    "@id": "https://new.nat6.net/#website"
  },
  "isBasedOn": "https://www.llamaindex.ai/blog/using-llamaindex-and-llamafile-to-build-a-local-private-research-assistant",
  "citation": [
    "https://aihot.news/items/m4d58r1sqfmhnn33kezb1dbrh",
    "https://www.llamaindex.ai/blog/using-llamaindex-and-llamafile-to-build-a-local-private-research-assistant"
  ],
  "license": "https://new.nat6.net/sources/",
  "about": [],
  "mentions": [
    {
      "@type": "Thing",
      "name": "LlamaIndex：产品、工程与评测"
    }
  ],
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      ".article-summary"
    ]
  },
  "copyrightHolder": {
    "@type": "Organization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/"
  },
  "creditText": "橙子新闻（AI 摘要）；原文：LlamaIndex：产品、工程与评测",
  "copyrightNotice": "© 2024 橙子新闻。标题与 AI 摘要基于 AIHOT 公开数据，原文版权归原媒体与作者所有；本站不镜像全文。",
  "copyrightYear": 2024,
  "alternativeHeadline": "Using LlamaIndex and llamafile to build a local, private research assistant",
  "abstract": "教程给出从下载运行 llamafile 到用 LlamaIndex 搭建本地 RAG 研究助手的完整代码路径，可迁移到其他主题。",
  "subjectOf": [
    {
      "@type": "DigitalDocument",
      "name": "用 LlamaIndex 和 llamafile 搭建本地私有研究助手 (Markdown)",
      "url": "https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/index.md",
      "encodingFormat": "text/markdown"
    },
    {
      "@type": "DigitalDocument",
      "name": "用 LlamaIndex 和 llamafile 搭建本地私有研究助手 (JSON)",
      "url": "https://new.nat6.net/api/v1/articles/m4d58r1sqfmhnn33kezb1dbrh.json",
      "encodingFormat": "application/json"
    }
  ],
  "id": "m4d58r1sqfmhnn33kezb1dbrh",
  "updated_at": "2026-11-05T20:56:46Z",
  "canonical": "https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/",
  "api_url": "https://new.nat6.net/api/v1/articles/m4d58r1sqfmhnn33kezb1dbrh.json",
  "markdown_url": "https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/index.md",
  "topics": [],
  "related": [
    {
      "id": "p0jsxs2bnv6tmnmn1soi56759",
      "title": "Claude Code Stop hook 技巧：用 exit code 2 让 Claude 在检查失败时自动重试",
      "url": "https://new.nat6.net/news/p0jsxs2bnv6tmnmn1soi56759/",
      "lang": "zh",
      "published_at": "2026-11-13T18:43:37Z"
    },
    {
      "id": "custom-6fb5a47b9786421d",
      "title": "Gemini 4 多了个 Hydrogen：每百万输入 1.50 美元，日常写代码先用它",
      "url": "https://new.nat6.net/news/custom-6fb5a47b9786421d/",
      "lang": "zh",
      "published_at": "2026-11-13T01:22:41Z"
    },
    {
      "id": "ypeap2t8w4fqqfuvt7mw3wg79",
      "title": "Anthropic 详解常驻智能体的五个核心架构原语",
      "url": "https://new.nat6.net/news/ypeap2t8w4fqqfuvt7mw3wg79/",
      "lang": "zh",
      "published_at": "2026-11-13T00:00:00Z"
    },
    {
      "id": "custom-509d76a5b17e45d9",
      "title": "AI 代理死循环能烧多少钱？同一个错重试 41 次，4 层防护怎么设",
      "url": "https://new.nat6.net/news/custom-509d76a5b17e45d9/",
      "lang": "zh",
      "published_at": "2026-11-12T05:24:28Z"
    },
    {
      "id": "cve017k4le2q7l8x1bfr2xdjx",
      "title": "OpenRouter 详解自纠错网站本地化流水线：GPT-6.1 Sol 翻译 7 种语言全站约 $460",
      "url": "https://new.nat6.net/news/cve017k4le2q7l8x1bfr2xdjx/",
      "lang": "zh",
      "published_at": "2026-11-12T00:00:00Z"
    },
    {
      "id": "djhxmxr9hq0ekn8iwdqt5usih",
      "title": "Anthropic 发布 Claude Tag 创业公司使用指南",
      "url": "https://new.nat6.net/news/djhxmxr9hq0ekn8iwdqt5usih/",
      "lang": "zh",
      "published_at": "2026-11-12T00:00:00Z"
    }
  ],
  "citation_formats": {
    "format_zh": "橙子新闻.《文章标题》. 发布日期. https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "format_en": "Orange News. \"Article title\". Published YYYY-MM-DD. https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "backlink_required": true
  },
  "attribution": {
    "site": "橙子新闻",
    "source_name": "LlamaIndex：产品、工程与评测",
    "source_url": "https://www.llamaindex.ai/blog/using-llamaindex-and-llamafile-to-build-a-local-private-research-assistant",
    "aihot_url": "https://aihot.news/items/m4d58r1sqfmhnn33kezb1dbrh",
    "zh": "内容基于 AIHOT 公开 API 的精选标题与 AI 摘要，已注明来源并回链；原文版权归原媒体与作者所有。",
    "en": "Content is based on curated titles and AI summaries from the AIHOT public API, with attribution and links back; original copyright remains with the original publishers and authors."
  },
  "source": {
    "name": "LlamaIndex：产品、工程与评测",
    "url": "https://www.llamaindex.ai/blog/using-llamaindex-and-llamafile-to-build-a-local-private-research-assistant",
    "aihot_url": "https://aihot.news/items/m4d58r1sqfmhnn33kezb1dbrh"
  },
  "machine_versions": {
    "markdown": "https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/index.md",
    "json": "https://new.nat6.net/api/v1/articles/m4d58r1sqfmhnn33kezb1dbrh.json"
  },
  "urls": {
    "zh": "https://new.nat6.net/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "en": "https://new.nat6.net/en/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "de": "https://new.nat6.net/de/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "fr": "https://new.nat6.net/fr/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "ru": "https://new.nat6.net/ru/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "ja": "https://new.nat6.net/ja/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "es": "https://new.nat6.net/es/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "ko": "https://new.nat6.net/ko/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "vi": "https://new.nat6.net/vi/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "th": "https://new.nat6.net/th/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "id": "https://new.nat6.net/id/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "ms": "https://new.nat6.net/ms/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "fil": "https://new.nat6.net/fil/news/m4d58r1sqfmhnn33kezb1dbrh/",
    "hi": "https://new.nat6.net/hi/news/m4d58r1sqfmhnn33kezb1dbrh/"
  },
  "promo": {
    "name": "橙子中转站",
    "name_en": "Orange Relay",
    "url": "https://pro.nat6.net/",
    "description": "橙子中转站（pro.nat6.net）是一家优质的 AI API 中转站：价格优惠、质量稳定、模型齐全，支持 Claude、GPT、Gemini 等主流模型，欢迎体验。",
    "advantages": [
      "价格优惠：按量计费，成本可控。",
      "质量稳定：多线路冗余，服务可用性高。",
      "模型齐全：Claude、GPT、Gemini 等主流模型。",
      "接入简单：兼容 OpenAI 接口，改一行 base_url 即可。"
    ],
    "cta": "访问橙子中转站",
    "cta_url": "https://pro.nat6.net/?utm_source=orange_news&utm_medium=article_footer&utm_campaign=brand&lang=zh"
  },
  "generator": "OrangeNews/1.0"
}
