{"id":18901,"date":"2025-01-20T14:27:45","date_gmt":"2025-01-20T06:27:45","guid":{"rendered":"https:\/\/www.aisharenet.com\/?p=18901"},"modified":"2025-07-17T02:24:44","modified_gmt":"2025-07-16T18:24:44","slug":"llamaparse","status":"publish","type":"post","link":"https:\/\/www.kdjingpai.com\/ja\/llamaparse\/","title":{"rendered":"LlamaParse\uff1aLlamaindex\u63a8\u51fa\u7684\u9ad8\u54c1\u8d28\u89e3\u6790\u6587\u6863\uff0c\u63d0\u53d6\u6570\u636e\u670d\u52a1\uff08\u6bcf\u65e5\u514d\u8d39\u63d0\u53d61000\u9875\uff09"},"content":{"rendered":"<p>LlamaParse \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6587\u6863\u89e3\u6790\u5de5\u5177\uff0c\u80fd\u591f\u5904\u7406\u590d\u6742\u7684\u6587\u6863\u5982 PDF\u3001PowerPoint\u3001Word \u6587\u6863\u548c\u7535\u5b50\u8868\u683c\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u7ed3\u6784\u5316\u6570\u636e\u3002LlamaParse \u63d0\u4f9b\u591a\u79cd\u4f7f\u7528\u65b9\u5f0f\uff0c\u5305\u62ec\u72ec\u7acb\u7684 REST API\u3001Python \u5305\u3001TypeScript SDK \u548c Web UI\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u6307\u4ee4\u6765\u89e3\u6790\u6587\u6863\u5185\u5bb9\uff0c\u5e76\u652f\u6301\u591a\u79cd\u8bed\u8a00\u7684 OCR \u529f\u80fd\u3002LlamaParse \u7684\u89e3\u6790\u529f\u80fd\u4e0d\u4ec5\u9ad8\u6548\uff0c\u8fd8\u80fd\u6839\u636e\u7528\u6237\u9700\u6c42\u8fdb\u884c\u5b9a\u5236\u5316\u8f93\u51fa\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u884c\u4e1a\u548c\u5e94\u7528\u573a\u666f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-18902\" title=\"LlamaParse\uff1aLlamaindex\u63a8\u51fa\u7684\u9ad8\u54c1\u8d28\u89e3\u6790\u6587\u6863\uff0c\u63d0\u53d6\u6570\u636e\u670d\u52a1\uff08\u6bcf\u65e5\u514d\u8d39\u63d0\u53d61000\u9875\uff09-1\" src=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/5e38f323e8ee8d5.png\" alt=\"LlamaParse\uff1aLlamaindex\u63a8\u51fa\u7684\u9ad8\u54c1\u8d28\u89e3\u6790\u6587\u6863\uff0c\u63d0\u53d6\u6570\u636e\u670d\u52a1\uff08\u6bcf\u65e5\u514d\u8d39\u63d0\u53d61000\u9875\uff09-1\" width=\"1369\" height=\"846\" srcset=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/5e38f323e8ee8d5.png 1369w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/5e38f323e8ee8d5-300x185.png 300w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/5e38f323e8ee8d5-1024x633.png 1024w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/5e38f323e8ee8d5-768x475.png 768w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/01\/5e38f323e8ee8d5-18x12.png 18w\" sizes=\"auto, (max-width: 1369px) 100vw, 1369px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u529f\u80fd\u5217\u8868<\/h2>\n<ul>\n<li>\u6587\u6863\u89e3\u6790\uff1a\u652f\u6301 PDF\u3001PowerPoint\u3001Word \u6587\u6863\u548c\u7535\u5b50\u8868\u683c\u7684\u89e3\u6790\u3002<\/li>\n<li>OCR \u529f\u80fd\uff1a\u652f\u6301\u591a\u79cd\u8bed\u8a00\u7684\u5149\u5b66\u5b57\u7b26\u8bc6\u522b\u3002<\/li>\n<li>\u81ea\u7136\u8bed\u8a00\u6307\u4ee4\uff1a\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u6307\u4ee4\u89e3\u6790\u6587\u6863\u5185\u5bb9\u3002<\/li>\n<li>\u591a\u79cd\u8f93\u51fa\u683c\u5f0f\uff1a\u652f\u6301 Markdown\u3001\u7eaf\u6587\u672c\u3001JSON \u7b49\u591a\u79cd\u8f93\u51fa\u683c\u5f0f\u3002<\/li>\n<li>API \u96c6\u6210\uff1a\u63d0\u4f9b REST API\uff0c\u53ef\u4e0e\u4efb\u4f55\u7f16\u7a0b\u8bed\u8a00\u96c6\u6210\u3002<\/li>\n<li>\u591a\u5e73\u53f0\u652f\u6301\uff1a\u63d0\u4f9b Python \u5305\u3001TypeScript SDK \u548c Web UI\u3002<\/li>\n<li>\u81ea\u5b9a\u4e49\u89e3\u6790\uff1a\u6839\u636e\u7528\u6237\u9700\u6c42\u5b9a\u5236\u5316\u89e3\u6790\u548c\u8f93\u51fa\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>\u4f7f\u7528\u5e2e\u52a9<\/h2>\n<h3>\u5b89\u88c5\u4e0e\u4f7f\u7528<\/h3>\n<p>LlamaParse \u63d0\u4f9b\u591a\u79cd\u4f7f\u7528\u65b9\u5f0f\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u5f0f\u8fdb\u884c\u5b89\u88c5\u548c\u4f7f\u7528\u3002<\/p>\n<h4>\u4f7f\u7528 Web UI<\/h4>\n<ol>\n<li>\u8bbf\u95ee LlamaParse \u7f51\u7ad9\u3002<\/li>\n<li>\u4f7f\u7528 OAuth 2.0\uff08Google\u3001Github\u3001Microsoft\uff09\u6216\u90ae\u7bb1\u767b\u5f55\u3002<\/li>\n<li>\u767b\u5f55\u540e\uff0c\u70b9\u51fb\u201cParse\u201d\u6309\u94ae\u3002<\/li>\n<li>\u5728\u6587\u4ef6\u4e0a\u4f20\u6846\u4e2d\u62d6\u62fd\u4efb\u610f PDF \u6587\u4ef6\uff0c\u6216\u63d0\u4f9b\u6587\u4ef6\u7684 URL\u3002<\/li>\n<li>\u6587\u4ef6\u4e0a\u4f20\u540e\uff0c\u70b9\u51fb\u9875\u9762\u5e95\u90e8\u7684\u201cParse\u201d\u6309\u94ae\u3002<\/li>\n<li>\u89e3\u6790\u7ed3\u679c\u5c06\u663e\u793a\u5728\u9875\u9762\u4e0b\u65b9\uff0c\u652f\u6301 Markdown\u3001\u7eaf\u6587\u672c\u3001JSON \u7b49\u591a\u79cd\u683c\u5f0f\u67e5\u770b\u3002<\/li>\n<\/ol>\n<h4>\u4f7f\u7528 Python \u5305<\/h4>\n<ol>\n<li>\u5b89\u88c5 LlamaParse Python \u5305\uff1a<\/li>\n<\/ol>\n<pre><code>   pip install llamaparse\r\n<\/code><\/pre>\n<ol start=\"2\">\n<li>\u4f7f\u7528\u793a\u4f8b\uff1a<\/li>\n<\/ol>\n<pre><code>   from llamaparse import LlamaParse\r\nparser = LlamaParse(api_key='YOUR_API_KEY')\r\nresult = parser.parse(file_path='\/path\/to\/your\/file.pdf')\r\nprint(result)\r\n<\/code><\/pre>\n<h4>\u4f7f\u7528 REST API<\/h4>\n<ol>\n<li>\u83b7\u53d6 API \u5bc6\u94a5\uff1a\n<ul>\n<li>\u767b\u5f55 LlamaParse \u7f51\u7ad9\u3002<\/li>\n<li>\u5728\u7528\u6237\u8bbe\u7f6e\u4e2d\u83b7\u53d6 API \u5bc6\u94a5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u4f7f\u7528\u793a\u4f8b\uff1a<\/li>\n<\/ol>\n<pre><code>   curl -X 'POST' \\\r\n'https:\/\/api.cloud.llamaindex.ai\/api\/parsing\/upload' \\\r\n-H 'accept: application\/json' \\\r\n-H 'Content-Type: multipart\/form-data' \\\r\n-H \"Authorization: Bearer YOUR_API_KEY\" \\\r\n--form 'file=@\/path\/to\/your\/file.pdf;type=application\/pdf'\r\n<\/code><\/pre>\n<h3>\u4e3b\u8981\u529f\u80fd\u64cd\u4f5c\u6d41\u7a0b<\/h3>\n<h4>\u6587\u6863\u89e3\u6790<\/h4>\n<ol>\n<li>\u4e0a\u4f20\u6587\u6863\uff1a\u901a\u8fc7 Web UI\u3001Python \u5305\u6216 REST API \u4e0a\u4f20\u9700\u8981\u89e3\u6790\u7684\u6587\u6863\u3002<\/li>\n<li>\u8bbe\u7f6e\u89e3\u6790\u9009\u9879\uff1a\u53ef\u4ee5\u8bbe\u7f6e OCR \u8bed\u8a00\u3001\u89e3\u6790\u6307\u4ee4\u7b49\u9009\u9879\u3002<\/li>\n<li>\u89e3\u6790\u6587\u6863\uff1a\u70b9\u51fb\u201cParse\u201d\u6309\u94ae\u6216\u8c03\u7528\u89e3\u6790\u51fd\u6570\u3002<\/li>\n<li>\u67e5\u770b\u7ed3\u679c\uff1a\u89e3\u6790\u7ed3\u679c\u5c06\u4ee5\u6307\u5b9a\u683c\u5f0f\u8f93\u51fa\uff0c\u53ef\u4ee5\u5728 Web UI \u4e2d\u67e5\u770b\u6216\u901a\u8fc7 API \u83b7\u53d6\u3002<\/li>\n<\/ol>\n<h4>OCR \u529f\u80fd<\/h4>\n<ol>\n<li>\u8bbe\u7f6e OCR \u8bed\u8a00\uff1a\u5728\u89e3\u6790\u9009\u9879\u4e2d\u8bbe\u7f6e\u9700\u8981\u8bc6\u522b\u7684\u8bed\u8a00\u3002<\/li>\n<li>\u4e0a\u4f20\u5305\u542b\u56fe\u50cf\u7684\u6587\u6863\uff1a\u652f\u6301 PDF\u3001\u56fe\u7247\u7b49\u683c\u5f0f\u3002<\/li>\n<li>\u89e3\u6790\u6587\u6863\uff1aLlamaParse \u5c06\u81ea\u52a8\u8bc6\u522b\u56fe\u50cf\u4e2d\u7684\u6587\u5b57\u5e76\u8fdb\u884c\u89e3\u6790\u3002<\/li>\n<\/ol>\n<h4>\u81ea\u7136\u8bed\u8a00\u6307\u4ee4<\/h4>\n<ol>\n<li>\u8bbe\u7f6e\u89e3\u6790\u6307\u4ee4\uff1a\u5728\u89e3\u6790\u9009\u9879\u4e2d\u8f93\u5165\u81ea\u7136\u8bed\u8a00\u6307\u4ee4\uff0c\u5982\u201c\u89e3\u6790\u9910\u5385\u6536\u636e\uff0c\u63d0\u53d6\u603b\u91d1\u989d\u548c\u5c0f\u8d39\u201d\u3002<\/li>\n<li>\u4e0a\u4f20\u6587\u6863\uff1a\u652f\u6301 PDF\u3001Word \u7b49\u683c\u5f0f\u3002<\/li>\n<li>\u89e3\u6790\u6587\u6863\uff1aLlamaParse \u5c06\u6839\u636e\u6307\u4ee4\u89e3\u6790\u6587\u6863\u5185\u5bb9\u5e76\u8f93\u51fa\u7ed3\u679c\u3002<\/li>\n<\/ol>\n<h3>\u81ea\u5b9a\u4e49\u89e3\u6790<\/h3>\n<ol>\n<li>\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u89e3\u6790\u9009\u9879\uff1a\u53ef\u4ee5\u8bbe\u7f6e\u662f\u5426\u7981\u7528 OCR\u3001\u8df3\u8fc7\u5bf9\u89d2\u7ebf\u6587\u672c\u7b49\u9009\u9879\u3002<\/li>\n<li>\u4e0a\u4f20\u6587\u6863\uff1a\u652f\u6301\u591a\u79cd\u683c\u5f0f\u7684\u6587\u6863\u4e0a\u4f20\u3002<\/li>\n<li>\u89e3\u6790\u6587\u6863\uff1a\u6839\u636e\u81ea\u5b9a\u4e49\u9009\u9879\u8fdb\u884c\u89e3\u6790\uff0c\u8f93\u51fa\u7b26\u5408\u9700\u6c42\u7684\u7ed3\u679c\u3002<\/li>\n<\/ol>\n<p>LlamaParse \u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u7075\u6d3b\u7684\u4f7f\u7528\u65b9\u5f0f\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u89e3\u6790\u65b9\u5f0f\uff0c\u5e76\u901a\u8fc7\u81ea\u5b9a\u4e49\u9009\u9879\u5b9e\u73b0\u4e2a\u6027\u5316\u89e3\u6790\u3002\u65e0\u8bba\u662f\u4f01\u4e1a\u7528\u6237\u8fd8\u662f\u4e2a\u4eba\u7528\u6237\uff0cLlamaParse \u90fd\u80fd\u5e2e\u52a9\u7b80\u5316\u6587\u6863\u5904\u7406\u6d41\u7a0b\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LlamaParse \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6587\u6863\u89e3\u6790\u5de5\u5177\uff0c\u80fd\u591f\u5904\u7406\u590d\u6742\u7684\u6587\u6863\u5982 PDF\u3001PowerPoint\u3001Word \u6587\u6863\u548c\u7535\u5b50\u8868\u683c\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u7ed3\u6784\u5316\u6570\u636e\u3002LlamaParse \u63d0\u4f9b\u591a\u79cd\u4f7f\u7528\u65b9\u5f0f\uff0c\u5305\u62ec\u72ec\u7acb\u7684 REST API\u3001Python \u5305\u3001T&#8230;<\/p>\n","protected":false},"author":1,"featured_media":32604,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[425,20,499],"tags":[208,252],"class_list":["post-18901","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-professional","category-tool","category-document-extraction","tag-aikaifangfuwu","tag-markdown"],"_links":{"self":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/18901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/comments?post=18901"}],"version-history":[{"count":0,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/18901\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media\/32604"}],"wp:attachment":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media?parent=18901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/categories?post=18901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/tags?post=18901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}