{"id":29479,"date":"2026-06-10T08:31:44","date_gmt":"2026-06-10T00:31:44","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=29479"},"modified":"2026-06-10T08:31:44","modified_gmt":"2026-06-10T00:31:44","slug":"apple-core-ai-framework-%e4%b8%8e-ai-%e5%ba%94%e7%94%a8%e7%9a%84%e8%ae%be%e5%a4%87%e7%ab%af%e9%83%a8%e7%bd%b2%e5%b7%a5%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2026\/06\/10\/29479\/","title":{"rendered":"Apple Core AI Framework \u4e0e AI \u5e94\u7528\u7684\u8bbe\u5907\u7aef\u90e8\u7f72\u5de5\u7a0b"},"content":{"rendered":"<div class=\"article-desc\">\u5982\u679c\u4f60\u53ea\u5173\u5fc3\u5728 iOS\/macOS \u4e0a\u8dd1\u6a21\u578b\uff0c\u8fd9\u4e2a Framework \u662f SDK \u66f4\u65b0\u3002\u5982\u679c\u4f60\u5173\u5fc3\u7684\u662f AI \u5e94\u7528\u7684\u6574\u4f53\u90e8\u7f72\u67b6\u6784\uff0cCore AI \u503c\u5f97\u8ba4\u771f\u770b\u2014\u2014\u56e0\u4e3a\u5b83\u4ee3\u8868\u4e86 AI \u63a8\u7406\u6b63\u5728\u4ece\u300c\u4e91\u7aef\u72ec\u5360\u300d\u8d70\u5411\u300c\u8bbe\u5907\u7aef\u4f18\u5148\u300d\u7684\u5de5\u7a0b\u62d0\u70b9\u3002<\/div>\n<div id=\"postspictures\" class=\"article-content\">\n<div id=\"container\" class=\"container am-engine\" data-v-01a18e2f=\"\" data-element=\"root\">\n<p>2026 \u5e74 6 \u6708 8 \u65e5\uff0cApple \u5728 WWDC \u4e0a\u53d1\u5e03\u4e86 Core AI Framework\uff0c\u540c\u65f6\u5f00\u6e90\u4e86 coreai-torch\u3001coreai-opt \u548c coreai-models \u4e09\u4e2a\u914d\u5957\u9879\u76ee\u3002\u8fd9\u5957\u6280\u672f\u6808\u4e0d\u662f\u53e6\u4e00\u4e2a\u6a21\u578b\u8bad\u7ec3\u6846\u67b6\uff0c\u4e5f\u4e0d\u662f\u53c8\u4e00\u4e2a ML \u63a8\u7406\u5f15\u64ce\u2014\u2014\u5b83\u662f Apple \u5bf9\u300cAI \u5e94\u7528\u5e94\u8be5\u600e\u4e48\u90e8\u7f72\u300d\u7ed9\u51fa\u7684\u7cfb\u7edf\u6027\u7b54\u6848\u3002<\/p>\n<p>\u5982\u679c\u4f60\u53ea\u5173\u5fc3\u5728 iOS\/macOS \u4e0a\u8dd1\u6a21\u578b\uff0c\u8fd9\u4e2a Framework \u662f SDK \u66f4\u65b0\u3002\u5982\u679c\u4f60\u5173\u5fc3\u7684\u662f AI \u5e94\u7528\u7684\u6574\u4f53\u90e8\u7f72\u67b6\u6784\uff0cCore AI \u503c\u5f97\u8ba4\u771f\u770b\u2014\u2014\u56e0\u4e3a\u5b83\u4ee3\u8868\u4e86 AI \u63a8\u7406\u6b63\u5728\u4ece\u300c\u4e91\u7aef\u72ec\u5360\u300d\u8d70\u5411\u300c\u8bbe\u5907\u7aef\u4f18\u5148\u300d\u7684\u5de5\u7a0b\u62d0\u70b9\u3002<\/p>\n<h4><span class=\"\">\u7eaf\u4e91\u7aef\u63a8\u7406\u7684\u9690\u6027\u6210\u672c<\/span><\/h4>\n<p>\u8fc7\u53bb\u4e24\u5e74\uff0c\u7edd\u5927\u591a\u6570 AI \u5e94\u7528\u90fd\u5efa\u7acb\u5728\u540c\u4e00\u4e2a\u5047\u8bbe\u4e0a\uff1a\u63a8\u7406\u53d1\u751f\u5728\u4e91\u7aef\u3002\u65e0\u8bba\u662f\u8c03\u7528 OpenAI \u7684 API\uff0c\u8fd8\u662f\u81ea\u5efa\u63a8\u7406\u96c6\u7fa4\uff0c\u5e94\u7528\u505a\u7684\u4e8b\u60c5\u5c31\u662f\u5c01\u88c5\u8bf7\u6c42\u3001\u53d1\u9001 HTTP\u3001\u7b49\u5f85\u54cd\u5e94\u3002<\/p>\n<p>\u8fd9\u4e2a\u6a21\u5f0f\u5728\u4ea7\u54c1\u9a8c\u8bc1\u9636\u6bb5\u6ca1\u6709\u95ee\u9898\u3002\u4f46\u5f53\u5e94\u7528\u60f3\u8981\u89c4\u6a21\u5316\u65f6\uff0c\u4e09\u4e2a\u6210\u672c\u5f00\u59cb\u663e\u73b0\u3002<\/p>\n<p>\u7b2c\u4e00\u4e2a\u662f\u5ef6\u8fdf\u3002\u6bcf\u4e2a\u63a8\u7406\u8bf7\u6c42\u81f3\u5c11\u7ecf\u8fc7\u4e00\u6b21\u7f51\u7edc\u5f80\u8fd4\uff0c\u5373\u4f7f\u5728\u540c\u533a\u57df\u90e8\u7f72\uff0c\u4e5f\u5f97 50-100ms\u3002\u5bf9\u4e8e Agent \u7c7b\u7684\u591a\u6b65\u63a8\u7406\u5e94\u7528\uff0c\u6bcf\u4e00\u6b65\u7684\u7f51\u7edc\u5ef6\u8fdf\u53e0\u52a0\uff0c\u7528\u6237\u611f\u77e5\u5230\u7684\u54cd\u5e94\u65f6\u95f4\u5f88\u5bb9\u6613\u4ece\u79d2\u7ea7\u6ed1\u5411\u5341\u79d2\u7ea7\u3002<\/p>\n<p>\u7b2c\u4e8c\u4e2a\u662f\u6210\u672c\u3002API \u8c03\u7528\u7684\u8ba1\u8d39\u662f\u6309 Token \u7b97\u7684\uff0c\u5e94\u7528\u7684\u6838\u5fc3\u8def\u5f84\u4e0a\u6bcf\u4e00\u6b21\u63a8\u7406\u90fd\u4ea7\u751f\u8d39\u7528\u3002\u5f53\u5e94\u7528\u7684\u7528\u6237\u91cf\u589e\u957f\u65f6\uff0c\u8fd9\u4e2a\u6210\u672c\u662f\u7ebf\u6027\u751a\u81f3\u8d85\u7ebf\u6027\u589e\u957f\u7684\u2014\u2014\u589e\u52a0\u7684\u4e0d\u4ec5\u662f\u63a8\u7406\u6b21\u6570\uff0c\u8fd8\u6709\u4e0a\u4e0b\u6587\u7a97\u53e3\u53d8\u5927\u540e\u7684\u8f93\u5165 Token \u81a8\u80c0\u3002<\/p>\n<p>\u7b2c\u4e09\u4e2a\u662f\u53ef\u7528\u6027\u3002AI \u5e94\u7528\u5b8c\u5168\u4f9d\u8d56\u4e91\u7aef\uff0c\u610f\u5473\u7740\u4efb\u4f55\u7f51\u7edc\u4e2d\u65ad\u3001API \u9650\u6d41\u3001\u6a21\u578b\u5347\u7ea7\u2014\u2014\u54ea\u6015\u662f\u670d\u52a1\u5546\u4fa7\u4e00\u4e2a\u4e0d\u517c\u5bb9\u7684\u5b57\u6bb5\u53d8\u66f4\u2014\u2014\u90fd\u76f4\u63a5\u5f71\u54cd\u7ec8\u7aef\u7528\u6237\u3002\u5982\u679c AI \u662f\u5e94\u7528\u7684\u6838\u5fc3\u4f53\u9a8c\uff0c\u8fd9\u79cd\u4f9d\u8d56\u5c31\u662f\u5355\u70b9\u6545\u969c\u3002<\/p>\n<p>\u8bbe\u5907\u7aef\u63a8\u7406\u4e0d\u662f\u8981\u5b8c\u5168\u66ff\u4ee3\u4e91\u7aef\u63a8\u7406\uff0c\u800c\u662f\u5728\u5408\u7406\u7684\u573a\u666f\u4e0b\u5206\u62c5\u63a8\u7406\u8d1f\u8f7d\u3002Apple Core AI \u662f\u7b2c\u4e00\u4e2a\u628a\u8fd9\u4ef6\u4e8b\u505a\u6210\u5f00\u53d1\u8005\u6807\u51c6\u5de5\u5177\u94fe\u7684\u5e73\u53f0\u7ea7\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h4><span class=\"\">Core AI \u7684\u5168\u6808\u67b6\u6784<\/span><\/h4>\n<p>Core AI \u4e0d\u662f\u4e00\u4e2a\u5b64\u7acb\u7684\u6846\u67b6\uff0c\u800c\u662f\u4e00\u5957\u4ece\u6a21\u578b\u5bfc\u51fa\u5230\u8fd0\u884c\u65f6\u63a8\u7406\u7684\u5b8c\u6574\u5de5\u5177\u94fe\u3002<\/p>\n<p><strong>Core AI \u6846\u67b6<\/strong>\u662f Swift API \u5c42\uff0c\u8d1f\u8d23\u5728 Apple \u8bbe\u5907\u4e0a\u52a0\u8f7d\u548c\u8fd0\u884c\u6a21\u578b\u3002\u5b83\u652f\u6301 CPU\u3001GPU \u548c Neural Engine \u4e09\u79cd\u8ba1\u7b97\u5355\u5143\uff0c\u5e76\u5728\u6a21\u578b\u52a0\u8f7d\u65f6\u81ea\u52a8\u505a\u300c\u7279\u5316\u300d\u2014\u2014\u6839\u636e\u5f53\u524d\u8bbe\u5907\u7684\u786c\u4ef6\u914d\u7f6e\uff0c\u9009\u62e9\u6700\u4f18\u7684\u8ba1\u7b97\u7ec4\u5408\u3002\u5f00\u53d1\u8005\u4e0d\u9700\u8981\u624b\u52a8\u6307\u5b9a\u7528\u54ea\u4e2a\u5904\u7406\u5668\uff0c\u6846\u67b6\u5728\u00a0<code>AIModel<\/code>\u00a0\u521d\u59cb\u5316\u65f6\u5f02\u6b65\u5b8c\u6210\u786c\u4ef6\u9002\u914d\u3002<\/p>\n<p><strong>coreai-torch<\/strong>\u00a0\u662f PyTorch \u6a21\u578b\u8f6c\u6362\u5de5\u5177\u3002\u5b83\u63a5\u53d7\u00a0<code>torch.export.ExportedProgram<\/code>\uff0c\u5c06\u5176\u964d\u7ea7\u5230 Core AI IR\uff08\u4e2d\u95f4\u8868\u793a\uff09\uff0c\u7136\u540e\u4ea4\u7ed9 Core AI \u7f16\u8bd1\u5668\u505a\u540e\u7aef\u4f18\u5316\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u4fdd\u7559\u590d\u5408\u7b97\u5b50\uff08\u5982\u6ce8\u610f\u529b\u3001\u5f52\u4e00\u5316\uff09\uff0c\u8ba9\u8fd0\u884c\u65f6\u83b7\u5f97\u66f4\u597d\u7684\u6027\u80fd\u3002\u8f93\u51fa\u7684\u00a0<code>.aimodel<\/code>\u00a0\u6587\u4ef6\u5c31\u662f\u6700\u7ec8\u7684\u90e8\u7f72\u4ea7\u7269\u3002<\/p>\n<p><strong>coreai-opt<\/strong>\u00a0\u662f\u6a21\u578b\u538b\u7f29\u5de5\u5177\uff0c\u63d0\u4f9b\u4e86\u91cf\u5316\u3001\u8c03\u8272\u677f\u5316\u548c\u526a\u679d\u7684\u5b9e\u73b0\u3002\u8fd9\u4e9b\u4f18\u5316\u76f4\u63a5\u9762\u5411 Apple Silicon \u8bbe\u8ba1\uff0c\u53ef\u4ee5\u5728\u6a21\u578b\u7cbe\u5ea6\u635f\u5931\u53ef\u63a7\u7684\u524d\u63d0\u4e0b\uff0c\u663e\u8457\u51cf\u5c11\u6a21\u578b\u4f53\u79ef\u548c\u63a8\u7406\u5ef6\u8fdf\u3002<\/p>\n<p><strong>coreai-models<\/strong>\u00a0\u662f\u4e00\u4e2a\u6a21\u578b\u4ed3\u5e93\uff0c\u5305\u542b\u4e86\u4ece Hugging Face \u7b49\u6765\u6e90\u5bfc\u51fa\u70ed\u95e8\u5f00\u6e90\u6a21\u578b\u7684\u5b8c\u6574\u914d\u65b9\u3002\u9879\u76ee\u8fd8\u5305\u542b Swift \u8fd0\u884c\u65f6\u5de5\u5177\u548c\u4e00\u5957\u9762\u5411 AI \u7f16\u7801 Agent \u7684 skills \u63d2\u4ef6\u3002<\/p>\n<p>\u8fd9\u5957\u67b6\u6784\u4f20\u9012\u4e86\u4e00\u4e2a\u6e05\u6670\u7684\u5de5\u7a0b\u4fe1\u53f7\uff1a\u8bbe\u5907\u7aef\u63a8\u7406\u4e0d\u662f\u7b80\u5355\u5730\u62c9\u4e2a ONNX \u518d\u8c03\u7528\u4e00\u4e0b\uff0c\u800c\u662f\u9700\u8981\u4ece\u6a21\u578b\u5bfc\u51fa\u3001\u4f18\u5316\u3001\u7f16\u8bd1\u5230\u8fd0\u884c\u65f6\u96c6\u6210\uff0c\u6784\u5efa\u4e00\u6761\u5b8c\u6574\u7684\u90e8\u7f72\u7ba1\u7ebf\u3002<\/p>\n<h4><span class=\"\">\u6a21\u578b\u90e8\u7f72\u7ba1\u7ebf\uff1a\u4ece PyTorch \u5230 .aimodel<\/span><\/h4>\n<p>\u7406\u89e3 Core AI \u7684\u5de5\u7a0b\u4ef7\u503c\uff0c\u6700\u597d\u7684\u65b9\u5f0f\u662f\u5728\u4e00\u4e2a\u5178\u578b\u6d41\u7a0b\u4e2d\u8d70\u4e00\u904d\u3002<\/p>\n<p>\u5047\u8bbe\u9700\u8981\u7528 Core AI \u5728\u8bbe\u5907\u4e0a\u8fd0\u884c\u4e00\u4e2a\u8bed\u8a00\u6a21\u578b\u3002\u7b2c\u4e00\u6b65\u662f\u6a21\u578b\u5bfc\u51fa\u3002\u4f7f\u7528 coreai-torch\uff0c\u5c06 PyTorch \u7684\u00a0<code>ExportedProgram<\/code>\u00a0\u8f6c\u6362\u4e3a Core AI IR\u3002\u8fd9\u4e00\u6b65\u7684\u5173\u952e\u662f\u4f7f\u7528\u00a0<code>get_decomp_table()<\/code>\u00a0\u4fdd\u7559\u590d\u5408\u7b97\u5b50\u7684\u5b8c\u6574\u6027\u2014\u2014\u5982\u679c\u8fc7\u65e9\u5206\u89e3\u7b97\u5b50\uff0c\u7f16\u8bd1\u5668\u4f1a\u5931\u53bb\u9ad8\u5c42\u8bed\u4e49\u4fe1\u606f\uff0c\u65e0\u6cd5\u505a\u5168\u5c40\u4f18\u5316\u3002<\/p>\n<p>\u5bfc\u51fa\u5b8c\u6210\u540e\u5f97\u5230\u00a0<code>ExportedProgram<\/code>\uff0c\u4f46\u4e0d\u662f\u76f4\u63a5\u90e8\u7f72\uff0c\u800c\u662f\u8fdb\u5165\u4f18\u5316\u9636\u6bb5\u3002coreai-opt \u63d0\u4f9b\u4e86\u914d\u7f6e\u5316\u7684\u538b\u7f29\u65b9\u6848\uff0c\u4f8b\u5982 W8\uff08INT8 \u6743\u91cd\u91cf\u5316\uff09\u5c31\u662f\u4e00\u79cd\u4f4e\u635f\u5931\u3001\u9ad8\u6536\u76ca\u7684\u8d77\u70b9\u3002\u91cf\u5316\u7684\u914d\u7f6e\u662f\u901a\u8fc7\u9884\u8bbe\uff08preset\uff09\u6765\u63a7\u5236\u7684\uff0c\u4e00\u4e2a\u5178\u578b\u7684\u91cf\u5316\u6d41\u7a0b\u5305\u62ec prepare\u3001calibrate \u548c finalize \u4e09\u4e2a\u9636\u6bb5\u3002<\/p>\n<p>\u4f18\u5316\u5b8c\u6210\u540e\uff0c\u6a21\u578b\u4f1a\u88ab\u8f6c\u6362\u4e3a\u00a0<code>.aimodel<\/code>\u00a0\u683c\u5f0f\u5e76\u5728\u7f16\u8bd1\u65f6\u88ab\u4e13\u95e8\u5316\uff08specialization\uff09\u3002\u8fd9\u4e2a\u4e13\u95e8\u5316\u8fc7\u7a0b\u5f88\u91cd\u8981\uff1aApple Silicon \u8986\u76d6\u4e86\u4ece iPhone \u5230 Mac Pro \u7684\u5de8\u5927\u7b97\u529b\u8de8\u5ea6\uff0c\u540c\u4e00\u6a21\u578b\u5728\u4e0d\u540c\u8bbe\u5907\u4e0a\u7684\u6700\u4f18\u6267\u884c\u65b9\u6848\u53ef\u80fd\u5b8c\u5168\u4e0d\u540c\u3002\u4e13\u95e8\u5316\u5c31\u662f\u4e3a\u5f53\u524d\u8bbe\u5907\u627e\u5230\u90a3\u5957\u6700\u4f18\u65b9\u6848\u3002<\/p>\n<p>\u6700\u540e\uff0c\u6a21\u578b\u8981\u4e48\u6253\u5305\u8fdb App Bundle\uff0c\u8981\u4e48\u901a\u8fc7\u7f51\u7edc\u6309\u9700\u4e0b\u8f7d\u3002\u8fd0\u884c\u65f6\u901a\u8fc7\u00a0<code>AIModel<\/code>\u00a0\u52a0\u8f7d\uff0c\u83b7\u53d6\u00a0<code>InferenceFunction<\/code>\u00a0\u6765\u6267\u884c\u63a8\u7406\u3002<\/p>\n<h4><span class=\"\">\u8fd9\u5957\u67b6\u6784\u56de\u7b54\u4e86\u4ec0\u4e48\u95ee\u9898<\/span><\/h4>\n<p>Core AI \u7684\u67b6\u6784\u8bbe\u8ba1\u4e0d\u662f\u51ed\u7a7a\u6765\u7684\uff0c\u5b83\u56de\u5e94\u4e86\u8bbe\u5907\u7aef\u63a8\u7406\u5728\u843d\u5730\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u51e0\u4e2a\u5173\u952e\u5de5\u7a0b\u95ee\u9898\u3002<\/p>\n<p>\u7b2c\u4e00\u4e2a\u95ee\u9898\u662f\u786c\u4ef6\u9002\u914d\u3002Apple \u7684\u82af\u7247\u4ece A \u7cfb\u5217\u5230 M \u7cfb\u5217\u518d\u5230 Ultra\uff0cNPU\u3001GPU\u3001CPU \u7684\u7ec4\u5408\u5343\u5dee\u4e07\u522b\u3002\u5982\u679c\u5f00\u53d1\u8005\u9700\u8981\u9488\u5bf9\u6bcf\u79cd\u914d\u7f6e\u5199\u4e0d\u540c\u7684\u63a8\u7406\u4ee3\u7801\uff0c\u8bbe\u5907\u7aef\u90e8\u7f72\u5c31\u4e0d\u53ef\u80fd\u89c4\u6a21\u5316\u3002Core AI \u7684\u505a\u6cd5\u662f\uff1a\u5728\u6a21\u578b\u52a0\u8f7d\u9636\u6bb5\u505a\u4e00\u6b21\u5f02\u6b65\u7684\u786c\u4ef6\u4e13\u95e8\u5316\uff0c\u540e\u7eed\u7684\u6240\u6709\u63a8\u7406\u8c03\u7528\u90fd\u8d70\u4e13\u7528\u8def\u5f84\u3002\u8fd9\u4e0d\u662f\u65b0\u6280\u672f\uff0c\u4f46\u5728 Apple \u7684\u751f\u6001\u91cc\u7b2c\u4e00\u6b21\u88ab\u6807\u51c6\u5316\u4e86\u3002<\/p>\n<p>\u7b2c\u4e8c\u4e2a\u95ee\u9898\u662f\u6a21\u578b\u538b\u7f29\u7684\u53ef\u914d\u7f6e\u6027\u3002\u8bbe\u5907\u7aef\u7684\u5185\u5b58\u548c\u7b97\u529b\u662f\u6709\u9650\u7684\uff0c\u4f46\u4e0d\u540c\u5e94\u7528\u5bf9\u6a21\u578b\u7cbe\u5ea6\u7684\u5bb9\u5fcd\u5ea6\u4e0d\u540c\u3002\u4e00\u4e2a OCR \u6a21\u578b\u53ef\u4ee5\u627f\u53d7\u6bd4\u4e00\u4e2a\u533b\u7597\u8bca\u65ad\u6a21\u578b\u66f4\u5927\u7684\u538b\u7f29\u635f\u5931\u3002coreai-opt \u7684\u9884\u8bbe\u4f53\u7cfb\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u573a\u666f\u9009\u62e9\u5408\u9002\u7684\u538b\u7f29\u7ea7\u522b\uff0c\u800c\u4e0d\u662f\u300c\u8981\u4e48\u5168\u91cf\u8981\u4e48\u5168\u65e0\u300d\u3002<\/p>\n<p>\u7b2c\u4e09\u4e2a\u95ee\u9898\u662f\u5f00\u53d1\u8c03\u8bd5\u7684\u53ef\u89c2\u6d4b\u6027\u3002Core AI Debugger \u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u5e94\u7528\uff0c\u652f\u6301\u6a21\u578b\u7ed3\u6784\u53ef\u89c6\u5316\u548c\u5f20\u91cf\u6570\u503c\u8c03\u8bd5\uff0c\u751a\u81f3\u80fd\u628a\u8bbe\u5907\u7aef\u7684\u5f20\u91cf\u503c\u76f4\u63a5\u8ffd\u8e2a\u56de Python \u6e90\u7801\u3002\u8fd9\u5bf9\u4e8e\u6392\u67e5\u8bbe\u5907\u7aef\u63a8\u7406\u7684\u7cbe\u5ea6\u9000\u5316\u95ee\u9898\u81f3\u5173\u91cd\u8981\u2014\u2014\u5728\u8bbe\u5907\u4e0a\u8dd1\u7684\u7ed3\u679c\u548c GPU \u4e0a\u8dd1\u7684\u4e0d\u4e00\u81f4\uff0c\u662f\u8bbe\u5907\u7aef\u63a8\u7406\u6700\u5e38\u89c1\u7684\u5751\u4e4b\u4e00\u3002<\/p>\n<h4><span class=\"\">\u8bbe\u5907\u7aef\u63a8\u7406\u7684\u8fb9\u754c<\/span><\/h4>\n<p>\u8bbe\u5907\u7aef\u63a8\u7406\u6709\u5f88\u5927\u7684\u4f18\u52bf\u2014\u2014\u96f6\u5ef6\u8fdf\u3001\u96f6 API \u8d39\u7528\u3001\u79bb\u7ebf\u53ef\u7528\u3001\u6570\u636e\u4e0d\u51fa\u8bbe\u5907\u2014\u2014\u4f46\u5b83\u7684\u8fb9\u754c\u4e5f\u540c\u6837\u6e05\u6670\u3002<\/p>\n<p>\u6700\u5927\u7684\u8fb9\u754c\u662f\u6a21\u578b\u5bb9\u91cf\u3002\u5373\u4f7f\u662f\u7ecf\u8fc7\u538b\u7f29\u7684\u6a21\u578b\uff0c\u4e00\u4e2a 7B \u53c2\u6570\u7684\u6a21\u578b\u5728 iPhone \u4e0a\u4e5f\u662f\u56f0\u96be\u7684\u3002Core AI \u56e2\u961f\u5728 coreai-models \u4e2d\u63d0\u4f9b\u7684\u4e3b\u8981\u662f\u5c0f\u53c2\u6570\u91cf\u7684\u6a21\u578b\u548c\u5de5\u5177\u94fe\uff0c\u8fd9\u4e0d\u662f\u5076\u7136\u7684\u3002\u8bbe\u5907\u7aef\u63a8\u7406\u76ee\u524d\u6700\u9002\u5408\u7684\u662f\u4e13\u7528\u5c0f\u6a21\u578b\uff08\u5206\u7c7b\u3001\u68c0\u6d4b\u3001\u5d4c\u5165\uff09\u548c\u7ecf\u8fc7\u6781\u9650\u538b\u7f29\u7684\u901a\u7528\u6a21\u578b\u3002<\/p>\n<p>\u7b2c\u4e8c\u4e2a\u8fb9\u754c\u662f\u6a21\u578b\u66f4\u65b0\u3002\u8bbe\u5907\u7aef\u6a21\u578b\u4e0d\u50cf\u4e91\u7aef API \u90a3\u6837\u53ef\u4ee5\u539f\u5730\u70ed\u66f4\u65b0\u3002\u7528\u6237\u9700\u8981\u4e0b\u8f7d\u65b0\u7684\u00a0<code>.aimodel<\/code>\u00a0\u6587\u4ef6\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u6d89\u53ca\u7f51\u7edc\u4f20\u8f93\u3001\u7248\u672c\u517c\u5bb9\u6027\u56de\u9000\u7b56\u7565\u3001\u589e\u91cf\u66f4\u65b0\u7b49\u95ee\u9898\u3002Apple \u7684\u7b56\u7565\u662f\u5c06\u6a21\u578b\u4f5c\u4e3a App Bundle \u7684\u4e00\u90e8\u5206\u6216\u901a\u8fc7\u6309\u9700\u8d44\u6e90\u4e0b\u8f7d\uff0c\u4f46\u8fd9\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u5ba2\u6237\u7aef\u8d44\u6e90\u66f4\u65b0\u7684\u95ee\u9898\uff0c\u590d\u6742\u5ea6\u8fdc\u9ad8\u4e8e\u5207\u6362 API \u7248\u672c\u53f7\u3002<\/p>\n<p>\u7b2c\u4e09\u4e2a\u8fb9\u754c\u662f\u591a\u6a21\u6001\u548c\u590d\u6742\u63a8\u7406\u94fe\u3002\u8bbe\u5907\u7aef\u7684\u7b97\u529b\u6709\u9650\uff0c\u8dd1\u4e00\u6b21\u5355\u6a21\u578b\u63a8\u7406\u53ef\u4ee5\u63a5\u53d7\uff0c\u4f46\u5982\u679c\u5e94\u7528\u903b\u8f91\u9700\u8981\u591a\u4e2a\u6a21\u578b\u7ea7\u8054\uff08\u6bd4\u5982\u68c0\u6d4b\u2192\u88c1\u526a\u2192\u8bc6\u522b\u2192\u751f\u6210\uff09\uff0c\u8bbe\u5907\u7aef\u7684\u7d2f\u8ba1\u5ef6\u8fdf\u53ef\u80fd\u53cd\u800c\u8d85\u8fc7\u4e91\u7aef\u4e00\u6b21 API \u8c03\u7528\u3002Agent \u7c7b\u7684\u591a\u6b65\u63a8\u7406\u4ecd\u7136\u9002\u5408\u4e91\u7aef\u6267\u884c\uff0c\u8bbe\u5907\u7aef\u66f4\u9002\u5408\u505a\u5355\u6b65\u7684\u3001\u5ef6\u8fdf\u654f\u611f\u7684\u63a8\u7406\u4efb\u52a1\u3002<\/p>\n<h4><span class=\"\">\u5bf9 AI \u5e94\u7528\u90e8\u7f72\u67b6\u6784\u7684\u5f71\u54cd<\/span><\/h4>\n<p>Core AI \u7684\u51fa\u73b0\u4e0d\u4ee3\u8868\u8bbe\u5907\u7aef\u63a8\u7406\u8981\u5728\u6240\u6709\u573a\u666f\u53d6\u4ee3\u4e91\u7aef\uff0c\u800c\u662f\u4e3a AI \u5e94\u7528\u7684\u90e8\u7f72\u67b6\u6784\u589e\u52a0\u4e86\u4e00\u4e2a\u65b0\u7684\u7ef4\u5ea6\u3002<\/p>\n<p>\u6df7\u5408\u63a8\u7406\u662f\u6b63\u5728\u5f62\u6210\u7684\u6a21\u5f0f\u3002\u5ef6\u8fdf\u654f\u611f\u7684\u63a8\u7406\u8def\u5f84\u8d70\u8bbe\u5907\u7aef\uff0c\u590d\u6742\u7684\u63a8\u7406\u903b\u8f91\u8d70\u4e91\u7aef\u3002\u4f8b\u5982\u4e00\u4e2a Agent \u5e94\u7528\u53ef\u4ee5\uff1a\u5728\u8bbe\u5907\u7aef\u8fd0\u884c\u4e00\u4e2a\u5d4c\u5165\u6a21\u578b\u505a\u672c\u5730\u8bed\u4e49\u641c\u7d22\uff0c\u628a\u641c\u7d22\u7ed3\u679c\u4f5c\u4e3a\u4e0a\u4e0b\u6587\u4f20\u5165\u4e91\u7aef\u7684 LLM \u505a\u63a8\u7406\u548c\u751f\u6210\u3002\u4e24\u79cd\u6a21\u5f0f\u4e0d\u662f\u4e92\u65a5\u7684\uff0c\u800c\u662f\u4e92\u8865\u7684\u3002<\/p>\n<p>\u8fd9\u5bf9 AI \u5e94\u7528\u7684\u5de5\u7a0b\u56e2\u961f\u610f\u5473\u7740\uff0c\u90e8\u7f72\u7b56\u7565\u4e0d\u518d\u53ea\u662f\u300c\u9009\u54ea\u4e2a\u6a21\u578b\u3001\u7528\u54ea\u4e2a API\u300d\uff0c\u800c\u662f\u8981\u8bbe\u8ba1\u4e00\u6761\u4ece\u6a21\u578b\u8bad\u7ec3\u5230\u8bbe\u5907\u7aef\u90e8\u7f72\u7684\u5b8c\u6574\u7ba1\u7ebf\u3002\u8fd9\u6761\u7ba1\u7ebf\u8981\u5305\u542b\uff1a\u6a21\u578b\u5bfc\u51fa\u9002\u914d\u3001\u538b\u7f29\u91cf\u5316\u914d\u7f6e\u3001\u7279\u5316\u7f16\u8bd1\u3001\u7248\u672c\u7ba1\u7406\u3001\u6309\u9700\u4e0b\u53d1\u3001\u5ba2\u6237\u7aef\u63a8\u7406\u8c03\u5ea6\u3002\u8fd9\u4e9b\u80fd\u529b\u5728 Core AI \u7684\u67b6\u6784\u91cc\u5df2\u7ecf\u6709\u4e86\u6807\u51c6\u5316\u7684\u63a5\u53e3\uff0c\u4f46\u5728\u8de8\u5e73\u53f0\u573a\u666f\u4e0b\uff0c\u5f00\u53d1\u8005\u4ecd\u7136\u9700\u8981\u81ea\u5df1\u642d\u5efa\u8fd9\u5957\u7ba1\u7ebf\u3002<\/p>\n<p>\u4ece\u8fd0\u7ef4\u89d2\u5ea6\u6765\u770b\uff0c\u8bbe\u5907\u7aef\u63a8\u7406\u5f15\u5165\u4e86\u65b0\u7684\u53ef\u89c2\u6d4b\u6027\u7ef4\u5ea6\u3002\u4e91\u7aef\u63a8\u7406\u5173\u6ce8\u7684\u662f API \u5ef6\u8fdf\u3001Token \u6d88\u8017\u548c\u9519\u8bef\u7387\u3002\u8bbe\u5907\u7aef\u63a8\u7406\u9700\u8981\u5173\u6ce8\u7684\u662f\uff1a\u6a21\u578b\u52a0\u8f7d\u65f6\u95f4\uff08\u7b2c\u4e00\u6b21\u4f7f\u7528\u65f6\u7684\u51b7\u542f\u52a8\u5ef6\u8fdf\uff09\u3001\u63a8\u7406\u5ef6\u8fdf\u5728\u4e0d\u540c\u8bbe\u5907\u578b\u53f7\u4e0a\u7684\u5206\u5e03\u3001\u538b\u7f29\u7cbe\u5ea6\u9000\u5316\u662f\u5426\u5f71\u54cd\u7528\u6237\u4f53\u9a8c\uff0c\u4ee5\u53ca\u6a21\u578b\u66f4\u65b0\u7684\u8986\u76d6\u7387\u548c\u56de\u6eda\u7387\u3002<\/p>\n<p>Apple Core AI \u662f\u7b2c\u4e00\u4e2a\u4ee5\u5e73\u53f0\u7ea7\u59ff\u6001\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u7684 Framework\u3002\u5b83\u4e0d\u662f\u9488\u5bf9\u67d0\u4e2a\u5177\u4f53 AI \u5e94\u7528\u7684\u4f18\u5316\uff0c\u800c\u662f\u4e3a\u6574\u4e2a Apple \u751f\u6001\u4e2d\u7684 AI \u5e94\u7528\u8bbe\u8ba1\u4e86\u4e00\u5957\u53ef\u590d\u7528\u7684\u90e8\u7f72\u57fa\u7840\u8bbe\u65bd\u3002\u5bf9\u4e8e AI \u5e94\u7528\u5f00\u53d1\u56e2\u961f\u6765\u8bf4\uff0c\u6700\u6709\u4ef7\u503c\u7684\u4e0d\u662f Framework \u672c\u8eab\uff0c\u800c\u662f\u5b83\u80cc\u540e\u90a3\u5957\u5de5\u7a0b\u601d\u7ef4\u2014\u2014\u628a\u6a21\u578b\u90e8\u7f72\u5f53\u4f5c\u4e00\u6761\u5b8c\u6574\u7684\u7ba1\u7ebf\u6765\u8bbe\u8ba1\uff0c\u800c\u4e0d\u662f\u4e00\u4e2a\u5355\u72ec\u7684\u6280\u672f\u51b3\u7b56\u3002<\/p>\n<p>\u5f53 AI \u5e94\u7528\u8d70\u51fa\u539f\u578b\u9636\u6bb5\u8fdb\u5165\u89c4\u6a21\u5316\u90e8\u7f72\u65f6\uff0c\u300c\u63a8\u7406\u5728\u54ea\u91cc\u6267\u884c\u300d\u4f1a\u53d8\u6210\u4e00\u4e2a\u548c\u300c\u7528\u54ea\u4e2a\u6a21\u578b\u300d\u540c\u7b49\u91cd\u8981\u7684\u67b6\u6784\u51b3\u7b56\u3002Core AI \u7ed9\u51fa\u7684\u4fe1\u53f7\u662f\uff1a\u8bbe\u5907\u7aef\u4e0d\u518d\u662f\u5907\u9009\u65b9\u6848\uff0c\u800c\u662f\u5e94\u8be5\u4ece\u4e00\u5f00\u59cb\u5c31\u7eb3\u5165\u90e8\u7f72\u67b6\u6784\u7684\u9009\u62e9\u96c6\u3002<\/p>\n<p>\u6587\u7ae0\u6765\u81ea\uff1a51CTO<\/p>\n<\/div>\n<\/div>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_29479\" class=\"pvc_stats total_only  \" data-element-id=\"29479\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f60\u53ea\u5173\u5fc3\u5728 iOS\/macOS \u4e0a\u8dd1\u6a21\u578b\uff0c\u8fd9\u4e2a Framework \u662f SDK \u66f4\u65b0\u3002\u5982\u679c\u4f60\u5173\u5fc3\u7684\u662f AI [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_29479\" class=\"pvc_stats total_only  \" data-element-id=\"29479\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":56,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,23,20,80],"tags":[2213],"class_list":["post-29479","post","type-post","status-publish","format-standard","hentry","category-ai","category-23","category-20","category-80","tag-apple-core-ai-framework--ai-"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/29479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=29479"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/29479\/revisions"}],"predecessor-version":[{"id":29480,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/29479\/revisions\/29480"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=29479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=29479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=29479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}