{"id":453,"date":"2023-10-08T12:29:07","date_gmt":"2023-10-08T04:29:07","guid":{"rendered":"http:\/\/blog.cyasylum.top\/?p=453"},"modified":"2023-11-05T12:29:38","modified_gmt":"2023-11-05T04:29:38","slug":"motiongpt-action-label-set-example-f4xnd","status":"publish","type":"post","link":"http:\/\/blog.cyasylum.top\/index.php\/2023\/10\/08\/motiongpt-action-label-set-example-f4xnd\/","title":{"rendered":"MotionGPT \u52a8\u4f5c\u6807\u6ce8\u5957\u53d6\u4f8b"},"content":{"rendered":"<h1>MotionGPT \u52a8\u4f5c\u6807\u6ce8\u5957\u53d6\u4f8b<\/h1>\n<p>\u200d<\/p>\n<\/p>\n<p>\u901a\u8fc7 Prompt \u8bbe\u8ba1\uff0c\u627e OpenAI \u5e2e\u6211\u9760\u81ea\u7136\u8bed\u8a00\u6d17\u6570\u636e\u7528\u4f8b<\/p>\n<p>\u670d\u52a1\u4e8e\u8be5\u9879\u76ee <a href=\"https:\/\/github.com\/fyyakaxyy\/animationGPT\" target=\"_blank\"  rel=\"nofollow\" >fyyakaxyy\/animationGPT: Character animation generation based on text-to-motion and large models. (github.com)<\/a><\/p>\n<h1>Prompt<\/h1>\n<p>\u73b0\u5728\uff0c\u4f60\u662f\u4e00\u540d\u52a8\u753b\u6570\u636e\u96c6\u6807\u6ce8\u4e13\u5bb6\u3002<\/p>\n<p>\u6211\u5c06\u4e3a\u4f60\u63cf\u8ff0\u4e00\u4e2a\u4efb\u52a1\uff1a\u6839\u636e\u6211\u7ed9\u51fa\u7684\u63d0\u793a\uff0c\u521b\u5efa\u5408\u9002\u7684\u52a8\u4f5c\u63cf\u8ff0\u53e5\u5b50\u3002<\/p>\n<p>\u63d0\u793a\u4e2d\u4f1a\u5305\u542b\u4ee5\u4e0b\u52a8\u4f5c\u4fe1\u606f\uff1a<\/p>\n<ul>\n<li><span style=\"font-weight: bold;\" data-type=\"strong\">\u52a8\u4f5c\u7c7b\u578b<\/span>\uff1a\u63cf\u8ff0\u52a8\u4f5c\u5728\u4f55\u79cd\u60c5\u5883\u4e2d\u88ab\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u201c\u6b66\u5668\u653b\u51fb\u201d\u8868\u793a\u4f7f\u7528\u67d0\u79cd\u6b66\u5668\u8fdb\u884c\u653b\u51fb\uff0c\u201c\u6cd5\u672f\u201d\u8868\u793a\u541f\u5531\u6cd5\u672f\u3002\u8fd8\u6709\u5176\u4ed6\u8bcd\u6c47\u5982\u201c\u9759\u6b62\u201d\u3001\u201c\u53d7\u51fb\u201d\u548c\u201c\u6b7b\u4ea1\u201d\u7528\u4e8e\u63cf\u8ff0\u5f53\u524d\u52a8\u4f5c\u7684\u72b6\u6001\u3002<\/li>\n<li><span style=\"font-weight: bold;\" data-type=\"strong\">\u6b66\u5668\u7c7b\u578b<\/span>\uff1a\u63cf\u8ff0\u5f53\u524d\u52a8\u4f5c\u4f7f\u7528\u7684\u6b66\u5668\u6216\u7279\u6b8a\u7269\u4ef6\u7c7b\u578b\uff0c\u901a\u5e38\u4e0e\u52a8\u4f5c\u7c7b\u578b-\u201c\u6b66\u5668\u653b\u51fb\u201d\u540c\u65f6\u51fa\u73b0\u3002\u6709\u65f6\u201c\u5f92\u624b\u201d\u8868\u793a\u5f53\u524d\u672a\u4f7f\u7528\u6b66\u5668\uff0c\u4e14\u5e76\u975e\u8fdb\u884c\u6218\u6597\u3002<\/li>\n<li><span style=\"font-weight: bold;\" data-type=\"strong\">\u653b\u51fb\u7c7b\u578b<\/span>\uff1a\u63cf\u8ff0\u653b\u51fb\u52a8\u753b\u7684\u65b9\u5f0f\uff0c\u5982\u201c\u53cc\u6301\u201d\u3001\u201c\u84c4\u529b\u201d\u3001\u201c\u8dd1\u6b65\u653b\u51fb\u201d\u548c\u201c\u8e22\u51fb\u201d\uff0c\u9700\u8981\u9002\u5f53\u7ed3\u5408\u5176\u5b83\u8bcd\u6c47\u6da6\u8272\u3002<\/li>\n<li><span style=\"font-weight: bold;\" data-type=\"strong\">\u65b9\u4f4d\u8bcd<\/span>\uff1a\u63cf\u8ff0\u52a8\u4f5c\u7684\u65b9\u5411\u6216\u7279\u5b9a\u72b6\u6001\uff0c\u5982\u201c\u5de6\u524d\u201d\u4ee3\u8868\u52a8\u4f5c\u8d8b\u5411\u5de6\u524d\u65b9\u3002<\/li>\n<li><span style=\"font-weight: bold;\" data-type=\"strong\">\u529b\u91cf\u611f\u63cf\u8ff0\u8bcd<\/span>\uff1a\u5982\u201c\u8f7b\u76c8\u5730\u201d\u3001\u201c\u624e\u5b9e\u5730\u201d\u548c\u201c\u5177\u529b\u91cf\u611f\u7684\u201d\uff0c\u63cf\u8ff0\u52a8\u4f5c\u7684\u6574\u4f53\u98ce\u683c\u3002\u53ef\u4f5c\u4e3a\u6da6\u8272\u8981\u7d20\u52a0\u5165\uff0c\u4f46\u8bf7\u907f\u514d\u8bed\u4e49\u51b2\u7a81\u3002<\/li>\n<li><span style=\"font-weight: bold;\" data-type=\"strong\">\u901f\u5ea6\u611f\u63cf\u8ff0\u8bcd<\/span>\uff1a\u5982\u201c\u8fc5\u6377\u7684\u201d\u3001\u201c\u8f83\u8fc5\u6377\u201d\u548c\u201c\u8fdf\u7f13\u7684\u201d\uff0c\u63cf\u8ff0\u52a8\u4f5c\u7684\u901f\u5ea6\u3002\u7531\u4e8e\u901f\u5ea6\u611f\u5177\u6709\u91cf\u5316\u5206\u7ea7\uff0c\u8bf7\u8c28\u614e\u4f7f\u7528\u8bcd\u6c47\u3002<\/li>\n<li><span style=\"font-weight: bold;\" data-type=\"strong\">\u6a21\u7cca\u63cf\u8ff0\u8bcd<\/span>\uff1a\u4e00\u4e9b\u5199\u610f\u7684\u63cf\u8ff0\u8bcd\uff0c\u53ef\u4ee5\u9002\u5f53\u5728\u6da6\u8272\u4e2d\u53c2\u8003\uff0c\u4f46\u4e0d\u4e00\u5b9a\u8981\u76f4\u63a5\u4f7f\u7528\u3002<\/li>\n<li><span style=\"font-weight: bold;\" data-type=\"strong\">\u59ff\u52bf\u5f62\u5bb9\u53e5<\/span>\uff1a\u76f4\u63a5\u63cf\u8ff0\u52a8\u4f5c\u7684\u5185\u5bb9\u3002<\/li>\n<\/ul>\n<p>\u4f8b\u5982\uff0c\u57fa\u4e8e\u6211\u4e0b\u9762\u7ed9\u51fa\u7684\u63d0\u793a\uff0c\u53ef\u4ee5\u8fd9\u6837\u751f\u6210\u63cf\u8ff0\uff1a<\/p>\n<p>\u63d0\u793a\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u52a8\u4f5c\u7c7b\u578b<\/th>\n<th>\u6b66\u5668\u7c7b\u578b<\/th>\n<th>\u653b\u51fb\u7c7b\u578b<\/th>\n<th>\u65b9\u4f4d\u8bcd<\/th>\n<th>\u529b\u91cf\u611f\u63cf\u8ff0\u8bcd<\/th>\n<th>\u901f\u5ea6\u611f\u63cf\u8ff0\u8bcd<\/th>\n<th>\u6a21\u7cca\u63cf\u8ff0\u8bcd<\/th>\n<th>\u59ff\u52bf\u5f62\u5bb9\u53e5<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u6b66\u5668\u653b\u51fb<\/td>\n<td>\u76f4\u5251<\/td>\n<td>\u53f3\u624b,\u5355\u6301,\u84c4\u529b\u91cd\u51fb<\/td>\n<td>\u524d<\/td>\n<td>\u624e\u5b9e\u7684,\u79ef\u84c4\u529b\u91cf\u7684<\/td>\n<td>\u5300\u901f\u7684,\u5148\u6162\u540e\u5feb\u7684<\/td>\n<td>\u6325\u51fb\u7684,\u6d41\u7545\u8fde\u8d2f\u7684,\u5927\u5f00\u5927\u5408\u7684,\u79ef\u84c4\u529b\u91cf\u7684,\u77ac\u95f4\u7206\u53d1\u7684<\/td>\n<td>\u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u53f3\u624b\u4ece\u5de6\u540e\u84c4\u529b\uff0c\u5411\u524d\u6325<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u63cf\u8ff0\uff1a<\/p>\n<p>\u89d2\u8272\u53f3\u624b\u4f7f\u7528\u76f4\u5251\u8fdb\u884c\u84c4\u529b\u653b\u51fb\uff0c\u624e\u5b9e\u5730\u4fa7\u8eab\u626d\u8170\u5411\u5de6\uff0c\u4ece\u5de6\u540e\u84c4\u529b\uff0c\u7136\u540e\u7206\u53d1\u5f0f\u5730\u5411\u524d\u6325\u780d\u3002<\/p>\n<p>\u200d<\/p>\n<p>\u8bf7\u57fa\u4e8e\u6211\u63d0\u4f9b\u7684\u6700\u65b0\u7684\u6837\u4f8b\u751f\u6210\u63cf\u8ff0\u53e5\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u52a8\u4f5c\u7c7b\u578b<\/th>\n<th>\u6b66\u5668\u7c7b\u578b<\/th>\n<th>\u653b\u51fb\u7c7b\u578b<\/th>\n<th>\u65b9\u4f4d\u8bcd<\/th>\n<th>\u529b\u91cf\u611f\u63cf\u8ff0\u8bcd<\/th>\n<th>\u901f\u5ea6\u611f\u63cf\u8ff0\u8bcd<\/th>\n<th>\u6a21\u7cca\u63cf\u8ff0\u8bcd<\/th>\n<th>\u59ff\u52bf\u5f62\u5bb9\u53e5<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u6b66\u5668\u653b\u51fb<\/td>\n<td>\u5927\u5251\/\u7279\u5927\u5251<\/td>\n<td>\u53f3\u624b,\u5355\u6301,\u84c4\u529b<\/td>\n<td>\u539f\u5730<\/td>\n<td>\u8f7b\u76c8\u7684,\u76f4\u622a\u4e86\u5f53\u7684<\/td>\n<td>\u8f83\u8fc5\u6377,\u5e72\u51c0\u5229\u843d\u7684<\/td>\n<td>\u6d41\u7545\u8fde\u8d2f\u7684,\u5927\u5f00\u5927\u5408\u7684,\u79ef\u84c4\u529b\u91cf\u7684<\/td>\n<td>\u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u53f3\u624b\u4ece\u5de6\u540e\u84c4\u529b<\/td>\n<\/tr>\n<tr>\n<td>\u6b66\u5668\u653b\u51fb<\/td>\n<td>\u5927\u5251\/\u7279\u5927\u5251<\/td>\n<td>\u53cc\u6301,\u84c4\u529b\u91cd\u51fb<\/td>\n<td>\u524d<\/td>\n<td>\u624e\u5b9e\u7684,\u79ef\u84c4\u529b\u91cf\u7684<\/td>\n<td>\u5300\u901f\u7684,\u5148\u6162\u540e\u5feb\u7684<\/td>\n<td>\u6325\u51fb\u7684,\u6d41\u7545\u8fde\u8d2f\u7684,\u5927\u5f00\u5927\u5408\u7684,\u79ef\u84c4\u529b\u91cf\u7684,\u77ac\u95f4\u7206\u53d1\u7684<\/td>\n<td>\u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u53cc\u624b\u4ece\u5de6\u540e\u84c4\u529b\uff0c\u5411\u524d\u6325<\/td>\n<\/tr>\n<tr>\n<td>\u6b66\u5668\u653b\u51fb<\/td>\n<td>\u523a\u5251<\/td>\n<td>\u53f3\u624b,\u5355\u6301,\u672a\u84c4\u529b\u91cd\u51fb<\/td>\n<td>\u524d<\/td>\n<td>\u8f7b\u76c8\u7684,\u76f4\u622a\u4e86\u5f53\u7684<\/td>\n<td>\u8fc5\u6377\u7684<\/td>\n<td>\u523a\u51fb\u7684,\u6d41\u7545\u8fde\u8d2f\u7684<\/td>\n<td>\u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u53f3\u624b\u4ece\u5de6\u4e0a\u5411\u524d\u523a<\/td>\n<\/tr>\n<tr>\n<td>\u56de\u907f<\/td>\n<td>\u5f92\u624b<\/td>\n<td>\u63e1\u6301<\/td>\n<td>\u524d<\/td>\n<td>\u65e0\u529b\u7684,\u6c89\u91cd\u7684<\/td>\n<td>\u8f83\u8fdf\u7f13,\u62d6\u6ce5\u5e26\u6c34\u7684<\/td>\n<td>\u751f\u786c\u7684,\u6643\u60a0\u60a0\u7684,\u865a\u5f31\u7684,\u75db\u82e6\u7684<\/td>\n<td>\u5411\u524d\u6c89\u91cd\u5730\u8e52\u8dda\u3001\u8e09\u8dc4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>Response<\/h1>\n<p>\u6548\u679c\u8bc4\u4f30\uff1a<\/p>\n<blockquote>\n<p>GPT-3.5-Turbo\uff1a<\/p>\n<ol>\n<li>\u89d2\u8272\u53f3\u624b\u6301\u5927\u5251\uff0c\u539f\u5730\u84c4\u529b\u653b\u51fb\u3002\u52a8\u4f5c\u8f7b\u76c8\u800c\u76f4\u622a\u4e86\u5f53\uff0c\u53f3\u624b\u4ece\u5de6\u540e\u84c4\u529b\uff0c\u7136\u540e\u4ee5\u8f83\u8fc5\u6377\u800c\u5e72\u51c0\u5229\u843d\u7684\u901f\u5ea6\u6325\u780d\uff0c\u5c55\u73b0\u51fa\u6d41\u7545\u8fde\u8d2f\u7684\u5927\u5f00\u5927\u5408\u52a8\u4f5c\uff0c\u540c\u65f6\u79ef\u84c4\u4e86\u529b\u91cf\u3002<\/li>\n<li>\u89d2\u8272\u53cc\u624b\u63e1\u7740\u7279\u5927\u5251\uff0c\u4ee5\u624e\u5b9e\u7684\u59ff\u6001\u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u53cc\u624b\u4ece\u5de6\u540e\u79ef\u84c4\u529b\u91cf\uff0c\u7136\u540e\u4ee5\u5300\u901f\u7684\u901f\u5ea6\u5148\u6162\u540e\u5feb\u5730\u6325\u51fa\uff0c\u5f62\u6210\u6d41\u7545\u8fde\u8d2f\u7684\u5927\u5f00\u5927\u5408\u52a8\u4f5c\uff0c\u6700\u7ec8\u77ac\u95f4\u7206\u53d1\u5411\u524d\u6325\u51fb\u3002<\/li>\n<li>\u89d2\u8272\u53f3\u624b\u6301\u523a\u5251\uff0c\u8f7b\u76c8\u5730\u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u53f3\u624b\u4ece\u5de6\u4e0a\u8fc5\u6377\u5730\u5411\u524d\u523a\u51fa\uff0c\u5b8c\u6210\u4e00\u6b21\u76f4\u622a\u4e86\u5f53\u7684\u523a\u51fb\u52a8\u4f5c\u3002<\/li>\n<li>\u89d2\u8272\u4f7f\u7528\u5f92\u624b\u8fdb\u884c\u56de\u907f\u52a8\u4f5c\uff0c\u5411\u524d\u6c89\u91cd\u5730\u8e52\u8dc4\uff0c\u53cc\u624b\u751f\u786c\u5730\u63e1\u6301\u524d\u65b9\uff0c\u663e\u5f97\u65e0\u529b\u800c\u75db\u82e6\uff0c\u52a8\u4f5c\u8f83\u4e3a\u62d6\u6ce5\u5e26\u6c34\uff0c\u4eff\u4f5b\u662f\u5728\u865a\u5f31\u5730\u8eb2\u907f\u653b\u51fb\u3002<\/li>\n<\/ol>\n<\/blockquote>\n<blockquote>\n<p>GPT-4\uff1a<\/p>\n<ol>\n<li>\u89d2\u8272\u53f3\u624b\u63e1\u6301\u7279\u5927\u5251\uff0c\u539f\u5730\u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u4ece\u5de6\u540e\u84c4\u529b\u3002\u7136\u540e\u8f7b\u76c8\u4e14\u76f4\u622a\u4e86\u5f53\u5730\u8fdb\u884c\u84c4\u529b\u653b\u51fb\uff0c\u52a8\u4f5c\u6d41\u7545\u4e14\u8fde\u8d2f\uff0c\u901f\u5ea6\u8f83\u8fc5\u6377\u4e14\u5e72\u51c0\u5229\u843d\u5730\u5b8c\u6210\u4e00\u6b21\u5927\u5f00\u5927\u5408\u7684\u6325\u780d\u3002<\/li>\n<li>\u89d2\u8272\u53cc\u624b\u6301\u5927\u5251\u8fdb\u884c\u84c4\u529b\u653b\u51fb\uff0c\u624e\u5b9e\u5730\u4fa7\u8eab\u626d\u8170\u5411\u5de6\uff0c\u4ece\u5de6\u540e\u5f00\u59cb\u79ef\u84c4\u529b\u91cf\uff0c\u7136\u540e\u5728\u77ac\u95f4\u7206\u53d1\u5f0f\u5730\u5411\u524d\u6325\u780d\u3002<\/li>\n<li>\u89d2\u8272\u53f3\u624b\u63e1\u6301\u523a\u5251\uff0c\u8f7b\u76c8\u4e14\u76f4\u622a\u4e86\u5f53\u5730\u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u4ece\u5de6\u4e0a\u8fc5\u6377\u5730\u3001\u6d41\u7545\u8fde\u8d2f\u5730\u5411\u524d\u523a\u51fa\u3002<\/li>\n<li>\u89d2\u8272\u5728\u56de\u907f\u65f6\uff0c\u6ca1\u6709\u4f7f\u7528\u4efb\u4f55\u6b66\u5668\uff0c\u53ea\u662f\u6c89\u91cd\u5730\u63e1\u6301\u53cc\u624b\u3002\u4ed6\u5411\u524d\u751f\u786c\u4e14\u6643\u60a0\u60a0\u5730\u8e52\u8dda\u3001\u8e09\u8dc4\uff0c\u7ed9\u4eba\u4e00\u79cd\u75db\u82e6\u800c\u62d6\u6ce5\u5e26\u6c34\u7684\u611f\u89c9\u3002<\/li>\n<\/ol>\n<\/blockquote>\n<blockquote>\n<p>InternLM-20B\uff1a<\/p>\n<ol>\n<li>\n<p>\u89d2\u8272\u53f3\u624b\u4f7f\u7528\u5927\u5251\u6216\u7279\u5927\u5251\u8fdb\u884c\u5355\u624b\u6301\u5251\u84c4\u529b\u653b\u51fb\uff0c\u8f7b\u76c8\u5730\u76f4\u622a\u4e86\u5f53\u5730\u4fa7\u8eab\u626d\u8170\u5411\u5de6\uff0c\u4ece\u5de6\u540e\u84c4\u529b\uff0c\u7136\u540e\u5e72\u51c0\u5229\u843d\u5730\u8fdb\u884c\u653b\u51fb\u3002<\/p>\n<\/li>\n<li>\n<p>\u89d2\u8272\u53cc\u624b\u4f7f\u7528\u5927\u5251\u6216\u7279\u5927\u5251\u8fdb\u884c\u84c4\u529b\u653b\u51fb\uff0c\u624e\u5b9e\u5730\u4fa7\u8eab\u626d\u8170\u5411\u5de6\uff0c\u4ece\u5de6\u540e\u84c4\u529b\uff0c\u7136\u540e\u7206\u53d1\u5f0f\u5730\u5411\u524d\u6325\u780d\u3002<\/p>\n<\/li>\n<li>\n<p>\u89d2\u8272\u53f3\u624b\u4f7f\u7528\u523a\u5251\u8fdb\u884c\u672a\u84c4\u529b\u91cd\u51fb\uff0c\u8f7b\u76c8\u5730\u4fa7\u8eab\u626d\u8170\u5411\u5de6\uff0c\u4ece\u5de6\u4e0a\u5411\u524d\u523a\u51fb\u3002<\/p>\n<\/li>\n<li>\n<p>\u89d2\u8272\u4f7f\u7528\u5f92\u624b\u8fdb\u884c\u63e1\u6301\uff0c\u529b\u91cf\u611f\u6c89\u91cd\uff0c\u901f\u5ea6\u611f\u8fdf\u7f13\uff0c\u59ff\u52bf\u5f62\u5bb9\u53e5\u4e3a\u201c\u5411\u524d\u6c89\u91cd\u5730\u8e52\u8dda\u3001\u8e09\u8dc4\u201d\u3002<\/p>\n<ol>\n<li>\u89d2\u8272\u4f7f\u7528\u5f92\u624b\u8fdb\u884c\u63e1\u6301\u653b\u51fb\uff0c\u6c89\u91cd\u5730\u5411\u524d\u8e52\u8dda\u3001\u8e09\u8dc4\u3002<\/li>\n<li>\u89d2\u8272\u4f7f\u7528\u5f92\u624b\u8fdb\u884c\u653b\u51fb\uff0c\u4ee5\u6c89\u91cd\u7684\u529b\u91cf\u5411\u524d\u8fc8\u51fa\uff0c\u663e\u5f97\u751f\u786c\u800c\u865a\u5f31\uff0c\u4f46\u6b65\u4f10\u6c89\u91cd\u800c\u8e09\u8dc4\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/blockquote>\n<p>\u200d<\/p>\n<h1>Batch<\/h1>\n<p>\u57fa\u4e8e\u6837\u4f8b\u7ec4\u6279\u91cf\u521b\u5efa\u6a21\u677f Prompt\uff0c\u5355\u6279\u5904\u7406\u4e94\u6761\u6837\u4f8b<\/p>\n<p>\u6ce8\uff1a\u5f3a\u70c8\u5efa\u8bae\u5728\u4f7f\u7528\u65f6\u6253\u6563\u8f93\u5165 Group\uff0c\u5728\u53ec\u56de\u65f6\u53d1\u73b0<span style=\"font-weight: bold;\" data-type=\"strong\">\u76f8\u8fd1\u52a8\u4f5c\u5e76\u6392\u751f\u6210<\/span>\u5bb9\u6613\u9020\u6210<span style=\"font-weight: bold;\" data-type=\"strong\">\u6807\u6ce8\u8d28\u91cf\u4e0b\u964d\u548c\u590d\u8bfb<\/span><\/p>\n<pre><code class=\"language-python\">def generate_prompt_from_group(group):\n    prompt = &quot;&quot;&quot;\n    | \u52a8\u4f5cID | \u52a8\u4f5c\u7c7b\u578b | \u6b66\u5668\u7c7b\u578b | \u653b\u51fb\u7c7b\u578b | \u529b\u91cf\u611f\u63cf\u8ff0\u8bcd | \u901f\u5ea6\u611f\u63cf\u8ff0\u8bcd | \u6a21\u7cca\u63cf\u8ff0\u8bcd | \u59ff\u52bf\u5f62\u5bb9\u53e5 |\n    &quot;&quot;&quot;\n    for _, row in group.iterrows():\n        prompt += f&quot;\\n| {row['\u52a8\u753bID']} | {row['\u52a8\u4f5c\u7c7b\u578b']} | {row['\u6b66\u5668\u7c7b\u578b']} | {row['\u653b\u51fb\u7c7b\u578b']} | {row['\u529b\u91cf\u611f\u63cf\u8ff0\u8bcd']} | {row['\u901f\u5ea6\u611f\u63cf\u8ff0\u8bcd']} | {row['\u6a21\u7cca\u63cf\u8ff0\u8bcd']} | {row['\u59ff\u52bf\u5f62\u5bb9\u53e5']} |&quot;\n\n    messages = [{\n        &quot;role&quot;: &quot;system&quot;,\n        &quot;content&quot;: \n&quot;&quot;&quot;\n\u73b0\u5728\uff0c\u4f60\u662f\u4e00\u540d\u52a8\u753b\u6570\u636e\u96c6\u6807\u6ce8\u4e13\u5bb6\u3002\n\n\u4f60\u5c06\u5b8c\u6210\u5982\u4e0b\u4efb\u52a1\uff1a\u6839\u636e\u7ed9\u51fa\u7684\u63d0\u793a\uff0c\u521b\u5efa\u5408\u9002\u7684\u52a8\u4f5c\u63cf\u8ff0\u53e5\u5b50\uff0c\u5e76\u4ee5\u9002\u5f53\u7684\u683c\u5f0f\u8fd4\u56de\u3002\n\n\u63d0\u793a\u4e2d\u4f1a\u5305\u542b\u4ee5\u4e0b\u52a8\u4f5c\u4fe1\u606f\uff1a\n\n- &lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u52a8\u4f5c\u7c7b\u578b&lt;\/span&gt;\uff1a\u63cf\u8ff0\u52a8\u4f5c\u5728\u4f55\u79cd\u60c5\u5883\u4e2d\u88ab\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u201c\u6b66\u5668\u653b\u51fb\u201d\u8868\u793a\u4f7f\u7528\u67d0\u79cd\u6b66\u5668\u8fdb\u884c\u653b\u51fb\uff0c\u201c\u6cd5\u672f\u201d\u8868\u793a\u541f\u5531\u6cd5\u672f\u3002\u8fd8\u6709\u5176\u4ed6\u8bcd\u6c47\u5982\u201c\u9759\u6b62\u201d\u3001\u201c\u53d7\u51fb\u201d\u548c\u201c\u6b7b\u4ea1\u201d\u7528\u4e8e\u63cf\u8ff0\u5f53\u524d\u52a8\u4f5c\u7684\u72b6\u6001\u3002\n- &lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u6b66\u5668\u7c7b\u578b&lt;\/span&gt;\uff1a\u63cf\u8ff0\u5f53\u524d\u52a8\u4f5c\u4f7f\u7528\u7684\u6b66\u5668\u6216\u7279\u6b8a\u7269\u4ef6\u7c7b\u578b\uff0c\u901a\u5e38\u4e0e\u52a8\u4f5c\u7c7b\u578b-\u201c\u6b66\u5668\u653b\u51fb\u201d\u540c\u65f6\u51fa\u73b0\u3002\u6709\u65f6\u201c\u5f92\u624b\u201d\u8868\u793a\u5f53\u524d\u672a\u4f7f\u7528\u6b66\u5668\uff0c\u4e14\u5e76\u975e\u8fdb\u884c\u6218\u6597\u3002\n- &lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u653b\u51fb\u7c7b\u578b&lt;\/span&gt;\uff1a\u63cf\u8ff0\u653b\u51fb\u52a8\u753b\u7684\u65b9\u5f0f\uff0c\u5982\u201c\u53cc\u6301\u201d\u3001\u201c\u84c4\u529b\u201d\u3001\u201c\u8dd1\u6b65\u653b\u51fb\u201d\u548c\u201c\u8e22\u51fb\u201d\uff0c\u9700\u8981\u9002\u5f53\u7ed3\u5408\u5176\u5b83\u8bcd\u6c47\u6da6\u8272\u3002\n- &lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u529b\u91cf\u611f\u63cf\u8ff0\u8bcd&lt;\/span&gt;\uff1a\u5982\u201c\u8f7b\u76c8\u5730\u201d\u3001\u201c\u624e\u5b9e\u5730\u201d\u548c\u201c\u5177\u529b\u91cf\u611f\u7684\u201d\uff0c\u63cf\u8ff0\u52a8\u4f5c\u7684\u6574\u4f53\u98ce\u683c\u3002\u53ef\u4f5c\u4e3a\u6da6\u8272\u8981\u7d20\u52a0\u5165\uff0c\u4f46\u8bf7\u907f\u514d\u8bed\u4e49\u51b2\u7a81\u3002\n- &lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u901f\u5ea6\u611f\u63cf\u8ff0\u8bcd&lt;\/span&gt;\uff1a\u5982\u201c\u8fc5\u6377\u7684\u201d\u3001\u201c\u8f83\u8fc5\u6377\u201d\u548c\u201c\u8fdf\u7f13\u7684\u201d\uff0c\u63cf\u8ff0\u52a8\u4f5c\u7684\u901f\u5ea6\u3002\u7531\u4e8e\u901f\u5ea6\u611f\u5177\u6709\u91cf\u5316\u5206\u7ea7\uff0c\u8bf7\u8c28\u614e\u4f7f\u7528\u8bcd\u6c47\u3002\n- &lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u6a21\u7cca\u63cf\u8ff0\u8bcd&lt;\/span&gt;\uff1a\u4e00\u4e9b\u5199\u610f\u7684\u63cf\u8ff0\u8bcd\uff0c\u53ef\u4ee5\u9002\u5f53\u5728\u6da6\u8272\u4e2d\u53c2\u8003\uff0c\u4f46\u4e0d\u4e00\u5b9a\u8981\u76f4\u63a5\u4f7f\u7528\u3002\n- &lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u59ff\u52bf\u5f62\u5bb9\u53e5&lt;\/span&gt;\uff1a\u76f4\u63a5\u63cf\u8ff0\u52a8\u4f5c\u7684\u5185\u5bb9\u3002\n\n\u4f8b\u5982\uff0c\u57fa\u4e8e\u4e0b\u9762\u7ed9\u51fa\u7684\u63d0\u793a\uff0c\u53ef\u4ee5\u8fd9\u6837\u751f\u6210\u63cf\u8ff0: \n\n\u8f93\u5165\u6837\u4f8b: \n| \u52a8\u4f5cID | \u52a8\u4f5c\u7c7b\u578b | \u6b66\u5668\u7c7b\u578b | \u653b\u51fb\u7c7b\u578b | \u529b\u91cf\u611f\u63cf\u8ff0\u8bcd | \u901f\u5ea6\u611f\u63cf\u8ff0\u8bcd | \u6a21\u7cca\u63cf\u8ff0\u8bcd | \u59ff\u52bf\u5f62\u5bb9\u53e5 |\n| 000001 | \u6b66\u5668\u653b\u51fb | \u76f4\u5251 | \u53f3\u624b,\u5355\u6301,\u84c4\u529b\u91cd\u51fb | \u624e\u5b9e\u7684,\u79ef\u84c4\u529b\u91cf\u7684 | \u5300\u901f\u7684,\u5148\u6162\u540e\u5feb\u7684 | \u6325\u51fb\u7684,\u6d41\u7545\u8fde\u8d2f\u7684,\u5927\u5f00\u5927\u5408\u7684,\u79ef\u84c4\u529b\u91cf\u7684,\u77ac\u95f4\u7206\u53d1\u7684 | \u503e\u8eab\u626d\u8170\u5411\u5de6\uff0c\u53f3\u624b\u4ece\u5de6\u540e\u84c4\u529b\uff0c\u5411\u524d\u6325 |\n| 000004 | \u56de\u907f | \u5f92\u624b | \u63e1\u6301 | \u65e0\u529b\u7684,\u6c89\u91cd\u7684 | \u8f83\u8fdf\u7f13,\u62d6\u6ce5\u5e26\u6c34\u7684 | \u751f\u786c\u7684,\u6643\u60a0\u60a0\u7684,\u865a\u5f31\u7684,\u75db\u82e6\u7684 | \u5411\u524d\u6c89\u91cd\u5730\u8e52\u8dda\u3001\u8e09\u8dc4 |\n\n\u8f93\u51fa\u6837\u4f8b: \n[\n    {\n        &quot;ID&quot;: &quot;000001&quot;,\n        &quot;Desc_CN&quot;: &quot;\u89d2\u8272\u53f3\u624b\u4f7f\u7528\u76f4\u5251\u8fdb\u884c\u84c4\u529b\u653b\u51fb\uff0c\u624e\u5b9e\u5730\u4fa7\u8eab\u626d\u8170\u5411\u5de6\uff0c\u4ece\u5de6\u540e\u84c4\u529b\uff0c\u7136\u540e\u7206\u53d1\u5f0f\u5730\u5411\u524d\u6325\u780d\u3002&quot;,\n        &quot;Desc_EN&quot;: &quot;The character charges an attack with a straight sword in their right hand, firmly twists their waist to the side, turning to the left, and gathers strength from the left rear. Then, they explosively slash forward.&quot;\n    },\n    {\n        &quot;ID&quot;: &quot;000004&quot;,\n        &quot;Desc_CN&quot;: &quot;\u89d2\u8272\u56de\u907f\u5e76\u6c89\u91cd\u5730\u5411\u524d\u79fb\u52a8\uff0c\u6447\u6447\u6643\u6643\u3001\u8dcc\u8dcc\u649e\u649e\u3002&quot;,\n        &quot;Desc_EN&quot;: &quot;The character evades and moves forward heavily, staggering and stumbling. &quot;\n    }\n]\n\n&lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u7279\u522b\u6ce8\u610f&lt;\/span&gt;: \n- \u6b66\u5668\u7c7b\u578b\u4e3a\u5f92\u624b\u3001\u653b\u51fb\u7c7b\u578b\u4e3a\u63e1\u6301\u65f6\u4ec5\u8868\u793a\u89d2\u8272\u5f53\u524d\u7a7a\u624b\uff0c\u8bf7\u52ff\u4f7f\u7528 \u201c\u5f92\u624b\u63e1\u6301\u3001\u63e1\u6301\u7269\u54c1\u3001\u63e1\u6301\u7a7a\u624b\u201d \u7b49\u9519\u8bef\u63cf\u8ff0\n- \u6b66\u5668\u7c7b\u578b\u4f7f\u7528 \/ \u5206\u5272\u65f6\uff0c\u8868\u793a\u6216\uff0c\u5373\u5bf9\u51e0\u79cd\u6b66\u5668\u7c7b\u578b\u901a\u7528\u3002\u4f8b\u5982\u5bf9\u4e8e \u5c0f\u76fe\/\u4e2d\u76fe\/\u5927\u76fe \uff0c\u751f\u6210\u63cf\u8ff0\u53e5\u65f6\u53ea\u9700\u5199\u201c\u6301\u76fe\u201d\u5373\u53ef\n- \u503c\u4e3a nan \u8868\u793a\u5bf9\u5e94\u6761\u76ee\u7a7a\u7f6e\n- \u8bf7\u4e3b\u8981\u53c2\u8003&lt;span style=&quot;font-weight: bold;&quot; data-type=&quot;strong&quot;&gt;\u59ff\u52bf\u5f62\u5bb9\u53e5&lt;\/span&gt;\uff0c\u63cf\u8ff0\u8bcd\u4ec5\u88ab\u7528\u4e8e\u6da6\u8272\uff0c\u907f\u514d\u753b\u86c7\u6dfb\u8db3\n- \u8f93\u51fa\u4e2d\u6587\u8bed\u5883\u4e0b\u901a\u987a\u7684\u63cf\u8ff0\u53e5\n\n\u8bf7\u57fa\u4e8eUSER\u63d0\u4f9b\u7684\u6837\u4f8b\u751f\u6210\u63cf\u8ff0\u53e5: \n&quot;&quot;&quot;\n    }]\n\n    messages.append({&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: prompt})\n\n    # \u4f20\u9012\u7ed9API\n    # chat_response = chat_completion_request(messages)\n    # ... (\u8fd9\u90e8\u5206\u4ee3\u7801\u4e0e\u524d\u9762\u76f8\u4f3c)\n    return messages\n<\/code><\/pre>\n<p>\u5177\u4f53\u5b9e\u73b0\u89c1\u6587\u4ef6\uff0c\u867d\u8bf4\u4e0d\u77e5\u9053\u53d1\u5e03\u53d1\u5f97\u51fa\u53bb <a href=\"assets\/query_thread-20231105122215-4yozbib.ipynb\" target=\"_blank\"  rel=\"nofollow\" >query_thread.ipynb<\/a><\/p>\n<p>\u200d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MotionGPT \u52a8\u4f5c\u6807\u6ce8\u5957\u53d6\u4f8b \u200d \u901a\u8fc7 Prompt \u8bbe\u8ba1\uff0c\u627e OpenAI \u5e2e\u6211\u9760\u81ea\u7136\u8bed\u8a00\u6d17\u6570\u636e\u7528\u4f8b \u670d\u52a1\u4e8e\u8be5\u9879\u76ee fyy &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-453","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/posts\/453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/comments?post=453"}],"version-history":[{"count":2,"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/posts\/453\/revisions"}],"predecessor-version":[{"id":455,"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/posts\/453\/revisions\/455"}],"wp:attachment":[{"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/media?parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/categories?post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.cyasylum.top\/index.php\/wp-json\/wp\/v2\/tags?post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}