{"id":17945,"date":"2026-06-26T12:03:39","date_gmt":"2026-06-26T12:03:39","guid":{"rendered":"https:\/\/tenjin.com\/?p=17945"},"modified":"2026-06-26T12:03:41","modified_gmt":"2026-06-26T12:03:41","slug":"how-to-use-ai-assistants-for-tenjin-sdk-integration","status":"publish","type":"post","link":"https:\/\/tenjin.com\/zh\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528 AI \u52a9\u624b\u8fdb\u884c Tenjin SDK \u96c6\u6210\uff1a\u5f00\u53d1\u8005\u6307\u5357"},"content":{"rendered":"<p class=\"wp-block-paragraph\">\u4f5c\u4e3a\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u8005\uff0c\u6211\u4eec\u5df2\u7ecf\u4e60\u60ef\u4e86\u4f9d\u8d56\u4eba\u5de5\u667a\u80fd\u52a9\u624b\u3002\u53ea\u9700\u6253\u5f00 Claude\u3001ChatGPT \u6216 GitHub Copilot\uff0c\u63cf\u8ff0\u4f60\u60f3\u5f00\u53d1\u7684\u5185\u5bb9\uff0c\u51e0\u79d2\u949f\u5185\u5c31\u80fd\u5f97\u5230\u53ef\u8fd0\u884c\u7684\u4ee3\u7801\u3002\u4f46\u8fd9\u79cd\u4fbf\u5229\u80cc\u540e\u9690\u85cf\u7740\u4ee3\u4ef7\uff1a <strong>\u5e7b\u89c9<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u95ee\u9898\u5728\u4e8e\uff0c\u5f53\u4f60\u8ba9\u4e00\u4e2a\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u53bb\u2026\u2026 <a href=\"https:\/\/tenjin.com\/zh\/docs\/category\/add-the-tenjin-sdk\/\" type=\"link\" id=\"https:\/\/tenjin.com\/docs\/category\/add-the-tenjin-sdk\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u96c6\u6210\u79fb\u52a8\u7aef SDK<\/a>, \uff0c\u8fd9\u610f\u5473\u7740\u4f60\u8981\u6c42\u5b83\u4f9d\u8d56\u53ef\u80fd\u5df2\u6709\u6570\u6708\u751a\u81f3\u6570\u5e74\u4e4b\u4e45\u7684\u8bad\u7ec3\u6570\u636e\u3002\u8be5 <a href=\"https:\/\/tenjin.com\/zh\/glossary\/software-development-kit-sdk\/\" type=\"link\" id=\"https:\/\/tenjin.com\/glossary\/software-development-kit-sdk\/\" target=\"_blank\" rel=\"noreferrer noopener\">SDK<\/a> \u60a8\u6240\u9488\u5bf9\u7684\u76ee\u6807\u81ea\u6a21\u578b\u77e5\u8bc6\u622a\u6b62\u70b9\u4ee5\u6765\u53ef\u80fd\u5df2\u53d1\u751f\u663e\u8457\u53d8\u5316\u3002API \u5df2\u53d1\u751f\u53d8\u66f4\uff0c\u67d0\u4e9b\u65b9\u6cd5\u5df2\u88ab\u5e9f\u5f03\uff0c\u65b0\u7684\u6a21\u5f0f\u4e5f\u5df2\u51fa\u73b0\u3002\u7136\u800c\uff0cAI \u5e76\u4e0d\u77e5\u9053\u8fd9\u4e9b\u3002\u5b83\u81ea\u4fe1\u5730\u5411\u60a8\u63d0\u4f9b\u4e86\u4e00\u6bb5\u4ee3\u7801\uff0c\u8be5\u4ee3\u7801<em> \u5916\u89c2 <\/em>\u867d\u7136\u5408\u7406\uff0c\u4f46\u4e0e\u5f53\u524d\u7684 SDK \u7248\u672c\u5728\u6839\u672c\u4e0a\u4e0d\u517c\u5bb9\u3002.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u5c31\u662f\u6211\u4eec\u6b63\u5728\u5168\u529b\u5e94\u5bf9\u7684\u6838\u5fc3\u6311\u6218\u3002\u901a\u8fc7\u4eba\u5de5\u667a\u80fd\u52a9\u624b\u96c6\u6210 Tenjin \u6216\u4efb\u4f55\u5176\u4ed6\u5feb\u901f\u6f14\u8fdb\u7684 SDK\uff0c\u4e0d\u5e94\u8be5\u610f\u5473\u7740\u8981\u8c03\u8bd5\u4e00\u4e2a\u201c\u5e7b\u5f71\u65b9\u6cd5\u201d\u6216\u8ffd\u67e5\u5df2\u88ab\u5e9f\u5f03\u7684\u8c03\u7528\u3002\u6b63\u56e0\u5982\u6b64\uff0c\u6211\u4eec\u6253\u9020\u4e86\u4e00\u79cd\u66f4\u4f18\u7684\u89e3\u51b3\u65b9\u6848\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u73b0\u5b9e\u60c5\u51b5\u662f\uff1a\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u4e0e\u8f6f\u4ef6\u5f00\u53d1\u5de5\u5177\u5305\uff08SDK\uff09\u96be\u4ee5\u517c\u5bb9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8ba9\u6211\u4eec\u901a\u8fc7\u4e00\u4e2a\u5177\u4f53\u7684\u60c5\u666f\u6765\u52a0\u4ee5\u8bf4\u660e\u3002.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u60a8\u6b63\u5728\u542f\u52a8\u4e00\u4e2a\u65b0\u7684 React Native \u9879\u76ee\uff0c\u5e76\u5e0c\u671b\u96c6\u6210 Tenjin \u7528\u4e8e\u5206\u6790\uff0c\u4ee5\u53ca <a href=\"https:\/\/tenjin.com\/zh\/glossary\/attribution\/\" type=\"link\" id=\"https:\/\/tenjin.com\/glossary\/attribution\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5f52\u56e0<\/a>. \u4f60\u6253\u5f00 Claude\uff0c\u63d0\u51fa\u4e00\u4e2a\u76f4\u622a\u4e86\u5f53\u7684\u95ee\u9898\uff1a\u201c\u5c06 Tenjin SDK \u6dfb\u52a0\u5230\u6211\u7684 React Native \u9879\u76ee\u4e2d\u3002\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b83\u57fa\u4e8e\u5176\u8bad\u7ec3\u6570\u636e\uff08\u5176\u4e2d\u53ef\u80fd\u5305\u542b2024\u5e74\u521d\u53d1\u5e03\u7684Tenjin SDK 1.4.0\u7248\u672c\uff09\uff0c\u751f\u6210\u4e86\u7c7b\u4f3c\u4ee5\u4e0b\u7684\u5185\u5bb9\uff1a&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:1.125rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\" data-no-translation=\"\" data-no-auto-translation=\"\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#FFFFFF;font-style:italic;color:#000000\"><span style=\"border-bottom:1px solid rgba(0, 0, 0, 0.2)\">JavaScript<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\" data-no-translation=\"\" data-no-auto-translation=\"\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>import { NativeModules } from 'react-native';\nconst Tenjin = NativeModules.Tenjin;\nTenjin.initialize('YOUR_API_KEY');\nTenjin.connect();<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\" data-no-translation=\"\" data-no-auto-translation=\"\"><code data-no-translation=\"\" data-no-auto-translation=\"\"><span class=\"line\"><span style=\"color: #AF00DB\">import<\/span><span style=\"color: #000000\"> { <\/span><span style=\"color: #001080\">NativeModules<\/span><span style=\"color: #000000\"> } <\/span><span style=\"color: #AF00DB\">from<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&#39;react-native&#39;<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">const<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0070C1\">Tenjin<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">NativeModules<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">Tenjin<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">Tenjin<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">initialize<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&#39;YOUR_API_KEY&#39;<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">Tenjin<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">connect<\/span><span style=\"color: #000000\">();<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u770b\u8d77\u6765\u5408\u60c5\u5408\u7406\uff0c\u4f46\u6709\u4e2a\u95ee\u9898\u3002React Native Tenjin SDK \u7684\u5f53\u524d\u7248\u672c\uff08\u5047\u8bbe\u662f 1.8.0\uff09\u5f15\u5165\u4e86\u7834\u574f\u6027\u53d8\u66f4\u3002\u73b0\u5728\uff0cinitialize \u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u5305\u542b\u7279\u5b9a\u914d\u7f6e\u53c2\u6570\u7684\u5bf9\u8c61\uff0c\u56e0\u6b64\u57fa\u4e8e\u5b57\u7b26\u4e32\u7684\u7b80\u5355\u65b9\u6cd5\u4e0d\u518d\u6709\u6548\u3002 \u4f60\u7684\u4ee3\u7801\u867d\u7136\u80fd\u6b63\u5e38\u7f16\u8bd1\uff0c\u4f46\u5728\u8fd0\u884c\u65f6\uff0c\u521d\u59cb\u5316\u4f1a\u65e0\u58f0\u5730\u5931\u8d25\u3002\u4f60\u53ef\u80fd\u4f1a\u82b1\u4e0a\u597d\u51e0\u4e2a\u5c0f\u65f6\u8fdb\u884c\u8c03\u8bd5\uff0c\u5374\u59cb\u7ec8\u6ca1\u610f\u8bc6\u5230 SDK \u5b9e\u9645\u4e0a\u4ece\u672a\u5b8c\u6210\u521d\u59cb\u5316\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Android \u4e2d\u4e5f\u5b58\u5728\u540c\u6837\u7684\u9677\u9631\u3002\u5982\u679c\u8ba9\u4e00\u4e2a\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u521d\u59cb\u5316 Tenjin\uff0c\u5b83\u53ef\u80fd\u4f1a\u5efa\u8bae\u4f7f\u7528\u5df2\u5f03\u7528\u7684 <code data-no-translation=\"\" data-no-auto-translation=\"\">tenjinSDK.init()method.<\/code> \u8fd9\u5c31\u662f\u5728 1.17.0 \u7248\u672c\u4e2d\u88ab\u6784\u5efa\u5668\u6a21\u5f0f\u53d6\u4ee3\u7684\u90a3\u4e00\u4e2a\u3002\u4ee3\u7801\u770b\u8d77\u6765\u6ca1\u6709\u95ee\u9898\uff0c\u4e5f\u80fd\u6210\u529f\u7f16\u8bd1\uff0c\u4f46\u5728\u6d4b\u8bd5\u65f6\u5374\u6ca1\u6709\u4efb\u4f55\u5185\u5bb9\u88ab\u8ffd\u8e2a\uff0c\u56e0\u4e3a\u521d\u59cb\u5316\u8c03\u7528\u5c5e\u4e8e\u6b7b\u4ee3\u7801\u3002.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u5e76\u975e\u4eba\u5de5\u667a\u80fd\u7684\u5931\u8d25\uff0c\u800c\u662f\u4e00\u79cd\u7ed3\u6784\u6027\u9650\u5236\u3002 \u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u65e0\u6cd5\u5b9e\u65f6\u638c\u63e1Tenjin\u5f53\u524dAPI\u63a5\u53e3\u7684\u6700\u65b0\u52a8\u6001\u3002\u5b83\u65e0\u6cd5\u4e86\u89e3\u672c\u6708\u7684\u53d1\u5e03\u8bf4\u660e\uff0c\u66f4\u4e0d\u7528\u8bf4\u672a\u6765\u7684\u53d8\u66f4\u4e86\u3002\u8be5\u6a21\u578b\u7684\u8868\u73b0\u5b8c\u5168\u7b26\u5408\u5176\u8bad\u7ec3\u65b9\u5f0f\uff1a\u901a\u8fc7\u4e0e\u8bad\u7ec3\u8bed\u6599\u5e93\u8fdb\u884c\u6a21\u5f0f\u5339\u914d\uff0c\u751f\u6210\u8868\u9762\u4e0a\u4e0e\u6b63\u786e\u4ee3\u7801\u76f8\u4f3c\u7684\u4ee3\u7801\u3002.<br><br>\u60a8\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u4eba\u5de5\u667a\u80fd\u52a9\u624b\u96c6\u6210 SDK \u6765\u5f25\u5408\u8fd9\u4e00\u5dee\u8ddd\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u89e3\u51b3\u65b9\u6848\uff1a\u7ed3\u6784\u5316\u4eba\u5de5\u667a\u80fd\u52a9\u624b\u6307\u5357<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tenjin \u9884\u89c1\u5230\u8fd9\u4e00\u95ee\u9898\uff0c\u5e76\u5f00\u59cb\u53d1\u5e03\u9488\u5bf9\u6211\u4eec SDK \u7684 AI \u52a9\u624b\u6307\u5357\uff0c\u5373\u201cLLM SDK \u6307\u5357\u201d\u3002.\u00a0\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4ec0\u4e48\u662fAI\u52a9\u624b\u6307\u5357\uff1f <\/strong><br>AI \u52a9\u624b\u6307\u5357\u662f\u4e3a\u8bed\u8a00\u6a21\u578b\u7f16\u5199\u7684\u6587\u6863\uff08\u901a\u5e38\u79f0\u4e3a\u201c\u6280\u80fd\u201d\uff09\uff0c\u5b83\u4e3a AI \u52a9\u624b\u63d0\u4f9b\u4e86\u4e00\u4e2a\u673a\u5668\u53ef\u8bfb\u7684\u6743\u5a01\u4fe1\u606f\u6765\u6e90\u3002\u5176\u4e2d\u53ef\u80fd\u5305\u542b API \u7b7e\u540d\u3001\u96c6\u6210\u89c4\u5219\u4ee5\u53ca\u5df2\u77e5\u7684\u9677\u9631\u3002.\u00a0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e9b\u5e76\u975e\u4e3a\u4eba\u7c7b\u8bbe\u8ba1\u7684\uff0c\u800c\u662f\u4e13\u4e3a\u8bed\u8a00\u6a21\u578b\u5904\u7406\u800c\u6784\u5efa\u7684\u6307\u4ee4\u3002\u5b83\u4eec\u5305\u542b\u5927\u91cf\u660e\u786e\u7684\u89c4\u5219\uff0c\u6700\u65b0\u7684 <a href=\"https:\/\/tenjin.com\/zh\/glossary\/api\/\" type=\"link\" id=\"https:\/\/tenjin.com\/glossary\/api\/\" target=\"_blank\" rel=\"noreferrer noopener\">API \u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/a> \u7b7e\u540d\u4ee5\u53ca\u5e94\u907f\u514d\u7684\u53cd\u6a21\u5f0f\u3002\u6700\u91cd\u8981\u7684\u662f\uff0c\u5b83\u4eec\u4e0e SDK \u672c\u8eab\u91c7\u7528\u7248\u672c\u540c\u6b65\u673a\u5236\uff0c\u56e0\u6b64\u59cb\u7ec8\u53cd\u6620\u6700\u65b0\u7248\u672c\u3002\u4e0d\u4f1a\u51fa\u73b0\u504f\u5dee\uff0c\u4e5f\u4e0d\u9700\u8981\u9760\u731c\u6d4b\u3002.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bcf\u4e2a <strong>Tenjin LLM SDK \u6307\u5357<\/strong> \u5305\u62ec\uff1a&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>\u5185\u5bb9\u7b80\u4ecb<\/strong><\/td><td><strong>\u4ef7\u503c\u6240\u5728<\/strong><\/td><\/tr><tr><td><strong>\u5f53\u524d\u7684 API \u7b7e\u540d<\/strong><\/td><td>\u4e0e\u6700\u65b0 SDK \u4e2d\u663e\u793a\u7684\u5b8c\u5168\u4e00\u81f4\uff0c\u6ca1\u6709\u5df2\u5f03\u7528\u7684\u8c03\u7528<\/td><\/tr><tr><td><strong>\u5206\u6b65\u521d\u59cb\u5316<\/strong><\/td><td>\u9488\u5bf9\u60a8\u7684\u7279\u5b9a\u5e73\u53f0\u8fdb\u884c\u4e86\u4f18\u5316<\/td><\/tr><tr><td><strong>\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u7684\u5e38\u89c1\u9519\u8bef<\/strong><\/td><td>\u4e00\u4e2a\u4e13\u95e8\u7684\u7ae0\u8282\uff0c\u7528\u4e8e\u6307\u51fa\u6a21\u578b\u5bb9\u6613\u51fa\u73b0\u7684\u9519\u8bef<\/td><\/tr><tr><td><strong>\u5929\u795e\u7279\u6709\u7684\u56fe\u6848<\/strong><\/td><td>\u5929\u795e\u4e13\u5c5e\u7684\u914d\u7f6e\u6307\u5357<\/td><\/tr><tr><td><strong>\u6d4b\u8bd5\u68c0\u67e5\u8868<\/strong><\/td><td>\u4e00\u79cd\u660e\u786e\u7684\u65b9\u6cd5\uff0c\u7528\u4e8e\u9a8c\u8bc1\u60a8\u7684\u96c6\u6210\u662f\u5426\u786e\u5b9e\u6709\u6548<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u4f60\u5c06\u8fd9\u4e9b\u6307\u5357\u4e2d\u7684\u4efb\u610f\u4e00\u7bc7\u8f93\u5165\u5230\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u4e2d\u65f6 <em>\u4e4b\u524d<\/em> \u5f53\u6a21\u578b\u5bfb\u6c42\u5e2e\u52a9\u65f6\uff0c\u5176\u4e0a\u4e0b\u6587\u4f1a\u53d1\u751f\u8f6c\u53d8\u3002\u5b83\u4e0d\u518d\u4f9d\u8d56\u8fc7\u65f6\u7684\u8bad\u7ec3\u6570\u636e\uff0c\u800c\u662f\u6709\u4e86\u53ef\u4ee5\u501f\u9274\u7684\u6743\u5a01\u8d44\u6599\u6765\u6e90\u3002.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u867d\u7136\u5e7b\u89c9\u5e76\u672a\u5b8c\u5168\u6d88\u5931\uff0c\u4f46\u51fa\u73b0\u7684\u53ef\u80fd\u6027\u5df2\u5927\u5e45\u964d\u4f4e\u3002\u8be5\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u4e0d\u518d\u9700\u8981\u5728\u76f8\u4e92\u77db\u76fe\u7684\u8bad\u7ec3\u6837\u672c\u4e4b\u95f4\u8fdb\u884c\u63d2\u503c\uff1b\u5b83\u5df2\u7ecf\u62e5\u6709\u4e86\u4e00\u4e2a\u201c\u771f\u5b9e\u6765\u6e90\u201d\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6b63\u662f\u201c\u770b\u8d77\u6765\u6b63\u786e\u201d\u7684\u4ee3\u7801\u4e0e\u201c\u771f\u6b63\u6b63\u786e\u201d\u7684\u4ee3\u7801\u4e4b\u95f4\u7684\u533a\u522b\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5982\u4f55\u4f7f\u7528 AI \u52a9\u624b\uff1aTenjin \u7684 LLM SDK \u6307\u5357<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b9e\u9645\u7684\u5de5\u4f5c\u6d41\u7a0b\uff0c\u8be5\u6d41\u7a0b\u5c06 Tenjin \u7684 LLM \u6307\u5357\u878d\u5165\u4e86 SDK \u96c6\u6210\u8fc7\u7a0b\u3002.<br><br>\u4f60\u521a\u521a\u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7684 React Native \u9879\u76ee\uff0c\u5e76\u5e0c\u671b\u6dfb\u52a0 Tenjin \u5206\u6790\u529f\u80fd\u3002\u867d\u7136\u901a\u5e38\u7684\u505a\u6cd5\u53ef\u80fd\u662f\u5feb\u901f\u6d4f\u89c8\u4e00\u4e0b README \u6587\u4ef6\uff0c\u6216\u8005\u76f4\u63a5\u8be2\u95ee\u4f60\u7684 AI \u52a9\u624b\uff0c\u4f46\u4f60\u5e0c\u671b\u91c7\u53d6\u66f4\u5468\u5168\u7684\u505a\u6cd5\u3002.\u00a0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u6b65\u9aa4 1\uff1a\u51c6\u5907 LLM SDK \u6307\u5357\u00a0<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u6253\u5f00 Claude\uff08\u6216\u7c7b\u4f3c\u5de5\u5177\uff09\u4e4b\u524d\uff0c\u8bf7\u5148\u4ece Tenjin \u7684\u4ee3\u7801\u5e93\u4e2d\u83b7\u53d6\u5e73\u53f0\u68c0\u6d4b\u6307\u5357\u3002\u8fd9\u662f\u4e3a\u52a9\u624b\u63d0\u4f9b\u64cd\u4f5c\u8bf4\u660e\u7684\u5165\u95e8\u6307\u5357\u3002.\u00a0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u6b65\u9aa4 2\uff1a\u5411\u514b\u52b3\u5fb7\u6216\u5176\u4ed6 AI \u52a9\u624b\u63d0\u4f9b\u9879\u76ee\u80cc\u666f\u4fe1\u606f\u00a0<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u6253\u5f00 Claude\uff0c\u7c98\u8d34\u60a8\u7684\u9879\u76ee\u7ed3\u6784\u548c\u4f9d\u8d56\u9879\u3002\u6839\u636e\u8be5\u6307\u5357\uff0cClaude \u4f1a\u6839\u636e\u60a8\u7684\u914d\u7f6e\uff0c\u8bc6\u522b\u51fa\u5e94\u4f7f\u7528\u7684\u6b63\u786e\u7684\u5e73\u53f0\u4e13\u7528\u6307\u5357\u3002.\u00a0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u6b65\u9aa4 3\uff1a\u63d0\u4f9b\u9488\u5bf9\u7279\u5b9a\u5e73\u53f0\u7684\u6307\u5bfc<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u6b64\u9636\u6bb5\uff0cClaude \u4f1a\u8bf7\u6c42\u60a8\u63d0\u4f9b\u9488\u5bf9\u7279\u5b9a\u5e73\u53f0\u7684\u6307\u5357\uff0c\u6216\u8005\u60a8\u53ef\u4e3b\u52a8\u63d0\u4f9b\u8be5\u6307\u5357\u3002Claude \u4f1a\u9605\u8bfb\u8be5\u6307\u5357\uff0c\u5e76\u638c\u63e1\u60a8\u6240\u7528\u5e73\u53f0\u5f53\u524d\u786e\u5207\u7684\u65b9\u6cd5\u7b7e\u540d\u548c\u521d\u59cb\u5316\u4ee3\u7801\u3002.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u7b2c 4 \u6b65\uff1a\u8ba9 Claude \u751f\u6210\u96c6\u6210\u6240\u9700\u7684\u4ee3\u7801<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5 LLM SDK \u6307\u5357\u4e3a\u53c2\u8003\uff0cClaude \u4f1a\u4e3a\u60a8\u751f\u6210\u96c6\u6210\u4ee3\u7801\u3002\u5b83\u4e0d\u4f1a\u865a\u6784\u65e7\u7248 API\u3002\u6709\u4e86\u6307\u5357\uff0c\u5b83\u5c31\u4e0d\u4f1a\u7f16\u9020\u51fa\u5e76\u4e0d\u5b58\u5728\u7684\u65b9\u6cd5\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Claude \u53ca\u5176\u4ed6 AI \u52a9\u624b\u73b0\u5728\u53ef\u4ee5\uff1a\u00a0<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8bf7\u89e3\u91ca\u4e3a\u4ec0\u4e48\u8fd9\u662f\u6b63\u786e\u7684\u505a\u6cd5\u00a0<\/li>\n\n\n\n<li>\u8bf7\u53c2\u8003\u6307\u5357\uff0c\u8bf4\u660e\u6bcf\u4e2a\u6b65\u9aa4\u7684\u4f9d\u636e\u00a0<\/li>\n\n\n\n<li>\u63d0\u9192\u4f60\u6ce8\u610f\u5e38\u89c1\u7684\u9519\u8bef<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7ec8\u751f\u6210\u7684\u96c6\u6210\u4ee3\u7801\u503c\u5f97\u60a8\u4fe1\u8d56\u3002\u5b83\u57fa\u4e8e\u6700\u65b0\u7684 SDK \u548c\u9002\u7528\u8303\u56f4\uff0c\u800c\u975e\u51ed\u7a7a\u731c\u6d4b\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u7ed3\u5408\u4f9d\u8d56\u6ce8\u5165\u4f7f\u7528 SDK \u96c6\u6210\u6307\u5357<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5173\u4e8e Android \u7684\u5177\u4f53\u793a\u4f8b\uff0c\u8bf4\u660e\u5982\u4f55\u5c06 Tenjin \u4e0e\u60a8\u73b0\u6709\u7684\u67b6\u6784\u96c6\u6210\uff1a&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5047\u8bbe\u4f60\u6b63\u5728\u4f7f\u7528 Kotlin \u548c Dagger2\uff08\u7528\u4e8e\u4f9d\u8d56\u6ce8\u5165\uff09\u5f00\u53d1\u4e00\u4e2a Android \u5e94\u7528\uff0c\u5e76\u4e14\u5e0c\u671b\u5728\u5e94\u7528\u542f\u52a8\u65f6\u521d\u59cb\u5316 Tenjin\u3002 \u501f\u52a9 LLM SDK \u96c6\u6210\u6307\u5357\uff0cClaude \u53ef\u4ee5\u63d0\u4f9b\u6700\u65b0\u4fe1\u606f\uff0c\u5e76\u544a\u8bc9\u4f60\u9700\u8981\u6dfb\u52a0\u54ea\u4e2a Gradle \u4f9d\u8d56\u9879\u3002\u5b83\u751a\u81f3\u4f1a\u5411\u4f60\u5c55\u793a\u5e94\u9075\u5faa\u7684\u786e\u5207\u521d\u59cb\u5316\u987a\u5e8f\u3002.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u300aSDK \u6307\u5357\u300b\uff1a\u5982\u4f55\u53d1\u73b0\u9690\u853d\u7684\u9519\u8bef<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528 AI \u52a9\u624b\u6307\u5357\u7684\u4e00\u4e2a\u9690\u6027\u597d\u5904\u662f\u80fd\u591f\u53d1\u73b0\u7ec6\u5fae\u7684\u96c6\u6210\u9519\u8bef\u3002n \u5728\u4e8b\u4ef6\u8ddf\u8e2a\u65b9\u9762\uff0c\u4f20\u9012\u4e00\u4e2a <code data-no-translation=\"\" data-no-auto-translation=\"\">String<\/code> \u4ee5\u53ca\u4e00\u4e2a <code data-no-translation=\"\" data-no-auto-translation=\"\">Int<\/code> \u8fd9\u662f\u4e00\u4e2a\u867d\u5c0f\u4f46\u81f3\u5173\u91cd\u8981\u7684\u9519\u8bef\u3002\u5f53\u4f60\u5f15\u7528 AI \u52a9\u624b\u6307\u5357\u65f6\uff0cClaude \u4f1a\u51c6\u786e\u77e5\u9053\u54ea\u79cd\u65b9\u6cd5\u7b7e\u540d\u662f\u6b63\u786e\u7684\uff0c\u5e76\u751f\u6210\u80fd\u591f\u51c6\u786e\u8fd0\u884c\u7684\u4ee3\u7801\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e3a AI \u52a9\u624b\u6307\u5357\u6dfb\u52a0\u60a8\u81ea\u5df1\u7684\u80cc\u666f\u4fe1\u606f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">AI \u52a9\u624b\u6307\u5357\u529f\u80fd\u5f3a\u5927\uff0c\u4f46\u8bbe\u8ba1\u4e0a\u8f83\u4e3a\u901a\u7528\uff0c\u56e0\u4e3a\u5b83\u4eec\u65e8\u5728\u9002\u7528\u4e8e\u4efb\u4f55\u9879\u76ee\u3002\u7531\u4e8e\u6bcf\u4e2a\u9879\u76ee\u90fd\u6709\u5176\u7279\u5b9a\u7684\u89c4\u683c\u3001\u80cc\u666f\u548c\u8303\u56f4\uff0c\u56e0\u6b64\u60a8\u53ef\u80fd\u9700\u8981\u6839\u636e\u5177\u4f53\u60c5\u51b5\u5bf9\u5176\u8fdb\u884c\u5b9a\u5236\u3002.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u600e\u4e48\u505a\uff1f\u53ea\u9700\u5411\u514b\u52b3\u5fb7\u54a8\u8be2\u5982\u4f55\u5c06 Tenjin \u4e0e\u60a8\u5f53\u524d\u7684\u67b6\u6784\u548c\u670d\u52a1\u96c6\u6210\uff0c\u6216\u8005\u5982\u4f55\u6839\u636e\u60a8\u7684\u5177\u4f53\u9700\u6c42\u4f18\u5316\u521d\u59cb\u5316\u8fc7\u7a0b\u3002\u60a8\u5c06\u4e24\u5168\u5176\u7f8e\uff1a\u65e2\u62e5\u6709\u6743\u5a01\u7684\u6570\u636e\u6e90\uff0c\u53c8\u80fd\u6839\u636e\u60a8\u7684\u4ee3\u7801\u5e93\u8fdb\u884c\u5b9a\u5236\u3002.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SDK \u8c03\u8bd5\u6307\u5357\u4f7f\u7528\u8bf4\u660e<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SDK \u96c6\u6210\u6307\u5357\u4e0d\u4ec5\u9002\u7528\u4e8e\u6784\u5efa\u8fc7\u7a0b\uff0c\u5f53\u96c6\u6210\u51fa\u73b0\u95ee\u9898\u65f6\uff0c\u5b83\u540c\u6837\u5177\u6709\u4e0d\u53ef\u4f30\u91cf\u7684\u4ef7\u503c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0e\u5176\u51ed\u7a7a\u731c\u6d4b\uff0c\u4e0d\u5982\u8ba9\u514b\u52b3\u5fb7\u53c2\u8003\u6307\u5357\u4e2d\u7684\u6d4b\u8bd5\u6e05\u5355\u548c\u9a8c\u8bc1\u90e8\u5206\u3002\u6709\u4e86\u8fd9\u4efd\u624b\u518c\u4f5c\u4e3a\u53c2\u8003\uff0c\u514b\u52b3\u5fb7\u53ef\u4ee5\u6307\u51fa\u5e38\u89c1\u7684\u8bbe\u7f6e\u9519\u8bef\uff0c\u5e76\u6709\u6761\u4e0d\u7d0a\u5730\u5f15\u5bfc\u4f60\u5b8c\u6210\u9a8c\u8bc1\u6b65\u9aa4\uff0c\u76f4\u5230\u4f60\u51c6\u786e\u627e\u51fa\u95ee\u9898\u6240\u5728\u3002.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5411\u652f\u6301\u4eba\u5de5\u667a\u80fd\u7684SDK\u8f6c\u578b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tenjin \u5e76\u4e0d\u662f\u552f\u4e00\u4e00\u5bb6\u5728 AI \u65f6\u4ee3\u91cd\u65b0\u601d\u8003\u6587\u6863\u7f16\u5199\u7684\u516c\u53f8\u3002RevenueCat \u53d1\u5e03\u4e86\u4ee5 AI \u4e3a\u91cd\u70b9\u7684\u6307\u5357\uff0c\u4ee5\u786e\u4fdd\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLMs\uff09\u80fd\u6b63\u786e\u4f7f\u7528\u5176\u8ba2\u9605 SDK\u3002 OneSignal \u7ef4\u62a4\u7740 SDK \u4eba\u5de5\u667a\u80fd\u63d0\u793a\u8bcd\uff0c\u4ee5\u9632\u6b62\u6a21\u578b\u5bf9\u63a8\u9001\u901a\u77e5 API \u4ea7\u751f\u201c\u5e7b\u89c9\u201d\u3002\u8be5\u9886\u57df\u4e2d\u6700\u806a\u660e\u7684\u56e2\u961f\u90fd\u5df2\u6ce8\u610f\u5230\uff0c\u5982\u4eca\u7684\u6587\u6863\u6709\u4e24\u4e2a\u53d7\u4f17\uff1a\u5176\u4e2d\u4e00\u4e2a\u5e76\u975e\u4eba\u7c7b\u3002.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u5f7b\u5e95\u6539\u53d8\u4e86\u4e00\u5207\u3002\u591a\u5e74\u6765\uff0c\u201c\u4f18\u8d28\u7684\u6587\u6863\u201d\u4e00\u76f4\u6307\u7684\u662f\u4eba\u7c7b\u80fd\u591f\u7406\u89e3\u7684\u6587\u6863\u3002\u5982\u4eca\uff0c\u4e00\u4e2a\u7ef4\u62a4\u826f\u597d\u7684\u5e93\u5fc5\u987b\u7cbe\u901a Markdown \u8bed\u6cd5\uff0c\u4ee5\u4fbf\u4e0e\u90a3\u4e9b\u7f16\u5199\u4e86\u5e02\u9762\u4e0a\u534a\u6570\u96c6\u6210\u4ee3\u7801\u7684 AI \u52a9\u624b\u8fdb\u884c\u6c9f\u901a\u3002\u5c3d\u7ba1 README \u6587\u4ef6\u548c\u6559\u7a0b\u4f9d\u7136\u5b58\u5728\uff0c\u4f46\u5b83\u4eec\u5df2\u4e0d\u518d\u662f\u6545\u4e8b\u4e2d\u7684\u4e3b\u89d2\u3002.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u5e74\u4e4b\u5185\uff0c\u201cAI \u52a9\u624b\u6307\u5357\u201d\u5c06\u6210\u4e3a\u4e00\u9879\u4e3b\u8981\u4ea4\u4ed8\u6210\u679c\uff0c\u5c06\u4e0e\u6bcf\u4e2a SDK\u3001\u6587\u6863\u548c\u4ee3\u7801\u793a\u4f8b\u4e00\u540c\u53d1\u5e03\u3002.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e3b\u8981\u7ed3\u8bba<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3b\u8981\u7ed3\u8bba\u5f88\u7b80\u5355\uff1a <strong>\u5982\u679c\u6ca1\u6709\u6700\u65b0\u7684\u53c2\u8003\u8d44\u6599\uff0c\u5207\u52ff\u8ba9\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u6765\u96c6\u6210SDK\u3002. <\/strong>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6a21\u578b\u7684\u8bad\u7ec3\u6570\u636e\u5df2\u8fc7\u65f6\uff0c\u800c\u4f7f\u7528\u8fc7\u65f6 API \u6240\u5e26\u6765\u7684\u4ee3\u4ef7\u5f80\u5f80\u5e76\u4e0d\u660e\u663e\u3002\u8fd9\u901a\u5e38\u662f\u4e00\u79cd\u7f16\u8bd1\u901a\u8fc7\u3001\u65e0\u58f0\u5d29\u6e83\u3001\u5374\u4f1a\u6d6a\u8d39\u6570\u5c0f\u65f6\u7684\u9519\u8bef\u3002Tenjin \u7684 LLM \u6307\u5357\u5e76\u975e\u53ef\u6709\u53ef\u65e0\u7684\u6587\u6863\uff0c\u800c\u662f\u5df2\u6210\u4e3a\u60a8\u96c6\u6210\u5de5\u4f5c\u6d41\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u8bf7\u4eba\u5de5\u667a\u80fd\u52a9\u624b\u534f\u52a9\u5904\u7406Tenjin\u76f8\u5173\u4e8b\u5b9c\u4e4b\u524d\uff0c\u8bf7\u5148\u505a\u597d\u4ee5\u4e0b\u4e09\u4ef6\u4e8b\uff1a&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. <strong>\u53d6\u6765\u5e76\u5448\u4e0a\u6307\u5357\u3002.<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e00\u7b80\u5355\u6b65\u9aa4\u663e\u8457\u51cf\u5c11\u4e86\u5e7b\u89c9\uff0c\u5e76\u4f7f\u6a21\u578b\u4ece\u76f2\u76ee\u731c\u6d4b\u8f6c\u53d8\u4e3a\u57fa\u4e8e\u6743\u5a01\u6765\u6e90\u8fdb\u884c\u63a8\u7406\u3002.\u00a0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">2. <strong>\u6839\u636e\u60a8\u81ea\u5df1\u7684\u9879\u76ee\u5177\u4f53\u60c5\u51b5\u8fdb\u884c\u8c03\u6574\u3002.<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6307\u5357\u8d1f\u8d23\u5904\u7406 SDK\uff0c\u800c\u60a8\u5219\u9700\u63d0\u4f9b\u67b6\u6784\u7ea6\u675f\u3001\u6027\u80fd\u9700\u6c42\u4ee5\u53ca\u96c6\u6210\u70b9\uff0c\u8fd9\u4e9b\u5185\u5bb9\u5e94\u7b26\u5408\u6574\u4f53\u9879\u76ee\u89c4\u8303\u548c\u8303\u56f4\u3002.\u00a0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">3. <strong>\u6bcf\u6b21\u90fd\u8981\u5bf9\u7167\u6307\u5357\u6838\u5bf9\u8f93\u51fa\u7ed3\u679c\u3002. <\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u5373\u4f7f\u4f60\u4fe1\u4efb\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\uff0c\u53ea\u8981\u5feb\u901f\u6838\u5bf9\u4e00\u4e0b\u53c2\u8003\u8d44\u6599\u548c\u6765\u6e90\uff0c\u4e5f\u80fd\u8282\u7701\u6570\u5c0f\u65f6\u7684\u8c03\u8bd5\u548c\u6545\u969c\u6392\u9664\u65f6\u95f4\u3002.\u00a0<\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\"><\/ol>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\"><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f00\u53d1\u5de5\u5177\u7684\u672a\u6765\u6b63\u53d8\u5f97\u8d8a\u6765\u8d8a\u6e05\u6670\uff1a\u4eba\u7c7b\u5236\u5b9a\u89c4\u5219\uff0c\u673a\u5668\u9075\u5faa\u89c4\u5219\uff0c\u800c\u5f00\u53d1\u8005\u5219\u4ece\u4e2d\u83b7\u76ca\u3002.<br><br>\u5728Tenjin\uff0c\u6211\u4eec\u62a2\u5148\u4e00\u6b65\uff0c\u4ee5\u8eab\u4f5c\u5219\u3002. <a href=\"https:\/\/github.com\/tenjin\/sdk-llm-guides\">\u60a8\u53ef\u4ee5\u5728\u8fd9\u91cc\u627e\u5230\u4e00\u4e2a\u6280\u80fd\u6587\u4ef6<\/a> \u60a8\u53ef\u4ee5\u5c06\u5176\u4e0e\u60a8\u7684 AI \u52a9\u624b\u914d\u5408\u4f7f\u7528\uff0c\u4ee5\u96c6\u6210\u6211\u4eec\u7684 SDK\u3002. <\/p>\n\n\n\n<div style=\"height:35px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6587\u4f5c\u8005\u662f Tenjin \u7684\u9ad8\u7ea7 SDK \u5de5\u7a0b\u5e08\u6069\u91cc\u514b\u00b7\u6d1b\u4f69\u65af-\u9a6c\u5c3c\u4e9a\u65af\u3002. <br><br> <\/p>","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u4e3a\u79fb\u52a8\u5f00\u53d1\u8005\uff0c\u6211\u4eec\u5df2\u7ecf\u4e60\u60ef\u4e86\u4f9d\u8d56\u4eba\u5de5\u667a\u80fd\u52a9\u624b\u3002\u53ea\u9700\u6253\u5f00 Claude\u3001ChatGPT \u6216 GitHub Copilot\uff0c\u63cf\u8ff0\u4f60\u60f3\u6784\u5efa\u7684\u5185\u5bb9\uff0c\u51e0\u79d2\u949f\u5185\u5c31\u80fd\u5f97\u5230\u53ef\u8fd0\u884c\u7684\u4ee3\u7801\u3002\u4f46\u8fd9\u79cd\u4fbf\u5229\u80cc\u540e\u9690\u85cf\u7740\u4ee3\u4ef7\uff1a\u5e7b\u89c9\u3002 \u95ee\u9898\u5728\u4e8e\uff1a\u5f53\u4f60\u8981\u6c42\u4e00\u4e2a\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u96c6\u6210\u4e00\u4e2a\u79fb\u52a8 SDK \u65f6\uff0c\u4f60\u5b9e\u9645\u4e0a\u662f\u5728\u2026\u2026<\/p>","protected":false},"author":26,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5,9],"tags":[],"class_list":["post-17945","post","type-post","status-publish","format-standard","hentry","category-best-practices","category-product-updates"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Use AI Assistants for SDK Integration | Tenjin<\/title>\n<meta name=\"description\" content=\"Learn how to integrate the Tenjin SDK with AI assistants using LLM SDK skills and guides to reduce hallucinations and ensure accurate code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tenjin.com\/zh\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use AI Assistants for Tenjin SDK Integration: A Developer&#039;s Guide\" \/>\n<meta property=\"og:description\" content=\"As mobile developers, we have grown comfortable leaning on AI assistants.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tenjin.com\/zh\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/\" \/>\n<meta property=\"og:site_name\" content=\"Tenjin\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-26T12:03:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-26T12:03:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tenjin.com\/wp-content\/uploads\/2026\/06\/AI-Assistants_social.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tara Meyer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@TenjinMMP\" \/>\n<meta name=\"twitter:site\" content=\"@TenjinMMP\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tara Meyer\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/blog\\\/how-to-use-ai-assistants-for-tenjin-sdk-integration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/blog\\\/how-to-use-ai-assistants-for-tenjin-sdk-integration\\\/\"},\"author\":{\"name\":\"Tara Meyer\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#\\\/schema\\\/person\\\/711d96a1c8a6444b1f0323479dcfad35\"},\"headline\":\"How to Use AI Assistants for Tenjin SDK Integration: A Developer&#8217;s Guide\",\"datePublished\":\"2026-06-26T12:03:39+00:00\",\"dateModified\":\"2026-06-26T12:03:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/blog\\\/how-to-use-ai-assistants-for-tenjin-sdk-integration\\\/\"},\"wordCount\":1631,\"publisher\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/#organization\"},\"articleSection\":[\"Best practices\",\"Product Updates\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/blog\\\/how-to-use-ai-assistants-for-tenjin-sdk-integration\\\/\",\"url\":\"https:\\\/\\\/tenjin.com\\\/blog\\\/how-to-use-ai-assistants-for-tenjin-sdk-integration\\\/\",\"name\":\"How to Use AI Assistants for SDK Integration | Tenjin\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/#website\"},\"datePublished\":\"2026-06-26T12:03:39+00:00\",\"dateModified\":\"2026-06-26T12:03:41+00:00\",\"description\":\"Learn how to integrate the Tenjin SDK with AI assistants using LLM SDK skills and guides to reduce hallucinations and ensure accurate code.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/blog\\\/how-to-use-ai-assistants-for-tenjin-sdk-integration\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tenjin.com\\\/blog\\\/how-to-use-ai-assistants-for-tenjin-sdk-integration\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/blog\\\/how-to-use-ai-assistants-for-tenjin-sdk-integration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/tenjin.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use AI Assistants for Tenjin SDK Integration: A Developer&#8217;s Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#website\",\"url\":\"https:\\\/\\\/tenjin.com\\\/\",\"name\":\"Tenjin\",\"description\":\"Growth Made Simple\",\"publisher\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/#organization\"},\"alternateName\":\"Tenjin - Mobile Measurement Partner\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/tenjin.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#organization\",\"name\":\"Tenjin\",\"url\":\"https:\\\/\\\/tenjin.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/tenjin.com\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/images.webp\",\"contentUrl\":\"https:\\\/\\\/tenjin.com\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/images.webp\",\"width\":429,\"height\":117,\"caption\":\"Tenjin\"},\"image\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/TenjinMMP\",\"https:\\\/\\\/www.youtube.com\\\/@TenjinMMP\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/tenjin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#\\\/schema\\\/person\\\/711d96a1c8a6444b1f0323479dcfad35\",\"name\":\"Tara Meyer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/475af822d5c108036baeb0c42fc7727167163edfe2456ed2326303747001b5b1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/475af822d5c108036baeb0c42fc7727167163edfe2456ed2326303747001b5b1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/475af822d5c108036baeb0c42fc7727167163edfe2456ed2326303747001b5b1?s=96&d=mm&r=g\",\"caption\":\"Tara Meyer\"},\"description\":\"I bring fresh eyes to mobile attribution and app analytics, turning insights into strategies that connect with users and drive growth.\",\"sameAs\":[\"http:\\\/\\\/www.tenjin.com\",\"https:\\\/\\\/www.instagram.com\\\/taraxmeyer\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/taraxmeyer\\\/\",\"https:\\\/\\\/x.com\\\/TenjinMMP\",\"https:\\\/\\\/www.youtube.com\\\/@TenjinMMP\"],\"url\":\"https:\\\/\\\/tenjin.com\\\/zh\\\/blog\\\/author\\\/tara\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5229\u7528AI\u52a9\u624b\u8fdb\u884cSDK\u96c6\u6210 | Tenjin","description":"\u4e86\u89e3\u5982\u4f55\u5229\u7528 LLM SDK \u6280\u80fd\u548c\u6307\u5357\uff0c\u5c06 Tenjin SDK \u4e0e AI \u52a9\u624b\u96c6\u6210\uff0c\u4ece\u800c\u51cf\u5c11\u5e7b\u89c9\u5e76\u786e\u4fdd\u4ee3\u7801\u51c6\u786e\u6027\u3002.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tenjin.com\/zh\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/","og_locale":"zh_CN","og_type":"article","og_title":"How to Use AI Assistants for Tenjin SDK Integration: A Developer's Guide","og_description":"As mobile developers, we have grown comfortable leaning on AI assistants.","og_url":"https:\/\/tenjin.com\/zh\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/","og_site_name":"Tenjin","article_published_time":"2026-06-26T12:03:39+00:00","article_modified_time":"2026-06-26T12:03:41+00:00","og_image":[{"width":1600,"height":900,"url":"https:\/\/tenjin.com\/wp-content\/uploads\/2026\/06\/AI-Assistants_social.png","type":"image\/png"}],"author":"Tara Meyer","twitter_card":"summary_large_image","twitter_creator":"@TenjinMMP","twitter_site":"@TenjinMMP","twitter_misc":{"\u4f5c\u8005":"Tara Meyer","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tenjin.com\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/#article","isPartOf":{"@id":"https:\/\/tenjin.com\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/"},"author":{"name":"Tara Meyer","@id":"https:\/\/tenjin.com\/#\/schema\/person\/711d96a1c8a6444b1f0323479dcfad35"},"headline":"How to Use AI Assistants for Tenjin SDK Integration: A Developer&#8217;s Guide","datePublished":"2026-06-26T12:03:39+00:00","dateModified":"2026-06-26T12:03:41+00:00","mainEntityOfPage":{"@id":"https:\/\/tenjin.com\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/"},"wordCount":1631,"publisher":{"@id":"https:\/\/tenjin.com\/#organization"},"articleSection":["Best practices","Product Updates"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/tenjin.com\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/","url":"https:\/\/tenjin.com\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/","name":"\u5982\u4f55\u5229\u7528AI\u52a9\u624b\u8fdb\u884cSDK\u96c6\u6210 | Tenjin","isPartOf":{"@id":"https:\/\/tenjin.com\/#website"},"datePublished":"2026-06-26T12:03:39+00:00","dateModified":"2026-06-26T12:03:41+00:00","description":"\u4e86\u89e3\u5982\u4f55\u5229\u7528 LLM SDK \u6280\u80fd\u548c\u6307\u5357\uff0c\u5c06 Tenjin SDK \u4e0e AI \u52a9\u624b\u96c6\u6210\uff0c\u4ece\u800c\u51cf\u5c11\u5e7b\u89c9\u5e76\u786e\u4fdd\u4ee3\u7801\u51c6\u786e\u6027\u3002.","breadcrumb":{"@id":"https:\/\/tenjin.com\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tenjin.com\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/tenjin.com\/blog\/how-to-use-ai-assistants-for-tenjin-sdk-integration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tenjin.com\/"},{"@type":"ListItem","position":2,"name":"How to Use AI Assistants for Tenjin SDK Integration: A Developer&#8217;s Guide"}]},{"@type":"WebSite","@id":"https:\/\/tenjin.com\/#website","url":"https:\/\/tenjin.com\/","name":"Tenjin","description":"\u8ba9\u589e\u957f\u53d8\u7b80\u5355","publisher":{"@id":"https:\/\/tenjin.com\/#organization"},"alternateName":"Tenjin - Mobile Measurement Partner","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tenjin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/tenjin.com\/#organization","name":"Tenjin","url":"https:\/\/tenjin.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/tenjin.com\/#\/schema\/logo\/image\/","url":"https:\/\/tenjin.com\/wp-content\/uploads\/2026\/04\/images.webp","contentUrl":"https:\/\/tenjin.com\/wp-content\/uploads\/2026\/04\/images.webp","width":429,"height":117,"caption":"Tenjin"},"image":{"@id":"https:\/\/tenjin.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/TenjinMMP","https:\/\/www.youtube.com\/@TenjinMMP","https:\/\/www.linkedin.com\/company\/tenjin"]},{"@type":"Person","@id":"https:\/\/tenjin.com\/#\/schema\/person\/711d96a1c8a6444b1f0323479dcfad35","name":"\u5854\u62c9-\u8fc8\u8036","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/secure.gravatar.com\/avatar\/475af822d5c108036baeb0c42fc7727167163edfe2456ed2326303747001b5b1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/475af822d5c108036baeb0c42fc7727167163edfe2456ed2326303747001b5b1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/475af822d5c108036baeb0c42fc7727167163edfe2456ed2326303747001b5b1?s=96&d=mm&r=g","caption":"Tara Meyer"},"description":"\u4ee5\u5168\u65b0\u7684\u89c6\u89d2\u89e3\u8bfb\u79fb\u52a8\u5f52\u56e0\u4e0e\u5e94\u7528\u5206\u6790\uff0c\u5c06\u6df1\u5ea6\u6d1e\u5bdf\u8f6c\u5316\u4e3a\u80fd\u4e0e\u7528\u6237\u5efa\u7acb\u8fde\u63a5\u3001\u9a71\u52a8\u4e1a\u52a1\u589e\u957f\u7684\u6838\u5fc3\u7b56\u7565\u3002","sameAs":["http:\/\/www.tenjin.com","https:\/\/www.instagram.com\/taraxmeyer\/","https:\/\/www.linkedin.com\/in\/taraxmeyer\/","https:\/\/x.com\/TenjinMMP","https:\/\/www.youtube.com\/@TenjinMMP"],"url":"https:\/\/tenjin.com\/zh\/blog\/author\/tara\/"}]}},"_links":{"self":[{"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/posts\/17945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/comments?post=17945"}],"version-history":[{"count":7,"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/posts\/17945\/revisions"}],"predecessor-version":[{"id":17976,"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/posts\/17945\/revisions\/17976"}],"wp:attachment":[{"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/media?parent=17945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/categories?post=17945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenjin.com\/zh\/wp-json\/wp\/v2\/tags?post=17945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}