{"id":22170,"date":"2024-09-13T10:16:30","date_gmt":"2024-09-13T02:16:30","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=22170"},"modified":"2024-09-13T10:16:30","modified_gmt":"2024-09-13T02:16:30","slug":"cursor-ai%e8%ae%be%e7%bd%aeai%e7%bc%96%e7%a0%81%e8%be%85%e5%8a%a9%e6%a0%87%e5%87%86%e7%9a%84%e4%ba%94%e7%a7%8d%e6%96%b9%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2024\/09\/13\/22170\/","title":{"rendered":"Cursor AI\u8bbe\u7f6eAI\u7f16\u7801\u8f85\u52a9\u6807\u51c6\u7684\u4e94\u79cd\u65b9\u5f0f"},"content":{"rendered":"<div><img data-dominant-color=\"929d9f\" data-has-transparency=\"false\" style=\"--dominant-color: #929d9f;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-22172\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/09\/f227c2655365675c2f40471fe41b61ad860525-300x167-1.jpg\" width=\"300\" height=\"167\" alt=\"\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/09\/f227c2655365675c2f40471fe41b61ad860525-300x167-1.jpg 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/09\/f227c2655365675c2f40471fe41b61ad860525-300x167-1-150x84.jpg 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/div>\n<div class=\"article-desc\">Cursor AI \u51ed\u501f\u5176\u96c6\u6210\u7684\u73af\u5883\u3001\u591a\u529f\u80fd\u7684\u529f\u80fd\u548c\u65e0\u7f1d\u7684\u5de5\u4f5c\u6d41\u7a0b\u81ea\u52a8\u5316\uff0c\u6b63\u5728\u6539\u53d8\u5f00\u53d1\u65b9\u5f0f\u3002\u4ece\u5f3a\u5927\u7684 Composer \u5de5\u5177\u5230\u7075\u6d3b\u7684\u804a\u5929\u529f\u80fd\u548c\u5168\u9762\u7684\u6a21\u578b\u9009\u9879\uff0cCursor AI \u63d0\u9ad8\u4e86\u751f\u4ea7\u529b\u5e76\u7b80\u5316\u4e86\u5f00\u53d1\u6d41\u7a0b\u3002\u5176\u6574\u4f53\u65b9\u6cd5\u4e3a AI \u9a71\u52a8\u7684\u7f16\u7801\u8f85\u52a9\u8bbe\u5b9a\u4e86\u65b0\u6807\u51c6\u3002<\/div>\n<div id=\"postspictures\" class=\"article-content\">\n<div id=\"container\" class=\"container am-engine\" data-v-1d7a5742=\"\" data-element=\"root\">\n<p>\u51ed\u501f\u5176\u96c6\u6210\u7684\u73af\u5883\u548c\u591a\u529f\u80fd\u7279\u6027\uff0cCursor AI \u4e3a AI \u9a71\u52a8\u7684\u7f16\u7801\u8f85\u52a9\u8bbe\u5b9a\u4e86\u65b0\u6807\u51c6\u3002<\/p>\n<p>\u8bd1\u81ea5 Ways Cursor AI Sets the Standard for AI Coding Assistance\uff0c\u4f5c\u8005 Janakiram MSV\u3002<\/p>\n<p>Cursor AI \u662f\u4e00\u4e2aAI-first \u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u5c06 AI \u7f16\u7801\u52a9\u624b\u63d0\u5347\u5230\u4e00\u4e2a\u65b0\u7684\u6c34\u5e73\u3002\u5927\u591a\u6570\u7f16\u7801\u52a9\u624b\u90fd\u5c06 IDE \u4f5c\u4e3a\u9644\u52a0\u7ec4\u4ef6\u6216\u63d2\u4ef6\uff0c\u4f46Cursor AI\uff08\u6700\u6d41\u884c\u7684\u5f00\u6e90\u5f00\u53d1\u8005\u5de5\u5177Visual Studio Code\u7684\u4e00\u4e2a\u5206\u652f\uff09\u5c06 AI \u529f\u80fd\u76f4\u63a5\u5d4c\u5165\u5230\u5f00\u53d1\u73af\u5883\u4e2d\u3002<\/p>\n<p>Cursor AI \u5df2\u7ecf\u9762\u4e16\u4e00\u5e74\u591a\u4e86\uff0c\u4f46\u5b83\u6700\u8fd1\u5728\u6536\u5230Andreessen Horowitz \u7684 6000 \u4e07\u7f8e\u5143 A \u8f6e\u878d\u8d44\u540e\u767b\u4e0a\u4e86\u65b0\u95fb\u5934\u6761\u3002Cursor AI \u8fd8\u83b7\u5f97\u4e86Andrej Karpathy\uff08\u524d\u7279\u65af\u62c9\u81ea\u52a8\u9a7e\u9a76\u8d1f\u8d23\u4eba\u548c\u524dOpenAI\u7814\u7a76\u5458\uff09\u7b49\u884c\u4e1a\u9886\u5bfc\u8005\u7684\u9ad8\u5ea6\u8bc4\u4ef7\u3002<\/p>\n<p>\u201c\u7f16\u7a0b\u7684\u53d8\u5316\u5982\u6b64\u4e4b\u5feb\u2026\u2026\u6211\u6b63\u5728\u5c1d\u8bd5\u4f7f\u7528 VS Code Cursor + Sonnet 3.5 \u6765\u4ee3\u66ff GitHub Copilot\uff0c\u6211\u8ba4\u4e3a\u5b83\u73b0\u5728\u5df2\u7ecf\u83b7\u5f97\u4e86\u5168\u9762\u80dc\u5229\u3002\u6839\u636e\u7ecf\u9a8c\uff0c\u5728\u8fc7\u53bb\u51e0\u5929\u91cc\uff0c\u6211\u7684\u5927\u90e8\u5206\u201c\u7f16\u7a0b\u201d\u5de5\u4f5c\u73b0\u5728\u90fd\u662f\u7528\u82f1\u8bed\u7f16\u5199\u3002\u201d<\/p>\n<p>\u2014 Andrej Karpathy (@karpathy), Twitter,[8 \u6708 24 \u65e5]<\/p>\n<p>Cursor AI \u7684\u529f\u80fd\u6269\u5c55\u5230\u66f4\u4e13\u4e1a\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982 11 Labs \u7528\u4e8e\u89c6\u9891\u7f16\u8f91\u4e2d AI \u753b\u5916\u97f3\u7684Helper \u5e94\u7528\u7a0b\u5e8f\u3002\u6536\u5165\u4eea\u8868\u677f\u548cDuolingo \u514b\u9686\u7684\u5f00\u53d1\u8fdb\u4e00\u6b65\u8bf4\u660e\u4e86 Cursor \u5728\u521b\u5efa\u591a\u6837\u5316\u3001\u5b9e\u7528\u5e94\u7528\u7a0b\u5e8f\u65b9\u9762\u7684\u6f5c\u529b\u3002\u4ece\u4ea4\u4e92\u5f0f\u6e38\u620f\u5230 Chrome \u6269\u5c55\u7a0b\u5e8f\uff0cCursor AI Composer \u6b63\u5728\u5f7b\u5e95\u6539\u53d8\u5404\u4e2a\u9886\u57df\u7684\u8f6f\u4ef6\u5f00\u53d1\u3002<\/p>\n<p>\u6211\u5df2\u7ecf\u4f7f\u7528 Cursor AI \u51e0\u5468\u4e86\uff0c\u4ee5\u4e0b\u662f\u6211\u6700\u559c\u6b22\u7684\u80fd\u591f\u663e\u8457\u63d0\u9ad8\u5f00\u53d1\u4eba\u5458\u751f\u4ea7\u529b\u7684\u529f\u80fd\u3002<\/p>\n<h2>1. Composer<\/h2>\n<p>Composer \u529f\u80fd\u662f Cursor AI \u6700\u5f3a\u5927\u7684\u529f\u80fd\u3002\u5b83\u51e0\u4e4e\u5c31\u50cf\u5c06\u4ea7\u54c1\u7ecf\u7406\u8d77\u8349\u7684\u89c4\u8303\u6587\u6863\u53d8\u6210\u4e00\u4e2a\u5b8c\u6574\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u5178\u578b\u60c5\u51b5\u4e0b\uff0c\u662f\u5de5\u7a0b\u56e2\u961f\u5e2e\u52a9\u4ea7\u54c1\u7ecf\u7406\u5c06\u89c4\u8303\u8f6c\u5316\u4e3a\u4ee3\u7801\u3002<\/p>\n<p>\u5728 Cursor \u4e2d\uff0cComposer \u901a\u8fc7\u751f\u6210\u6784\u5efa\u5e94\u7528\u7a0b\u5e8f\u6240\u9700\u7684\u6240\u6709\u5de5\u4ef6\u6765\u5b8c\u6210\u7e41\u91cd\u7684\u5de5\u4f5c\u3002\u89c4\u8303\u662f\u7528\u7b80\u5355\u7684\u82f1\u8bed\u7f16\u5199\u7684\uff0c\u751a\u81f3\u53ef\u80fd\u5305\u62ec UI \u6a21\u578b\u548c\u7ebf\u6846\u56fe\u3002<\/p>\n<p><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>Cursor AI Composer \u901a\u8fc7\u51e0\u4e2a\u4ee4\u4eba\u5370\u8c61\u6df1\u523b\u7684\u4f5c\u54c1\u5c55\u793a\u4e86\u5176\u5728\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4e2d\u7684\u591a\u529f\u80fd\u6027\u548c\u5f3a\u5927\u529f\u80fd\u3002\u8457\u540d\u7684\u4f8b\u5b50\u5305\u62ec\u4e00\u4e2a\u529f\u80fd\u9f50\u5168\u7684\u4efb\u52a1\u7ba1\u7406\u5668\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u548c\u4e00\u4e2a\u5b8c\u6574\u7684\u8eab\u4efd\u9a8c\u8bc1\u7cfb\u7edf\uff0c\u5c55\u793a\u4e86\u5176\u5904\u7406\u590d\u6742\u8f6f\u4ef6\u7ed3\u6784\u7684\u80fd\u529b\u3002\u4e00\u4e2a 8 \u5c81\u7684\u5b69\u5b50\u6210\u529f\u6784\u5efa\u4e86\u4e00\u4e2a\u804a\u5929\u673a\u5668\u4eba\uff0c\u8fd9\u7a81\u51fa\u4e86\u8be5\u5e73\u53f0\u7684\u53ef\u8bbf\u95ee\u6027\uff0c\u8bc1\u660e\u4e86\u5176\u7528\u6237\u53cb\u597d\u7684\u7279\u6027\u3002<\/p>\n<p>\u5728\u521b\u5efa\u63d0\u793a\u65f6\uff0c\u53ef\u4ee5\u53c2\u8003\u6587\u4ef6\uff08\u5982\u5c4f\u5e55\u622a\u56fe\u3001\u6570\u636e\u5e93\u6a21\u5f0f\uff0c\u751a\u81f3\u662f\u6587\u672c\u6587\u4ef6\uff09\u4ee5\u53ca\u5206\u6b65\u8bf4\u660e\uff0c\u4ee5\u4fbf\u4e3a Composer \u63d0\u4f9b\u4e0a\u4e0b\u6587\u3002<\/p>\n<p>\u53ef\u4ee5\u901a\u8fc7\u6309 Shift+Command+I \u70ed\u952e\u6765\u8c03\u7528 Composer\uff0c\u8fd9\u5c06\u5f39\u51fa\u4e00\u4e2a\u5168\u5c4f\u7f16\u8f91\u5668\u3002<\/p>\n<p>\u5728\u6211\u7684\u6d4b\u8bd5\u4e2d\uff0c\u6211\u5229\u7528 Composer \u5c06\u73b0\u6709\u6570\u636e\u96c6\u5bfc\u5165 PostgreSQL \u6570\u636e\u5e93\uff0c\u5e76\u901a\u8fc7 REST API \u7aef\u70b9\u516c\u5f00\u5b83\u3002\u6211\u53ef\u4ee5\u6beb\u4e0d\u8d39\u529b\u5730\u5c06\u6570\u636e\u5e93\u548c API \u5c42\u6253\u5305\u5230DockerCompose \u6587\u4ef6\u4e2d\uff0c\u5e76\u5728\u6211\u7684\u5f00\u53d1\u673a\u5668\u4e0a\u8fd0\u884c\u5b83\u2014\u2014\u6240\u6709\u8fd9\u4e9b\u90fd\u4e0d\u9700\u8981\u79bb\u5f00\u5f00\u53d1\u73af\u5883\u3002\u5728\u6d4b\u8bd5 API \u540e\uff0c\u6211\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u5305\u542b\u7528\u4e8e\u5728 Kubernetes \u4e2d\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\u7684\u6e05\u5355\u7684 YAML \u6587\u4ef6\u3002<\/p>\n<h2>2. \u968f\u65f6\u968f\u5730\u804a\u5929<\/h2>\n<p>\u76ee\u524d\u5927\u591a\u6570 AI \u7f16\u7801\u52a9\u624b\u90fd\u5c40\u9650\u4e8e\u4e24\u4e2a\u529f\u80fd\uff1a\u7f16\u8f91\u5668\u4e2d\u7684\u4ee3\u7801\u8865\u5168\u548c\u4e00\u4e2a\u5355\u72ec\u7684\u804a\u5929\u7a97\u53e3\u3002\u804a\u5929\u7a97\u53e3\u63d0\u4f9b\u7c7b\u4f3c\u4e8e ChatGPT \u7684\u5bf9\u8bdd\u754c\u9762\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s5.51cto.com\/oss\/202409\/13\/675237d5934bb096425490d505755e0702a78b.webp\" alt=\"\u56fe\u7247\" data-type=\"block\" \/><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>\u6211\u559c\u6b22 Cursor \u7684\u5730\u65b9\u5728\u4e8e\u5b83\u80fd\u591f\u5728\u4efb\u4f55\u5730\u65b9\u8c03\u7528\u804a\u5929\u8f93\u5165\u6846\u2014\u2014\u5728\u4ee3\u7801\u7f16\u8f91\u5668\u4e2d\u3001\u4fa7\u8fb9\u680f\u4e2d\uff0c\u751a\u81f3\u5728\u7ec8\u7aef\u7a97\u53e3\u4e2d\u3002\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u8ba9\u5f00\u53d1\u4eba\u5458\u63a7\u5236\u5de5\u4f5c\u6d41\u7a0b\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s5.51cto.com\/oss\/202409\/13\/a43ae37114bb1fbcfce017566b37cb0ea16277.webp\" alt=\"\u56fe\u7247\" data-type=\"block\" \/><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>\u60a8\u53ef\u4ee5\u9009\u62e9\u4e00\u6bb5\u4ee3\u7801\u5e76\u6309 Command+K \u91cd\u5199\u6216\u91cd\u6784\u5b83\uff0c\u6216\u8005\u6309 Command+L \u5728\u4fa7\u8fb9\u680f\u4e2d\u751a\u81f3\u5728\u7ec8\u7aef\u7a97\u53e3\u4e2d\u663e\u793a\u5b83\u3002\u804a\u5929\u8f93\u5165\u6700\u597d\u7684\u5730\u65b9\u5728\u4e8e\u5b83\u80fd\u591f\u8bb0\u4f4f\u5386\u53f2\u8bb0\u5f55\uff0c\u8fd9\u4f7f\u5f97\u7f16\u8f91\u63d0\u793a\u4ee5\u66f4\u597d\u5730\u8c03\u6574\u5b83\u4eec\u53d8\u5f97\u5f88\u5bb9\u6613\u3002<\/p>\n<h2>3. \u6a21\u578b\u9009\u62e9<\/h2>\n<p>Cursor \u63d0\u4f9b\u4e86\u5bf9\u5404\u79cd\u6a21\u578b\u7684\u8bbf\u95ee\uff0c\u5305\u62ec\u6d41\u884c\u7684Claude 3.5 Sonnet\u548cGPT-4o\u3002\u4f46\u4ee4\u4eba\u5370\u8c61\u6df1\u523b\u7684\u662f\u8be5\u5de5\u5177\u80fd\u591f\u5f15\u5165\u60a8\u81ea\u5df1\u7684\u6a21\u578b\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s8.51cto.com\/oss\/202409\/13\/c11440d4142e20c306d045c7d7c02222db44ee.webp\" alt=\"\u56fe\u7247\" data-type=\"block\" \/><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u5c06 Cursor \u6307\u5411\u4ed6\u4eec\u73b0\u6709\u7684\u5e10\u6237\u548c\u8ba2\u9605\uff0c\u4ee5\u4f7f\u7528\u6765\u81ea Anthropic\u3001\u5fae\u8f6fAzure\u3001OpenAI \u548c\u8c37\u6b4c\u7684\u6a21\u578b\u3002Azure OpenAI \u4f7f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u4f7f\u7528\u63d0\u4f9b\u5b89\u5168\u6027\u548c\u5408\u89c4\u6027\u7684\u4e13\u7528\u7aef\u70b9\u3002<\/p>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u5c06 Cursor \u6307\u5411\u6258\u7ba1\u81ea\u5b9a\u4e49\u6a21\u578b\u7684\u4efb\u4f55\u4e0e OpenAI API \u517c\u5bb9\u7684\u7aef\u70b9\u3002\u6b64\u529f\u80fd\u53ef\u4ee5\u4f7f\u7528\u6237\u80fd\u591f\u5728\u4efb\u4f55\u63a8\u7406\u5f15\u64ce\uff08\u4f8b\u5982\u60a8\u81ea\u5df1\u57fa\u7840\u67b6\u6784\u4e0a\u7684\u6587\u672c\u751f\u6210\u63a8\u7406\u670d\u52a1\u5668\u6216 vLLM\uff0c\u6216\u5728 Runpod \u548cFireworks AI\u7b49\u7b2c\u4e09\u65b9\u57fa\u7840\u67b6\u6784\u4e0a\uff09\u6258\u7ba1\u4ee3\u7801\u751f\u6210\u5668\u6a21\u578b\uff0c\u4f8b\u5982CodeGemma\u3001Code Llama\u6216Codestral\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s3.51cto.com\/oss\/202409\/13\/12558dc445e4338d64d492fdacbded3c8694b5.webp\" alt=\"\u56fe\u7247\" data-type=\"block\" \/><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>\u8fd8\u53ef\u4ee5\u52a8\u6001\u5207\u6362\u6a21\u578b\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u6a21\u578b\u5728 shell \u4e2d\u8fd0\u884c\u547d\u4ee4\uff0c\u800c\u4f7f\u7528\u53e6\u4e00\u4e2a\u6a21\u578b\u751f\u6210\u4ee3\u7801\u3002<\/p>\n<h2>4. \u4f7f\u7528 @ Moniker \u589e\u5f3a\u4e0a\u4e0b\u6587<\/h2>\n<p>Cursor \u6700\u68d2\u7684\u529f\u80fd\u662f\u80fd\u591f\u5f15\u7528\u6587\u4ef6\u3001\u6587\u4ef6\u5939\u3001\u7f51\u7edc\u3001\u6587\u6863\uff0c\u751a\u81f3\u662f\u6574\u4e2a\u4ee3\u7801\u5e93\u3002\u8fd9\u662f\u4e00\u4e2a\u6740\u624b\u7ea7\u529f\u80fd\uff0c\u4f7f Cursor \u4ece\u7ade\u4e89\u5bf9\u624b\u4e2d\u8131\u9896\u800c\u51fa\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s5.51cto.com\/oss\/202409\/13\/b430e238366e22e7e153318db4d12eab190b2f.webp\" alt=\"\u56fe\u7247\" data-type=\"block\" \/><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>\u5f53\u60a8\u4f7f\u7528@Codebase\u8be2\u95ee\u6709\u5173\u4ee3\u7801\u5e93\u7684\u95ee\u9898\u65f6\uff0cCursor \u4f1a\u641c\u7d22\u4e0e\u60a8\u7684\u67e5\u8be2\u76f8\u5173\u7684\u4ee3\u7801\u3002\u4f7f\u7528@Files\u5f15\u7528\u6587\u4ef6\u5141\u8bb8\u60a8\u5c06\u7279\u5b9a\u6587\u4ef6\u5e26\u5165\u4e0a\u4e0b\u6587\u3002\u8fd9\u7c7b\u4f3c\u4e8e\u5c06 ChatGPT \u4e0e\u81ea\u5b9a\u4e49 GPT\u7ed3\u5408\u4f7f\u7528\uff0c\u8fd9\u610f\u5473\u7740\u60a8\u53ef\u4ee5\u968f\u65f6\u4f7f\u7528\u6709\u5173\u60a8\u81ea\u5df1\u7684\u4ee3\u7801\u548c\u5e94\u7528\u7a0b\u5e8f\u7684\u77e5\u8bc6\u3002<\/p>\n<p>\u901a\u8fc7@Web\u6dfb\u52a0\u7f51\u7edc\u641c\u7d22\u7684\u529f\u80fd\u4f7f Cursor \u53d8\u6210\u4e86\u4e00\u4e2a\u7c7b\u4f3cPerplexity \u7684\u5de5\u5177\u3002\u5b83\u53ef\u4ee5\u641c\u7d22\u7f51\u7edc\u5e76\u4ece StackOverflow \u6216\u4e0e\u60a8\u7684\u67e5\u8be2\u76f8\u5173\u7684\u5176\u4ed6\u6765\u6e90\u83b7\u53d6\u7b54\u6848\u3002<\/p>\n<p>\u6700\u540e\uff0c\u5305\u542b\u4efb\u4f55\u5916\u90e8\u5de5\u5177\u6587\u6863\u7684\u529f\u80fd\u662f\u4e00\u4e2a\u6551\u661f\u3002Cursor \u5c06\u6293\u53d6\u6587\u6863\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u5d4c\u5165\uff0c\u8fd9\u4e9b\u5d4c\u5165\u5c06\u7528\u4e8e\u4ee3\u7801\u751f\u6210\u548c\u67e5\u8be2\u54cd\u5e94\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s8.51cto.com\/oss\/202409\/13\/e27488255fd224cea32060ebeae60c4374da64.webp\" alt=\"\u56fe\u7247\" data-type=\"block\" \/><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>\u6211\u6dfb\u52a0\u4e86Chroma DB\u6587\u6863\uff0cCursor \u6307\u5bfc\u6211\u5b8c\u6210\u4e86\u7d22\u5f15\u3001\u521b\u5efa\u548c\u67e5\u8be2\u96c6\u5408\u7684\u8fc7\u7a0b\u3002<\/p>\n<h2>5. DevOps \u5de5\u4f5c\u6d41\u7a0b\u81ea\u52a8\u5316<\/h2>\n<p>\u6211\u5bf9 Cursor \u6700\u6ee1\u610f\u7684\u662f\u5b83\u80fd\u591f\u5904\u7406\u7aef\u5230\u7aef\u7684\u5e94\u7528\u7a0b\u5e8f\u751f\u547d\u5468\u671f\uff0c\u800c\u65e0\u9700\u79bb\u5f00\u5f00\u53d1\u73af\u5883\u3002\u867d\u7136 Composer \u548c Tab \u7b49\u529f\u80fd\u53ef\u4ee5\u89e3\u51b3\u4ee3\u7801\u751f\u6210\u95ee\u9898\uff0c\u4f46\u7ec8\u7aef\u5185\u7684\u804a\u5929\u7a97\u53e3\u662f\u4e00\u4e2a\u771f\u6b63\u7684\u6e38\u620f\u89c4\u5219\u6539\u53d8\u8005\u3002\u5b83\u53ef\u4ee5\u751f\u6210\u548c\u8fd0\u884c shell \u811a\u672c\u3001Docker \u548c Kubernetes \u547d\u4ee4\uff0c\u4ee5\u53ca\u4efb\u4f55\u5176\u4ed6\u4e0e CLI \u76f8\u5173\u7684\u5de5\u5177\u3002<\/p>\n<p>\u867d\u7136\u5176\u4ed6 AI \u7f16\u7801\u52a9\u624b\u4e5f\u6709\u4e00\u4e2a\u804a\u5929\u7a97\u53e3\u6765\u54cd\u5e94\u4e0e\u64cd\u4f5c\u76f8\u5173\u7684\u67e5\u8be2\uff0c\u4f46\u5b83\u4eec\u9700\u8981\u590d\u5236\u548c\u7c98\u8d34\u3002\u4f46 Cursor \u5c06\u9700\u8981\u6267\u884c\u7684\u5b9e\u9645\u547d\u4ee4\u76f4\u63a5\u653e\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u5904\uff0c\u4ece\u800c\u663e\u7740\u52a0\u5feb\u4e86\u5de5\u4f5c\u6d41\u7a0b\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s7.51cto.com\/oss\/202409\/13\/05dda8379a25c869c32989ee88c165990ad79f.webp\" alt=\"\u56fe\u7247\" data-type=\"block\" \/><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>\u5728\u6211\u7684\u6d4b\u8bd5\u7528\u4f8b\u4e2d\uff0c\u6211\u53ef\u4ee5\u76f4\u63a5\u5728\u7f16\u8f91\u5668\u7a97\u53e3\u4e2d\u751f\u6210Dockerfile\uff0c\u6784\u5efa\u5b83\u4eec\uff0c\u6807\u8bb0\u5b83\u4eec\uff0c\u5e76\u901a\u8fc7\u7528\u7b80\u5355\u7684\u82f1\u8bed\u63d0\u793a Cursor \u5c06\u5b83\u4eec\u63a8\u9001\u5230 Docker Hub\u3002\u5728 Docker Compose \u73af\u5883\u4e2d\u751f\u6210\u548c\u6d4b\u8bd5\u5bb9\u5668\u540e\uff0c\u6211\u53ef\u4ee5\u5c06\u5e94\u7528\u7a0b\u5e8f\u90e8\u7f72\u5728\u4e91\u4e2d\u8fd0\u884c\u7684 Kubernetes \u96c6\u7fa4\u4e2d\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s9.51cto.com\/oss\/202409\/13\/0627f1f10f639874ebb816456826bc8659b28d.webp\" alt=\"\u56fe\u7247\" data-type=\"block\" \/><span class=\"data-image-title\">\u56fe\u7247<\/span><\/p>\n<p>Cursor \u80fd\u591f\u5e2e\u52a9\u6211\u4ee5\u65e0\u7f1d\u7684\u65b9\u5f0f\u4ece\u5f00\u53d1\u8fc7\u6e21\u5230\u751f\u4ea7\uff0c\u800c\u65e0\u9700\u79bb\u5f00\u5f00\u53d1\u73af\u5883\uff0c\u8fd9\u7ed9\u6211\u7559\u4e0b\u4e86\u6df1\u523b\u7684\u5370\u8c61\u3002<\/p>\n<p>Cursor AI \u51ed\u501f\u5176\u96c6\u6210\u7684\u73af\u5883\u3001\u591a\u529f\u80fd\u7684\u529f\u80fd\u548c\u65e0\u7f1d\u7684\u5de5\u4f5c\u6d41\u7a0b\u81ea\u52a8\u5316\uff0c\u6b63\u5728\u6539\u53d8\u5f00\u53d1\u65b9\u5f0f\u3002\u4ece\u5f3a\u5927\u7684 Composer \u5de5\u5177\u5230\u7075\u6d3b\u7684\u804a\u5929\u529f\u80fd\u548c\u5168\u9762\u7684\u6a21\u578b\u9009\u9879\uff0cCursor AI \u63d0\u9ad8\u4e86\u751f\u4ea7\u529b\u5e76\u7b80\u5316\u4e86\u5f00\u53d1\u6d41\u7a0b\u3002\u5176\u6574\u4f53\u65b9\u6cd5\u4e3a AI \u9a71\u52a8\u7684\u7f16\u7801\u8f85\u52a9\u8bbe\u5b9a\u4e86\u65b0\u6807\u51c6\u3002<\/p>\n<\/div>\n<\/div>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_22170\" class=\"pvc_stats total_only  \" data-element-id=\"22170\" 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>Cursor AI \u51ed\u501f\u5176\u96c6\u6210\u7684\u73af\u5883\u3001\u591a\u529f\u80fd\u7684\u529f\u80fd\u548c\u65e0\u7f1d\u7684\u5de5\u4f5c\u6d41\u7a0b\u81ea\u52a8\u5316\uff0c\u6b63\u5728\u6539\u53d8\u5f00\u53d1\u65b9\u5f0f\u3002\u4ece\u5f3a\u5927\u7684 Comp [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_22170\" class=\"pvc_stats total_only  \" data-element-id=\"22170\" 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":22172,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,20,80],"tags":[1310],"class_list":["post-22170","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-23","category-20","category-80","tag-ai--"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/22170","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=22170"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/22170\/revisions"}],"predecessor-version":[{"id":22173,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/22170\/revisions\/22173"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/22172"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=22170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=22170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=22170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}