{"id":566,"date":"2024-07-03T16:27:14","date_gmt":"2024-07-03T08:27:14","guid":{"rendered":"https:\/\/hali.life\/?p=566"},"modified":"2024-07-05T14:45:50","modified_gmt":"2024-07-05T06:45:50","slug":"ai-%e6%9b%bf%e4%bb%a3-%e7%88%ac%e8%99%ab%e5%b7%a5%e7%a8%8b%e5%b8%88","status":"publish","type":"post","link":"https:\/\/hali.life\/?p=566","title":{"rendered":"\u3010Scrapegraph-ai\u3011AI\u53d6\u4ee3\u722c\u866b\u5de5\u7a0b\u5e08"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u89c6\u9891\u6559\u7a0b<\/h1>\n\n\n\n<iframe src=\"\/\/player.bilibili.com\/player.html?bvid=BV1QZ421K7fh&#038;page=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\"  style=\"width:100%; height:500px; max-width: 100%\uff1balign:center; margin-left: 60px; \"> <\/iframe>\n\n\n\n<h1 class=\"wp-block-heading\">\u7b80\u4ecb<\/h1>\n\n\n\n<p>Github\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/VinciGit00\/Scrapegraph-ai\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Scrapegraph-ai<\/mark><\/a><br>\u8be5\u9879\u76ee\u53ef\u4ee5\u4f7f\u7528\u5927\u9884\u8a00\u6a21\u578b\uff0c\u5bf9\u76ee\u6807\u7f51\u7ad9\u7684\u5185\u5bb9\u8fdb\u884c\u722c\u53d6\u3002\u771f\u6b63\u505a\u5230\uff0c\u65e0\u9700\u4ee3\u7801\uff0c<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u52a8\u52a8\u5634\u5c31\u53d6\u4ee3\u722c\u866b<\/mark><br>\u8be5\u9879\u76ee\u53ef\u4ee5\u4f7f\u7528ChatGPT\u7b49\u5728\u7ebf\u5927\u6a21\u578b\uff08\u9700\u8981api\u8d39\u7528\uff09\uff0c\u4f46\u63a5\u4e0b\u6765\u6211\u4f1a\u6f14\u793a\u5982\u4f55\u4f7f\u7528\u672c\u5730\u5927\u8bed\u8a00\u6a21\u578b\uff08<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u65e0\u9700\u8d39\u7528<\/mark><\/strong>\uff09<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5b89\u88c5<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u5b89\u88c5ollama<\/h2>\n\n\n\n<p>\u5728<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"> <a href=\"https:\/\/ollama.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Ollama\u5b98\u7f51<\/a><\/mark> \u4e0b\u8f7d\u5bf9\u5e94\u5b89\u88c5\u5305\uff0c\u65e0\u8111\u4e0b\u4e00\u6b65\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u5b89\u88c5\u5927\u9884\u8a00\u6a21\u578b<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama pull llama3\nollama pull nomic-embed-text\nollama pull mistral<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u5b89\u88c5\u73af\u5883<\/h2>\n\n\n\n<p>1\u3001 <a href=\"https:\/\/www.python.org\/\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">python\u5b98\u7f51<\/mark><\/a> \u4e0b\u8f7d\u5b89\u88c5 python3.9+  <br>2\u3001 \u5b89\u88c5\u4e24\u4e2a\u4e2d\u95f4\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> pip install scrapegraphai\n playwright install  <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u8fd0\u884c\u811a\u672c<\/h2>\n\n\n\n<p>\u4f7f\u7528\u6211\u7684\u811a\u672c\uff1a<br>\u94fe\u63a5\uff1a<a href=\"https:\/\/pan.quark.cn\/s\/637f0f372686\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">https:\/\/pan.quark.cn\/s\/637f0f372686<\/mark><\/a><\/p>\n\n\n\n<p>\u53ea\u9700\u4fee\u6539\u811a\u672c\u4e2d\u7684 <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">source <\/mark><\/strong>\u53d8\u91cf\u4e3a<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u76ee\u6807\u7f51\u7ad9<\/mark><\/strong><br>\u4fee\u6539<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\"><strong>prompt<\/strong><\/mark> \u53d8\u91cf\u4e3a <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u63d0\u793a\u8bcd<\/mark><\/strong>\uff08\u5fc5\u987b\u4e3a\u82f1\u6587\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python sc.py  # \u8fd0\u884c<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u89c6\u9891\u6559\u7a0b \u7b80\u4ecb Github\u5730\u5740\uff1aScrapegraph-ai\u8be5\u9879\u76ee\u53ef\u4ee5\u4f7f\u7528\u5927\u9884\u8a00\u6a21\u578b\uff0c\u5bf9\u76ee\u6807\u7f51\u7ad9\u7684\u5185\u5bb9\u8fdb\u884c\u722c&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":567,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-566","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai"],"views":6720,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=566"}],"version-history":[{"count":5,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/566\/revisions"}],"predecessor-version":[{"id":573,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/566\/revisions\/573"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/media\/567"}],"wp:attachment":[{"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}