{"id":278,"date":"2026-01-09T09:49:03","date_gmt":"2026-01-09T01:49:03","guid":{"rendered":"http:\/\/ai.taichi-maker.com\/?page_id=278"},"modified":"2026-01-12T15:57:04","modified_gmt":"2026-01-12T07:57:04","slug":"stop","status":"publish","type":"page","link":"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/stop\/","title":{"rendered":"OpenAI API\u517c\u5bb9\u683c\u5f0f\u8bf7\u6c42\u53c2\u6570 \u2013 stop"},"content":{"rendered":"\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p>\u5bfc\u822a\u680f\uff1a<a href=\"http:\/\/ai.taichi-maker.com\/\">\u9996\u9875<\/a> \/ <a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/\">AI\u5f00\u53d1\u53c2\u8003\u8d44\u6599<\/a> \/ <a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/\">OpenAI API \u517c\u5bb9\u683c\u5f0f\u53c2\u8003\u8d44\u6599<\/a> \/ <a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/\">\u8bf7\u6c42\u53c2\u6570\u8be6\u89e3<\/a> \/ stop<\/p>\n\n\n\n<p style=\"border-width:1px;border-top-left-radius:6px;border-top-right-radius:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px\">\u5982\u679c\u60a8\u60f3\u6df1\u5165\u4e86\u89e3\u5982\u4f55\u501f\u52a9 OpenAI API \u6253\u9020\u4eba\u5de5\u667a\u80fd\u786c\u4ef6\uff0c\u6b22\u8fce\u8bbf\u95ee<a href=\"http:\/\/ai.taichi-maker.com\/index.php\/homepage\/ai-tutorial-index\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u672c\u7ad9\u6559\u7a0b\u76ee\u5f55\u9875<\/a>\uff0c\u67e5\u770b\u592a\u6781\u521b\u5ba2\u56e2\u961f\u4e3a\u60a8\u7cbe\u5fc3\u51c6\u5907\u7684\u7cfb\u5217\u6559\u7a0b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u53c2\u6570\u8bf4\u660e<\/h2>\n\n\n\n<p><code>stop<\/code>\u53c2\u6570\u7528\u4e8e\u5b9a\u4e49\u6a21\u578b\u751f\u6210\u5185\u5bb9\u7684\u7ec8\u6b62\u6761\u4ef6\u3002\u5f53\u6a21\u578b\u751f\u6210\u7684\u6587\u672c\u4e2d\u51fa\u73b0\u4efb\u4f55\u4e00\u4e2a\u6307\u5b9a\u7684\u505c\u6b62\u5e8f\u5217\u65f6\uff0c\u751f\u6210\u8fc7\u7a0b\u5c06\u7acb\u5373\u505c\u6b62\uff0c\u8fd4\u56de\u5df2\u751f\u6210\u7684\u5185\u5bb9\uff08\u4e0d\u5305\u542b\u505c\u6b62\u5e8f\u5217\u672c\u8eab\uff09\u3002<\/p>\n\n\n\n<p>\u8be5\u53c2\u6570\u53ef\u4ee5\u63a5\u53d7\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5355\u4e2a\u5b57\u7b26\u4e32<\/strong>\uff1a\u5f53\u751f\u6210\u5185\u5bb9\u4e2d\u51fa\u73b0\u8be5\u5b57\u7b26\u4e32\u65f6\u505c\u6b62<\/li>\n\n\n\n<li><strong>\u5b57\u7b26\u4e32\u6570\u7ec4<\/strong>\uff1a\u5f53\u751f\u6210\u5185\u5bb9\u4e2d\u51fa\u73b0\u6570\u7ec4\u4e2d\u7684\u4efb\u4f55\u4e00\u4e2a\u5b57\u7b26\u4e32\u65f6\u505c\u6b62<\/li>\n<\/ul>\n\n\n\n<p>\u9ed8\u8ba4\u503c\u4e3anull\uff0c\u8868\u793a\u6a21\u578b\u5c06\u7ee7\u7eed\u751f\u6210\u5185\u5bb9\u76f4\u5230\u8fbe\u5230max_tokens\u9650\u5236\u6216\u81ea\u7136\u7ed3\u675f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5fc5\u9700\u6027<\/h2>\n\n\n\n<p>stop\u662fAPI\u8bf7\u6c42\u4e2d\u7684\u53ef\u9009\u53c2\u6570\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f7f\u7528\u793a\u4f8b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u57fa\u672c\u7528\u6cd5<\/strong><\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#d8dee9ff;--cbp-line-number-width:calc(1 * 0.6 * .875rem);--cbp-line-highlight-color:rgba(201, 218, 248, 0.2);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{\n  \"model\": \"gpt-5.2\",\n  \"prompt\": \"\u8bf7\u7b80\u8981\u4ecb\u7ecd\u4eba\u5de5\u667a\u80fd\uff1a\",\n  \"stop\": \"\u3002\"\n}<\/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 nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">model<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">gpt-5.2<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">prompt<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">\u8bf7\u7b80\u8981\u4ecb\u7ecd\u4eba\u5de5\u667a\u80fd\uff1a<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line cbp-line-highlight\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">stop<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">\u3002<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u6b64\u793a\u4f8b\u5c06\u5728\u751f\u6210\u7b2c\u4e00\u4e2a\u53e5\u53f7\u65f6\u505c\u6b62\uff0c\u786e\u4fdd\u54cd\u5e94\u7b80\u6d01\u660e\u4e86\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u591a\u505c\u6b62\u5e8f\u5217<\/strong><\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#d8dee9ff;--cbp-line-number-width:calc(1 * 0.6 * .875rem);--cbp-line-highlight-color:rgba(201, 218, 248, 0.2);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{\n  \"model\": \"gpt-5.2\",\n  \"prompt\": \"\u8bf7\u5217\u51fa\u4e09\u79cd\u7f16\u7a0b\u8bed\u8a00\uff1a\",\n  \"stop\": &#91;\"\\n\", \"\u3002\"&#93;\n}<\/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 nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">model<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">gpt-5.2<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">prompt<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">\u8bf7\u5217\u51fa\u4e09\u79cd\u7f16\u7a0b\u8bed\u8a00\uff1a<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line cbp-line-highlight\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">stop<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#91;<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #EBCB8B\">\\n<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">\u3002<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u6b64\u793a\u4f8b\u5c06\u5728\u751f\u6210\u6362\u884c\u7b26\u6216\u53e5\u53f7\u65f6\u505c\u6b62\uff0c\u786e\u4fdd\u54cd\u5e94\u4e0d\u4f1a\u5305\u542b\u591a\u4f59\u7684\u5185\u5bb9\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u683c\u5f0f\u63a7\u5236<\/strong><\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#d8dee9ff;--cbp-line-number-width:calc(1 * 0.6 * .875rem);--cbp-line-highlight-color:rgba(201, 218, 248, 0.2);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{\n  \"model\": \"gpt-5.2\",\n  \"prompt\": \"\u8bf7\u4ee5JSON\u683c\u5f0f\u8fd4\u56de\u7528\u6237\u4fe1\u606f\uff1a\",\n  \"stop\": \"}\"\n}<\/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 nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">model<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">gpt-5.2<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">prompt<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">\u8bf7\u4ee5JSON\u683c\u5f0f\u8fd4\u56de\u7528\u6237\u4fe1\u606f\uff1a<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line cbp-line-highlight\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #8FBCBB\">stop<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">}<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u6b64\u793a\u4f8b\u5c06\u5728\u751f\u6210JSON\u95ed\u5408\u5927\u62ec\u53f7\u65f6\u505c\u6b62\uff0c\u786e\u4fdd\u8fd4\u56de\u5b8c\u6574\u7684JSON\u5bf9\u8c61\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u6ce8\u610f\u4e8b\u9879<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u505c\u6b62\u5e8f\u5217\u957f\u5ea6\u9650\u5236<\/strong>\uff1a\u6700\u591a\u53ef\u6307\u5b9a 4 \u4e2a\u505c\u6b62\u5e8f\u5217\uff0c\u5355\u4e2a\u505c\u6b62\u5e8f\u5217\u957f\u5ea6\u4e0d\u5b9c\u8fc7\u957f\uff0c\u4ee5\u514d\u5f71\u54cd\u6a21\u578b\u751f\u6210\u903b\u8f91\u4e0e\u6548\u7387\u3002<\/li>\n\n\n\n<li><strong>\u533a\u5206\u5927\u5c0f\u5199<\/strong>\uff1a\u505c\u6b62\u5e8f\u5217\u5339\u914d\u662f\u533a\u5206\u5927\u5c0f\u5199\u7684<\/li>\n\n\n\n<li><strong>\u4e0d\u5305\u542b\u505c\u6b62\u5e8f\u5217<\/strong>\uff1a\u8fd4\u56de\u7684\u54cd\u5e94\u4e2d\u4e0d\u4f1a\u5305\u542b\u505c\u6b62\u5e8f\u5217\u672c\u8eab<\/li>\n\n\n\n<li><strong>\u4f18\u5148\u7ea7<\/strong>\uff1astop\u53c2\u6570\u4f18\u5148\u4e8emax_tokens\u53c2\u6570<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e38\u89c1\u95ee\u9898<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q: stop\u53c2\u6570\u548cmax_tokens\u53c2\u6570\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/h3>\n\n\n\n<p>A: stop\u53c2\u6570\u57fa\u4e8e\u5185\u5bb9\u505c\u6b62\u751f\u6210\uff0c\u800cmax_tokens\u53c2\u6570\u57fa\u4e8e\u4ee4\u724c\u6570\u91cf\u505c\u6b62\u751f\u6210\u3002\u5982\u679c\u540c\u65f6\u8bbe\u7f6e\uff0cstop\u53c2\u6570\u7684\u4f18\u5148\u7ea7\u66f4\u9ad8\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q: \u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u4f5c\u4e3a\u505c\u6b62\u5e8f\u5217\u5417\uff1f<\/h3>\n\n\n\n<p>A: \u4e0d\u53ef\u4ee5\uff0cstop\u53c2\u6570\u53ea\u63a5\u53d7\u56fa\u5b9a\u5b57\u7b26\u4e32\u4f5c\u4e3a\u505c\u6b62\u5e8f\u5217\uff0c\u4e0d\u652f\u6301\u6b63\u5219\u8868\u8fbe\u5f0f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q: \u505c\u6b62\u5e8f\u5217\u7684\u6700\u5927\u6570\u91cf\u662f\u591a\u5c11\uff1f<\/h3>\n\n\n\n<p>A: \u6700\u591a\u53ef\u4ee5\u8bbe\u7f6e4\u4e2a\u505c\u6b62\u5e8f\u5217\u3002<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h2 class=\"wp-block-heading\">OpenAI API\u517c\u5bb9\u683c\u5f0f\u76ee\u5f55<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-format\/\">\u8bf7\u6c42\u683c\u5f0f\u6982\u89c8<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/\" data-type=\"link\" data-id=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/\">\u8bf7\u6c42\u53c2\u6570\u8be6\u89e3<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/model\/\">model<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/messages\/\">messages<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/temperature\/\">temperature<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/max_tokens\/\">max_tokens<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/stream\/\">stream<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/stop\/\" data-type=\"page\" data-id=\"278\">stop<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/top_p\/\">top_p<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/n\/\">n<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/presence_penalty\/\" data-type=\"page\" data-id=\"347\">presence_penalty<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/frequency_penalty\/\" data-type=\"page\" data-id=\"361\">frequency_penalty<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/user\/\">user<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/response_format\/\" data-type=\"page\" data-id=\"331\">response_format<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/tools\/\">tools<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/tool_choice\/\">tool_choice<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/logit_bias\/\">logit_bias<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/logprobs_description\/\">logprobs<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/top_logprobs\/\">top_logprobs<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai-api-references\/openai-api-compatible-format\/openai-api-request-parameters\/seed\/\">seed<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u5e38\u89c1\u7ec4\u548c\u7528\u6cd5<\/li>\n\n\n\n<li>\u9644\u5f55<\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5bfc\u822a\u680f\uff1a\u9996\u9875 \/ AI\u5f00\u53d1\u53c2\u8003\u8d44\u6599 \/ OpenAI API \u517c\u5bb9\u683c\u5f0f\u53c2\u8003\u8d44\u6599 \/ \u8bf7\u6c42\u53c2\u6570\u8be6\u89e3 \/ stop [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":193,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-278","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":12,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages\/278\/revisions"}],"predecessor-version":[{"id":391,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages\/278\/revisions\/391"}],"up":[{"embeddable":true,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages\/193"}],"wp:attachment":[{"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/media?parent=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}