PageSourceSearch

https://dreamy-goldstine-d64959.netlify.app/assets/js/ce68622d.f579f040.js

js dreamy-goldstine-d64959.netlify.app collected 2026-10-03 10:43:43 UTC 12,240 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9587],{6903:(e,t,n)=>{n.d(t,{A:()=>o});n(6540);var i=n(1176),r=n(4848);function o(){return(0,r.jsx)(i.A.Google,{style:{display:"block",textAlign:"center"},layout:"in-article",format:"fluid",client:"ca-pub-7015533392136941",slot:"7527831842"})}},6992:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"services/lingyi","title":"\u96f6\u4e00\u4e07\u7269\uff08\u4e07\u77e5\uff09","description":"\u5728\u5212\u8bcd\u7ffb\u8bd1\u5167\u4f7f\u7528\u96f6\u4e00\u4e07\u7269\u7684\u65b9\u5f0f\u6709\u4e24\u79cd\u3002","source":"@site/docs/services/lingyi.mdx","sourceDirName":"services","slug":"/services/lingyi","permalink":"/docs/services/lingyi","draft":false,"unlisted":false,"editUrl":"/docs/edit-note?docs%2Fservices%2Flingyi.mdx","tags":[],"version":"current","lastUpdatedAt":1762083386000,"frontMatter":{},"sidebar":"servicesSidebar","previous":{"title":"\u901a\u4e49\u5343\u95ee","permalink":"/docs/services/tongyi"},"next":{"title":"DeepSeek","permalink":"/docs/services/deepseek"}}');var r=n(4848),o=n(8453);n(6903);const s={},l="\u96f6\u4e00\u4e07\u7269\uff08\u4e07\u77e5\uff09",a={},c=[{value:"\u7b2c\u4e00\u79cd\uff1a\u8d2d\u4e70\u3010\u5957\u9910\u5305\u3011\u76f4\u63a5\u4f7f\u7528",id:"\u7b2c\u4e00\u79cd\u8d2d\u4e70\u5957\u9910\u5305\u76f4\u63a5\u4f7f\u7528",level:2},{value:"\u7b2c\u4e8c\u79cd\uff1a\u81ea\u884c\u7533\u8bf7\u96f6\u4e00\u4e07\u7269\u670d\u52a1",id:"\u7b2c\u4e8c\u79cd\u81ea\u884c\u7533\u8bf7\u96f6\u4e00\u4e07\u7269\u670d\u52a1",level:2},{value:"OpenAI \u63a5\u53e3\u517c\u5bb9\u6027",id:"openai-compatibility",level:3},{value:"\u6a21\u578b\u4e0e\u4ef7\u683c",id:"prices",level:3},{value:"\u7533\u8bf7\u6b65\u9aa4",id:"steps",level:3},{value:"\u7b2c\u4e00\u6b65\uff1a\u6ce8\u518c\u8d26\u53f7",id:"register",level:4},{value:"\u7b2c\u4e8c\u6b65\uff1a\u521b\u5efa API Key",id:"create-key",level:4},{value:"\u7b2c\u4e09\u6b65\uff1a\u5c06 API Key \u586b\u5199\u8fdb\u5212\u8bcd\u7ffb\u8bd1\u5f53\u4e2d",id:"use-key",level:4},{value:"\u5207\u6362\u6a21\u578b",id:"switch-model",level:3}];function d(e){const t={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",ul:"ul",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"\u96f6\u4e00\u4e07\u7269\u4e07\u77e5",children:"\u96f6\u4e00\u4e07\u7269\uff08\u4e07\u77e5\uff09"})}),"\n",(0,r.jsx)(t.p,{children:"\u5728\u5212\u8bcd\u7ffb\u8bd1\u5167\u4f7f\u7528\u96f6\u4e00\u4e07\u7269\u7684\u65b9\u5f0f\u6709\u4e24\u79cd\u3002"}),"\n",(0,r.jsx)(t.h2,{id:"\u7b2c\u4e00\u79cd\u8d2d\u4e70\u5957\u9910\u5305\u76f4\u63a5\u4f7f\u7528",children:"\u7b2c\u4e00\u79cd\uff1a\u8d2d\u4e70\u3010\u5957\u9910\u5305\u3011\u76f4\u63a5\u4f7f\u7528"}),"\n",(0,r.jsx)(t.p,{children:"\u53ea\u9700\u8d2d\u4e70\u5212\u8bcd\u7ffb\u8bd1\u7684\u3010\u5957\u9910\u5305\u3011\uff0c\u5373\u53ef\u76f4\u63a5\u4f7f\u7528\u5305\u62ec\u96f6\u4e00\u4e07\u7269\u5728\u5167\u7684\u6240\u6709\u670d\u52a1\u3002"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.a,{href:"/docs/pricing/package",children:"\u70b9\u51fb\u67e5\u770b\u5957\u9910\u5305\u7684\u8be6\u7ec6\u8bf4\u660e"})}),"\n",(0,r.jsx)(t.h2,{id:"\u7b2c\u4e8c\u79cd\u81ea\u884c\u7533\u8bf7\u96f6\u4e00\u4e07\u7269\u670d\u52a1",children:"\u7b2c\u4e8c\u79cd\uff1a\u81ea\u884c\u7533\u8bf7\u96f6\u4e00\u4e07\u7269\u670d\u52a1"}),"\n",(0,r.jsxs)(t.admonition,{type:"tip",children:[(0,r.jsx)(t.p,{children:"\u6587\u6863\u5185\u5bb9\u53ef\u80fd\u4f1a\u8fc7\u65f6\uff0c\u8bf7\u4ee5\u96f6\u4e00\u4e07\u7269\u5927\u6a21\u578b\u5f00\u653e\u5e73\u53f0\u8bf4\u660e\u4e3a\u51c6\u3002"}),(0,r.jsxs)(t.p,{children:["\u76f8\u5173\u94fe\u63a5\uff1a",(0,r.jsx)(t.a,{href:"https://platform.lingyiwanwu.com/",children:"\u96f6\u4e00\u4e07\u7269\u4ecb\u7ecd"})," ",(0,r.jsx)(t.a,{href:"https://platform.lingyiwanwu.com/docs#%E4%BA%A7%E5%93%81%E5%AE%9A%E4%BB%B7",children:"\u96f6\u4e00\u4e07\u7269\u5b9a\u4ef7\u6587\u6863"})]})]}),"\n",(0,r.jsx)(t.h3,{id:"openai-compatibility",children:"OpenAI \u63a5\u53e3\u517c\u5bb9\u6027"}),"\n",(0,r.jsxs)(t.p,{children:["\u6b64\u670d\u52a1\u517c\u5bb9 OpenAI \u63a5\u53e3\u3002\u67e5\u7
170b\u8bf4\u660e\uff1a",(0,r.jsx)(t.a,{href:"/docs/faqs/openai-compatibilty",children:"\u4ec0\u4e48\u662f\u201c\u517c\u5bb9 OpenAI \u63a5\u53e3\u7684\u670d\u52a1\u201d\uff1f\u6709\u4ec0\u4e48\u7528\uff1f"})]}),"\n",(0,r.jsx)(t.h3,{id:"prices",children:"\u6a21\u578b\u4e0e\u4ef7\u683c"}),"\n",(0,r.jsxs)(t.p,{children:["\u96f6\u4e00\u4e07\u7269\u7684\u6a21\u578b\u4ecb\u7ecd\u53ef\u4ee5\u770b",(0,r.jsx)(t.a,{href:"https://platform.lingyiwanwu.com/docs#%E6%A8%A1%E5%9E%8B",children:"\u96f6\u4e00\u4e07\u7269\u6a21\u578b\u4ecb\u7ecd"}),"\uff0c\u5176\u4e2d\u4ee5\u4e0b\u6a21\u578b\u6bd4\u8f83\u9002\u5408\u7528\u6765\u7ffb\u8bd1\uff1a"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"yi-medium"}),"\uff1a\u6bcf\u767e\u4e07 token \u7684\u8f93\u5165\u4ef7\u683c\u4e3a 2.5 \u5143\uff0c\u8f93\u51fa\u4ef7\u683c\u4e3a 2.5 \u5143"]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"yi-large-turbo"}),"\uff1a\u6bcf\u767e\u4e07 token \u7684\u8f93\u5165\u4ef7\u683c\u4e3a 12 \u5143\uff0c\u8f93\u51fa\u4ef7\u683c\u4e3a 12 \u5143"]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"yi-large"}),"\uff1a\u6bcf\u767e\u4e07 token \u7684\u8f93\u5165\u4ef7\u683c\u4e3a 20 \u5143\uff0c\u8f93\u51fa\u4ef7\u683c\u4e3a 20 \u5143"]}),"\n"]}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:["\u65b0\u7528\u6237\u6ce8\u518c\u540e\u4f1a\u8d60\u9001 36 \u5143\u4f53\u9a8c\u91d1\uff0c\u4e0d\u4f1a\u8fc7\u671f\u3002","\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:["\u5269\u4f59\u91d1\u989d\u89c1",(0,r.jsx)(t.a,{href:"https://platform.lingyiwanwu.com/billing",children:"\u8d26\u5355\u6982\u89c8 | \u96f6\u4e00\u4e07\u7269\u5927\u6a21\u578b\u5f00\u653e\u5e73\u53f0"}),"\u3002"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(t.li,{children:"\u201c\u8f93\u5165\u201d\u5373\u4f60\u53d1\u9001\u7ed9\u6a21\u578b\u7684\u5f85\u7ffb\u8bd1\u6587\u672c\uff0c\u201c\u8f93\u51fa\u201d\u5373\u6a21\u578b\u63d0\u4f9b\u7684\u7ffb\u8bd1\u7ed3\u679c\uff0c\u7ffb\u8bd1\u4e00\u6b21\u7684\u6700\u7ec8\u4ef7\u683c = \u8f93\u5165 token * \u4ef7\u683c + \u8f93\u51fa token * \u4ef7\u683c\u3002"}),"\n",(0,r.jsx)(t.li,{children:"1 \u4e2a token \u5927\u7ea6\u5bf9\u5e94 1 \u4e2a\u6c49\u5b57\u6216 3 \u81f3 4 \u4e2a\u5b57\u6bcd\u3002"}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(t.h3,{id:"steps",children:"\u7533\u8bf7\u6b65\u9aa4"}),"\n",(0,r.jsx)(t.h4,{id:"register",children:"\u7b2c\u4e00\u6b65\uff1a\u6ce8\u518c\u8d26\u53f7"}),"\n",(0,r.jsxs)(t.p,{children:["\u8fdb\u5165",(0,r.jsx)(t.a,{href:"https://platform.lingyiwanwu.com/apikeys",children:"\u96f6\u4e00\u4e07\u7269\u5927\u6a21\u578b\u5f00\u653e\u5e73\u53f0\u5de5\u4f5c\u53f0"}),"\uff0c\u6839\u636e\u63d0\u793a\u6ce8\u518c\u6216\u767b\u9646\u8d26\u53f7\u3002"]}),"\n",(0,r.jsx)(t.h4,{id:"create-key",children:"\u7b2c\u4e8c\u6b65\uff1a\u521b\u5efa API Key"}),"\n",(0,r.jsxs)(t.p,{children:["\u8fdb\u5165 ",(0,r.jsx)(t.a,{href:"https://platform.lingyiwanwu.com/apikeys",children:"API Key \u7ba1\u7406"}),"\uff0c\u70b9\u51fb\u3010\u521b\u5efa API Key\u3011\uff0c\u586b\u5199\u540d\u79f0\u201c\u5212\u8bcd\u7ffb\u8bd1\u201d\u540e\u5373\u53ef\u521b\u5efa\u65b0\u7684 API Key\uff0c\u590d\u5236\u540e\u5907\u7528\u3002"]}),"\n",(0,r.jsx)(t.h4,{id:"use-key",children:"\u7b2c\u4e09\u6b65\uff1a\u5c06 API Key \u586b\u5199\u8fdb\u5212\u8bcd\u7ffb\u8bd1\u5f53\u4e2d"}),"\n",(0,r.jsx)(t.p,{children:"\u5c06\u521a\u624d\u521b\u5efa\u7684 API Key \u586b\u5199\u8fdb\u5212\u8bcd\u7ffb\u8bd1\u7684\u3010\u8bbe\u7f6e\u9875\u3011-\u3010\u670d\u52a1\u7533\u8bf7\u3011-\u3010\u96f6\u4e00\u4e07\u7269\u3011-\u3010\u7ba1\u7406\u5bc6\u94a5\u3011\u91cc\u5373\u53ef\u3002"}),"\n",(0,r.jsx)(t.h3,{id:"switch-model",children:"\u5207\u6362\u6a21\u578b"}),"\n",(0,r.jsxs)(t.p,{children:["\u5212\u8bcd\u7ffb\u8bd1\u9ed8\u8ba4\u4f7f\u7528 ",(0,r.jsx)(t.code,{children:"yi-medium"})," \u6a21\u578b\uff0c\u4f60\u53ef\u4ee5\u524d\u5f80\u5212\u8bcd\u7ffb\u8bd1\u7684\u3010\u8bbe\u7f6e\u9875\u3011-\u3010\u7b2c\u4e09\u65b9\u670d\u52a1\u3011-\u3010\u96f6\u4e00\u4e07\u7269\u3011\u91cc\u5207\u6362\u6a21\u578b\u6216\u8c03\u6574\u7ffb\u8bd1\u547d\u4ee4\u3002"]})]})}function u(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},2115:(e,t,n)=>
1{Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(6540),s=(i=o)&&i.__esModule?i:{default:i};var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return s.default.createElement("div",{className:"adsbybaidu"},"TODO")}}]),t}(s.default.Component);t.default=l},8265:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=s(n(6540)),o=s(n(5556));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){window&&(window.adsbygoogle=window.adsbygoogle||[]).push({})}},{key:"render",value:function(){return r.default.createElement("ins",{className:this.props.className+" adsbygoogle",style:this.props.style,"data-ad-client":this.props.client,"data-ad-slot":this.props.slot,"data-ad-layout":this.props.layout,"data-ad-layout-key":this.props.layoutKey,"data-ad-format":this.props.format,"data-full-width-responsive":this.props.responsive})}}]),t}(r.default.Component);t.default=l,l.propTypes={className:o.default.string,style:o.default.object,client:o.default.string.isRequired,slot:o.default.string.isRequired,layout:o.default.string,layoutKey:o.default.string,format:o.default.string,responsive:o.default.string},l.defaultProps={className:"",style:{display:"block"},format:"auto",layout:"",layoutKey:"",responsive:"false"}},1176:(e,t,n)=>{var i=o(n(8265)),r=o(n(2115));function o(e){return e&&e.__esModule?e:{default:e}}var s={Google:i.default,Baidu:r.default};t.A=s},8453:(e,t,n)=>{n.d(t,{R:()=>s,x:()=>l});var i=n(6540);const r={},o=i.createContext(r);function s(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.