id: 2469f6b6f5e0456a852034f017786c7f
parent_id: 
item_type: 1
item_id: 46ba25ff25d3497391ca5c22120ea2d0
item_updated_time: 1764345610191
title_diff: "[{\"diffs\":[[1,\"PDF 文档提取和解析 API：使用最先进的 OCR 和 Ollama 支持的模型\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":41}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>PDF 文档提取和解析 API：使用最先进的 OCR 和 Ollama 支持的模型</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"33260\\\"></a>\\\r\\\n<h1>PDF 文档提取和解析 API：使用最先进的 OCR 和 Ollama 支持的模型</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"margin:0px;\\\"><div style=\\\"padding:8px 0px;margin:8px auto;max-width:700px;\\\"> <div><span></span></div>\\\n<p></p>\\\n<div style=\\\"--en-blockquote:true;box-sizing: border-box; padding-left: 19px; padding-top: 6px; padding-bottom: 6px; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial; margin-top: 6px\\\"><div>原文链接: <a href=\\\"http://mp.weixin.qq.com/s?__biz=MzI4NjM0NjA3Ng==&amp;mid=2247486345&amp;idx=1&amp;sn=4156ed870ad6966b4ed646a57f2e1de1&amp;chksm=eaf58cc48733a6643edf6783149a96e08343045b25c9eb3a61d1993849cd68645bfd35905f76&amp;mpshare=1&amp;scene=1&amp;srcid=1118JNEFk5cSqSVvICv7qOiy&amp;sharer_shareinfo=8fd3076645c4960cf3ddd1f67a03714d&amp;sharer_shareinfo_first=8fd3076645c4960cf3ddd1f67a03714d#rd\\\"><span>http://mp.weixin.qq.com/s?__biz=MzI4NjM0NjA3Ng==&amp;mid=2247486...</span></a></div></div>\\\n<p></p>\\\n<div><span></span></div>\\\n<div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><h1 style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"> PDF 文档提取和解析 API：使用最先进的 OCR 和 Ollama 支持的模型 </h1><div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><a style=\\\"-webkit-tap-highlight-color:transparent;position:relative\\\"> CTOLib码库 </a></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><em style=\\\"-webkit-tap-highlight-color:transparent\\\"></em></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><p style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.6;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif\\\"><strong style=\\\"-webkit-tap-highlight-color:transparent;line-height:1.5\\\">将任何图像或 PDF 转换为 Markdown 文本或 JSON 结构化文档，并具有超高的准确性，包括表格数据、数字或数学公式。</strong></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;text-align:center\\\"><img src=\\\":/c5b1f9a1ae9141e2bfb090603f21dad8\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent\\\"/></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.6;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif\\\">该 API 使用 FastAPI 构建，并使用 Celery 进行异步任务处理。Redis 用于缓存 OCR 结果。</p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.6;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif\\\"><strong style=\\\"-webkit-tap-highlight-color:transparent;line-height:1.5\\\">无需云/外部依赖，您只需要：</strong></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>基于 PyTorch 的 OCR（Marker）+ Ollama 通过 docker-compose 进行交付和配置，不会将任何数据发送到您的开发/服务器环境之外。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>使用不同的 OCR 策略（包括 marker、surya-ocr 或 tessereact）进行 PDF 到 Markdown 的转换，具有非常高的准确性。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>使用 Ollama 支持的模型（例如 LLama 3.1）进行 PDF 到 JSON 的转换。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>LLM 改善 OCR 结果，LLama 在修复 OCR 文本中的拼写和文本问题方面非常出色。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>删除 PII，此工具可用于从 PDF 中删除个人身份信息 - 请参阅示例。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>使用 <span style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(13,117,252);line-height:1.5\\\">Celery<sup style=\\\"-webkit-tap-highlight-color:transparent\\\">[1]</sup></span> 进行分布式队列处理。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>使用 Redis 进行缓存 - OCR 结果可以在 LLM 处理之前轻松缓存。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>用于发送任务和处理结果的 CLI 工具。</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.6;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif\\\"><strong style=\\\"-webkit-tap-highlight-color:transparent;line-height:1.5\\\">示例：</strong></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>将 MRI 报告转换为 Markdown + JSON。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>将发票转换为 JSON 并删除 PII。</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.6;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif\\\"><strong style=\\\"-webkit-tap-highlight-color:transparent;line-height:1.5\\\">Docker 和 Docker Compose：</strong></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>克隆仓库：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">git clone https://github.com/CatchTheTornado/pdf-extract-api.git</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>进入目录：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">cd pdf-extract-api</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>设置环境变量：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>创建 <code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">.env</code> 文件并设置必要的环境变量。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>使用 <code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">.env.example</code> 文件作为模板。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>修改文件中的变量。</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>构建并运行 Docker 容器：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>使用 Docker Compose 构建并运行 Docker 容器：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">docker-compose up --build</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>对于 GPU 支持，运行：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">docker-compose -f docker-compose.gpu.yml up --build</code></span></p><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>这将启动以下服务：<p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>FastAPI 应用程序：运行 FastAPI 应用程序。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>Celery 工作进程：处理异步 OCR 任务。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>Redis：缓存 OCR 结果。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>Ollama：运行 Ollama 模型。</span></p></span><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-bottom:0;color:rgb(24,24,50);font-family:&quot;PingFang SC&quot;,BlinkMacSystemFont,Roboto,&quot;Helvetica Neue&quot;,sans-serif;font-size:16px;letter-spacing:normal;text-align:start;background-color:rgb(255,255,255)\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.6;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif\\\"><strong style=\\\"-webkit-tap-highlight-color:transparent;line-height:1.5\\\">CLI 工具：</strong></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>进入 <code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">client</code> 目录：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">cd client</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>安装依赖：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">pip install -r requirements.txt</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>测试不同的 LLama 支持的模型：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">python client/cli.py llm_pull --model llama3.1</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>上传文件进行 OCR（转换为 Markdown）：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">python client/cli.py ocr --file examples/example-mri.pdf --ocr_cache</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>上传文件进行 OCR（由 LLM 处理）：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">python client/cli.py ocr --file examples/example-mri.pdf --ocr_cache --prompt_file=examples/example-mri-remove-pii.txt</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>通过任务 ID 获取 OCR 结果：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">python client/cli.py result -task_id {your_task_id_from_upload_step}</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>清除缓存：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">python client/cli.py clear_cache</code></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>使用 LLM 生成文本：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">python llm_generate --prompt &quot;Your prompt here&quot;</code></span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.6;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif\\\"><strong style=\\\"-webkit-tap-highlight-color:transparent;line-height:1.5\\\">API 端点：</strong></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">/ocr</code>：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>方法：POST</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>参数：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">file</code>：要处理的 PDF 文件。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">strategy</code>：要使用的 OCR 策略（marker 或 tesseract）。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">ocr_cache</code>：是否缓存 OCR 结果（true 或 false）。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">prompt</code>：如果提供，将用于 Ollama 处理 OCR 结果。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">model</code>：如果与提示一起提供，此模型将用于 LLM 处理。</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>示例：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">curl -X POST &quot;http://localhost:8000/ocr&quot; -F &quot;file=examples/example-mri.pdf&quot; -F &quot;strategy=marker&quot; -F &quot;ocr_cache=true&quot;</code></span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-bottom:0;color:rgb(24,24,50);font-family:&quot;PingFang SC&quot;,BlinkMacSystemFont,Roboto,&quot;Helvetica Neue&quot;,sans-serif;font-size:16px;letter-spacing:normal;text-align:start;background-color:rgb(255,255,255)\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">/ocr/result/{task_id}</code>：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>方法：GET</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>参数：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">task_id</code>：OCR 端点返回的任务 ID。</span></p><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>示例：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">curl -X GET &quot;http://localhost:8000/ocr/result/{task_id}&quot;</code></span><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-bottom:0;color:rgb(24,24,50);font-family:&quot;PingFang SC&quot;,BlinkMacSystemFont,Roboto,&quot;Helvetica Neue&quot;,sans-serif;font-size:16px;letter-spacing:normal;text-align:start;background-color:rgb(255,255,255)\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">/ocr/clear_cache</code>：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>方法：POST</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>示例：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">curl -X POST &quot;http://localhost:8000/ocr/clear_cache&quot;</code></span></p><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">/llm_pull</code>：<p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>方法：POST</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>参数：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">model</code>：首先拉取要使用的模型。</span></p></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>示例：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">curl -X POST &quot;http://localhost:8000/llama_pull&quot; -H &quot;Content-Type: application/json&quot; -d '{&quot;model&quot;: &quot;llama3.1&quot;}'</code></span><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-bottom:0;color:rgb(24,24,50);font-family:&quot;PingFang SC&quot;,BlinkMacSystemFont,Roboto,&quot;Helvetica Neue&quot;,sans-serif;font-size:16px;letter-spacing:normal;text-align:start;background-color:rgb(255,255,255)\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">/llm_generate</code>：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>方法：POST</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>参数：</span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;line-height:1.5;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">prompt</code>：Ollama 模型的提示。</span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span><code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">model</code>：要查询的模型。</span></p><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>示例：<code style=\\\"-webkit-tap-highlight-color:transparent;padding:3px 5px;font-family:&quot;Operator Mono&quot;,Consolas,Monaco,Menlo,monospace;color:rgb(255,53,2);line-height:1.5;font-size:14.4px;background:rgb(248,245,236);border-radius:2px\\\">curl -X POST &quot;http://localhost:8000/llama_generate&quot; -H &quot;Content-Type: application/json&quot; -d '{&quot;prompt&quot;: &quot;Your prompt here&quot;, &quot;model&quot;:&quot;llama3.1&quot;}'</code></span><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0\\\"></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-bottom:0;color:rgb(24,24,50);font-family:&quot;PingFang SC&quot;,BlinkMacSystemFont,Roboto,&quot;Helvetica Neue&quot;,sans-serif;font-size:16px;letter-spacing:normal;text-align:start;background-color:rgb(255,255,255)\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.6;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif\\\"><strong style=\\\"-webkit-tap-highlight-color:transparent;line-height:1.5\\\">许可证：</strong></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0;margin-top:20px;margin-right:10px;margin-bottom:20px;padding-left:20px;font-size:16px;letter-spacing:normal;background-color:rgb(255,255,255);text-align:left;color:rgb(63,63,63);line-height:1.5;font-family:Optima-Regular,Optima,PingFangSC-light,PingFangTC-light,&quot;PingFang SC&quot;,Cambria,Cochin,Georgia,Times,&quot;Times New Roman&quot;,serif;list-style:circle\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:10px;line-height:1.5;text-indent:-20px;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-right:10px\\\">•</span>该项目根据 GNU 通用公共许可证授权。有关详细信息，请参阅 LICENSE 文件。</span></p></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":39196}]"
metadata_diff: {"new":{"id":"46ba25ff25d3497391ca5c22120ea2d0","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348823133,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:03:58.210Z
created_time: 2025-11-28T21:03:58.210Z
type_: 13