[{"data":1,"prerenderedAt":2212},["ShallowReactive",2],{"content-/topics/engineering/build-ai-driven-app-from-zero-to-one-guide":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"category":5,"tags":11,"author":17,"featured":18,"series":19,"seriesOrder":20,"readingTime":21,"image":22,"body":23,"_type":2206,"_id":2207,"_source":2208,"_file":2209,"_stem":2210,"_extension":2211},"/topics/engineering/build-ai-driven-app-from-zero-to-one-guide","engineering",false,"","从 0 到 1：做一个 AI 驱动应用的完整实战指南","真正的 AI 应用不是把聊天框接上模型，而是从场景定义、数据闭环、模型路由、前后端交互、成本控制、安全防护到上线迭代的一整套工程系统。本文给出一条从 0 到 1 的完整落地路线。","2026-03-08",[12,13,14,15,16],"AI应用","产品落地","系统设计","LLM工程","创业实践","小明",true,"ai-integration-and-intelligent-applications",6,19,"/images/articles/build-ai-driven-app-from-zero-to-one-guide-cover.jpg",{"type":24,"children":25,"toc":2146},"root",[26,34,40,65,70,79,84,89,131,136,144,149,154,190,195,199,206,211,229,234,246,253,260,265,288,294,299,305,310,316,334,339,357,360,366,371,376,382,487,493,498,521,526,544,550,555,560,563,569,575,580,640,646,651,684,689,695,1042,1047,1050,1056,1061,1079,1084,1090,1095,1113,1118,1136,1142,1160,1166,1171,1189,1194,1217,1222,1225,1231,1236,1242,1260,1266,1294,1300,1328,1333,1336,1342,1347,1353,1381,1387,1410,1415,1418,1424,1429,1434,1457,1463,1550,1556,1561,1566,1569,1575,1581,1586,1591,1609,1615,1620,1625,1647,1653,1658,1662,1688,1694,1699,1703,1726,1732,1737,1741,1764,1767,1773,1779,1784,1807,1812,1818,1823,1846,1851,1857,1862,1867,1895,1898,1904,1909,1943,1948,1979,1984,2022,2027,2058,2061,2066,2071,2114,2119,2127,2132,2140],{"type":27,"tag":28,"props":29,"children":31},"element","h1",{"id":30},"从-0-到-1做一个-ai-驱动应用的完整实战指南",[32],{"type":33,"value":8},"text",{"type":27,"tag":35,"props":36,"children":37},"p",{},[38],{"type":33,"value":39},"很多人想做 AI 产品时，脑子里的第一画面都很统一：",{"type":27,"tag":41,"props":42,"children":43},"ul",{},[44,50,55,60],{"type":27,"tag":45,"props":46,"children":47},"li",{},[48],{"type":33,"value":49},"一个输入框",{"type":27,"tag":45,"props":51,"children":52},{},[53],{"type":33,"value":54},"一个模型接口",{"type":27,"tag":45,"props":56,"children":57},{},[58],{"type":33,"value":59},"一段流式输出",{"type":27,"tag":45,"props":61,"children":62},{},[63],{"type":33,"value":64},"一个看起来很聪明的回答",{"type":27,"tag":35,"props":66,"children":67},{},[68],{"type":33,"value":69},"然后就会自然得出一个结论：",{"type":27,"tag":71,"props":72,"children":73},"blockquote",{},[74],{"type":27,"tag":35,"props":75,"children":76},{},[77],{"type":33,"value":78},"AI 应用的核心，不就是把聊天做出来吗？",{"type":27,"tag":35,"props":80,"children":81},{},[82],{"type":33,"value":83},"这当然不算错，但它只覆盖了最外面那一层皮。",{"type":27,"tag":35,"props":85,"children":86},{},[87],{"type":33,"value":88},"真正把一个 AI 应用做起来，你很快会碰到比“回答能不能出来”更复杂的问题：",{"type":27,"tag":41,"props":90,"children":91},{},[92,97,102,107,121,126],{"type":27,"tag":45,"props":93,"children":94},{},[95],{"type":33,"value":96},"这个产品到底解决什么真实问题",{"type":27,"tag":45,"props":98,"children":99},{},[100],{"type":33,"value":101},"为什么用户愿意反复用，而不是试两次就走",{"type":27,"tag":45,"props":103,"children":104},{},[105],{"type":33,"value":106},"模型调用如何封装，成本如何控制",{"type":27,"tag":45,"props":108,"children":109},{},[110,112,119],{"type":33,"value":111},"需要 ",{"type":27,"tag":113,"props":114,"children":116},"code",{"className":115},[],[117],{"type":33,"value":118},"RAG",{"type":33,"value":120},"、工具调用、工作流还是只是一个简单问答",{"type":27,"tag":45,"props":122,"children":123},{},[124],{"type":33,"value":125},"输出质量怎么评估",{"type":27,"tag":45,"props":127,"children":128},{},[129],{"type":33,"value":130},"故障、降级、安全、配额、埋点、灰度怎么做",{"type":27,"tag":35,"props":132,"children":133},{},[134],{"type":33,"value":135},"到了这一步，你会发现：",{"type":27,"tag":71,"props":137,"children":138},{},[139],{"type":27,"tag":35,"props":140,"children":141},{},[142],{"type":33,"value":143},"AI 应用的难点，从来不是模型接进来，而是把不确定能力嵌进确定的产品和工程系统。",{"type":27,"tag":35,"props":145,"children":146},{},[147],{"type":33,"value":148},"这篇文章就想讲清楚，怎样从 0 到 1 做一个真正能上线、能迭代、能活下去的 AI 驱动应用。",{"type":27,"tag":35,"props":150,"children":151},{},[152],{"type":33,"value":153},"不讲空泛愿景，直接从工程和产品共同视角拆开：",{"type":27,"tag":155,"props":156,"children":157},"ol",{},[158,163,175,180,185],{"type":27,"tag":45,"props":159,"children":160},{},[161],{"type":33,"value":162},"怎样定义一个值得做的 AI 场景",{"type":27,"tag":45,"props":164,"children":165},{},[166,168,173],{"type":33,"value":167},"怎样决定你到底需要聊天、",{"type":27,"tag":113,"props":169,"children":171},{"className":170},[],[172],{"type":33,"value":118},{"type":33,"value":174},"、Agent 还是工作流",{"type":27,"tag":45,"props":176,"children":177},{},[178],{"type":33,"value":179},"前后端和模型层应该怎么分工",{"type":27,"tag":45,"props":181,"children":182},{},[183],{"type":33,"value":184},"怎样建立质量、成本、安全、观测四条底线",{"type":27,"tag":45,"props":186,"children":187},{},[188],{"type":33,"value":189},"上线后如何形成数据闭环，把产品越做越准",{"type":27,"tag":35,"props":191,"children":192},{},[193],{"type":33,"value":194},"如果你准备做第一个 AI 产品，这篇可以当路线图。",{"type":27,"tag":196,"props":197,"children":198},"hr",{},[],{"type":27,"tag":200,"props":201,"children":203},"h2",{"id":202},"一第一步不是选模型而是找高价值可控边界的场景",[204],{"type":33,"value":205},"一、第一步不是选模型，而是找“高价值、可控边界”的场景",{"type":27,"tag":35,"props":207,"children":208},{},[209],{"type":33,"value":210},"很多 AI 项目一开始就陷入模型选型比较：",{"type":27,"tag":41,"props":212,"children":213},{},[214,219,224],{"type":27,"tag":45,"props":215,"children":216},{},[217],{"type":33,"value":218},"谁更聪明",{"type":27,"tag":45,"props":220,"children":221},{},[222],{"type":33,"value":223},"谁更便宜",{"type":27,"tag":45,"props":225,"children":226},{},[227],{"type":33,"value":228},"谁上下文更长",{"type":27,"tag":35,"props":230,"children":231},{},[232],{"type":33,"value":233},"这些都重要，但在 0 到 1 阶段，更应该先问：",{"type":27,"tag":71,"props":235,"children":236},{},[237],{"type":27,"tag":35,"props":238,"children":239},{},[240],{"type":27,"tag":241,"props":242,"children":243},"strong",{},[244],{"type":33,"value":245},"什么问题值得让 AI 来解决？",{"type":27,"tag":247,"props":248,"children":250},"h3",{"id":249},"_11-一个值得做的-ai-场景通常有三个特征",[251],{"type":33,"value":252},"1.1 一个值得做的 AI 场景通常有三个特征",{"type":27,"tag":254,"props":255,"children":257},"h4",{"id":256},"a-用户原本真的有摩擦",[258],{"type":33,"value":259},"A. 用户原本真的有摩擦",{"type":27,"tag":35,"props":261,"children":262},{},[263],{"type":33,"value":264},"不是“有 AI 所以想塞一个 AI”，而是：",{"type":27,"tag":41,"props":266,"children":267},{},[268,273,278,283],{"type":27,"tag":45,"props":269,"children":270},{},[271],{"type":33,"value":272},"查资料太慢",{"type":27,"tag":45,"props":274,"children":275},{},[276],{"type":33,"value":277},"处理文本太累",{"type":27,"tag":45,"props":279,"children":280},{},[281],{"type":33,"value":282},"重复判断太多",{"type":27,"tag":45,"props":284,"children":285},{},[286],{"type":33,"value":287},"搜索成本太高",{"type":27,"tag":254,"props":289,"children":291},{"id":290},"b-结果允许概率型系统介入",[292],{"type":33,"value":293},"B. 结果允许概率型系统介入",{"type":27,"tag":35,"props":295,"children":296},{},[297],{"type":33,"value":298},"如果场景要求绝对确定、绝对实时、绝对零误差，那 AI 往往不是第一选择。",{"type":27,"tag":254,"props":300,"children":302},{"id":301},"c-结果可以被约束被审查被迭代",[303],{"type":33,"value":304},"C. 结果可以被约束、被审查、被迭代",{"type":27,"tag":35,"props":306,"children":307},{},[308],{"type":33,"value":309},"完全无法验证、无法观察的 AI 场景，0 到 1 阶段风险通常太高。",{"type":27,"tag":247,"props":311,"children":313},{"id":312},"_12-三类很适合起步的方向",[314],{"type":33,"value":315},"1.2 三类很适合起步的方向",{"type":27,"tag":41,"props":317,"children":318},{},[319,324,329],{"type":27,"tag":45,"props":320,"children":321},{},[322],{"type":33,"value":323},"内容总结和改写",{"type":27,"tag":45,"props":325,"children":326},{},[327],{"type":33,"value":328},"企业知识助手",{"type":27,"tag":45,"props":330,"children":331},{},[332],{"type":33,"value":333},"文本分类、标签、草稿生成",{"type":27,"tag":35,"props":335,"children":336},{},[337],{"type":33,"value":338},"这些场景的共同点是：",{"type":27,"tag":41,"props":340,"children":341},{},[342,347,352],{"type":27,"tag":45,"props":343,"children":344},{},[345],{"type":33,"value":346},"用户价值清晰",{"type":27,"tag":45,"props":348,"children":349},{},[350],{"type":33,"value":351},"输入输出边界相对明确",{"type":27,"tag":45,"props":353,"children":354},{},[355],{"type":33,"value":356},"可先从“辅助”而非“全自动”开始",{"type":27,"tag":196,"props":358,"children":359},{},[],{"type":27,"tag":200,"props":361,"children":363},{"id":362},"二别默认所有-ai-应用都该做成聊天框",[364],{"type":33,"value":365},"二、别默认所有 AI 应用都该做成聊天框",{"type":27,"tag":35,"props":367,"children":368},{},[369],{"type":33,"value":370},"这是很重要的一点。",{"type":27,"tag":35,"props":372,"children":373},{},[374],{"type":33,"value":375},"很多 AI 产品做着做着发现，聊天只是交互形式，不是问题本身。",{"type":27,"tag":247,"props":377,"children":379},{"id":378},"_21-四种常见-ai-应用形态",[380],{"type":33,"value":381},"2.1 四种常见 AI 应用形态",{"type":27,"tag":383,"props":384,"children":385},"table",{},[386,410],{"type":27,"tag":387,"props":388,"children":389},"thead",{},[390],{"type":27,"tag":391,"props":392,"children":393},"tr",{},[394,400,405],{"type":27,"tag":395,"props":396,"children":397},"th",{},[398],{"type":33,"value":399},"形态",{"type":27,"tag":395,"props":401,"children":402},{},[403],{"type":33,"value":404},"适用场景",{"type":27,"tag":395,"props":406,"children":407},{},[408],{"type":33,"value":409},"例子",{"type":27,"tag":411,"props":412,"children":413},"tbody",{},[414,433,451,469],{"type":27,"tag":391,"props":415,"children":416},{},[417,423,428],{"type":27,"tag":418,"props":419,"children":420},"td",{},[421],{"type":33,"value":422},"聊天问答",{"type":27,"tag":418,"props":424,"children":425},{},[426],{"type":33,"value":427},"探索式需求",{"type":27,"tag":418,"props":429,"children":430},{},[431],{"type":33,"value":432},"知识助手、客服助手",{"type":27,"tag":391,"props":434,"children":435},{},[436,441,446],{"type":27,"tag":418,"props":437,"children":438},{},[439],{"type":33,"value":440},"单点生成",{"type":27,"tag":418,"props":442,"children":443},{},[444],{"type":33,"value":445},"任务明确",{"type":27,"tag":418,"props":447,"children":448},{},[449],{"type":33,"value":450},"写标题、做摘要、改写文案",{"type":27,"tag":391,"props":452,"children":453},{},[454,459,464],{"type":27,"tag":418,"props":455,"children":456},{},[457],{"type":33,"value":458},"检索增强",{"type":27,"tag":418,"props":460,"children":461},{},[462],{"type":33,"value":463},"知识依赖强",{"type":27,"tag":418,"props":465,"children":466},{},[467],{"type":33,"value":468},"内部文档问答、法规助手",{"type":27,"tag":391,"props":470,"children":471},{},[472,477,482],{"type":27,"tag":418,"props":473,"children":474},{},[475],{"type":33,"value":476},"Agent / 工作流",{"type":27,"tag":418,"props":478,"children":479},{},[480],{"type":33,"value":481},"多步动作",{"type":27,"tag":418,"props":483,"children":484},{},[485],{"type":33,"value":486},"工单流转、报表汇总、工具编排",{"type":27,"tag":247,"props":488,"children":490},{"id":489},"_22-为什么不要一上来就做-agent",[491],{"type":33,"value":492},"2.2 为什么不要一上来就做 Agent",{"type":27,"tag":35,"props":494,"children":495},{},[496],{"type":33,"value":497},"Agent 看起来很高级，但 0 到 1 阶段的复杂度通常也最高：",{"type":27,"tag":41,"props":499,"children":500},{},[501,506,511,516],{"type":27,"tag":45,"props":502,"children":503},{},[504],{"type":33,"value":505},"状态多",{"type":27,"tag":45,"props":507,"children":508},{},[509],{"type":33,"value":510},"出错点多",{"type":27,"tag":45,"props":512,"children":513},{},[514],{"type":33,"value":515},"工具权限风险大",{"type":27,"tag":45,"props":517,"children":518},{},[519],{"type":33,"value":520},"评估难度高",{"type":27,"tag":35,"props":522,"children":523},{},[524],{"type":33,"value":525},"更稳的路线往往是：",{"type":27,"tag":155,"props":527,"children":528},{},[529,534,539],{"type":27,"tag":45,"props":530,"children":531},{},[532],{"type":33,"value":533},"先把单轮任务做准",{"type":27,"tag":45,"props":535,"children":536},{},[537],{"type":33,"value":538},"再把知识接进来",{"type":27,"tag":45,"props":540,"children":541},{},[542],{"type":33,"value":543},"最后再考虑多步规划和工具调用",{"type":27,"tag":247,"props":545,"children":547},{"id":546},"_23-一个务实判断方法",[548],{"type":33,"value":549},"2.3 一个务实判断方法",{"type":27,"tag":35,"props":551,"children":552},{},[553],{"type":33,"value":554},"如果你的用户真正要的是“快速完成一个明确任务”，那单点生成往往比大聊天框更好用。",{"type":27,"tag":35,"props":556,"children":557},{},[558],{"type":33,"value":559},"聊天不是 AI 产品的终点，只是其中一种 UI。",{"type":27,"tag":196,"props":561,"children":562},{},[],{"type":27,"tag":200,"props":564,"children":566},{"id":565},"三一个-ai-应用的最小可行架构长什么样",[567],{"type":33,"value":568},"三、一个 AI 应用的最小可行架构长什么样",{"type":27,"tag":247,"props":570,"children":572},{"id":571},"_31-核心分层",[573],{"type":33,"value":574},"3.1 核心分层",{"type":27,"tag":35,"props":576,"children":577},{},[578],{"type":33,"value":579},"一个比较健康的 AI 应用，至少会分成这几层：",{"type":27,"tag":155,"props":581,"children":582},{},[583,593,603,613,630],{"type":27,"tag":45,"props":584,"children":585},{},[586,591],{"type":27,"tag":241,"props":587,"children":588},{},[589],{"type":33,"value":590},"前端交互层",{"type":33,"value":592},"：输入、输出、流式体验、取消控制",{"type":27,"tag":45,"props":594,"children":595},{},[596,601],{"type":27,"tag":241,"props":597,"children":598},{},[599],{"type":33,"value":600},"业务编排层",{"type":33,"value":602},"：场景路由、权限、上下文构造",{"type":27,"tag":45,"props":604,"children":605},{},[606,611],{"type":27,"tag":241,"props":607,"children":608},{},[609],{"type":33,"value":610},"LLM Gateway",{"type":33,"value":612},"：模型调用、重试、限流、成本统计",{"type":27,"tag":45,"props":614,"children":615},{},[616,621,623,628],{"type":27,"tag":241,"props":617,"children":618},{},[619],{"type":33,"value":620},"知识 / 数据层",{"type":33,"value":622},"：",{"type":27,"tag":113,"props":624,"children":626},{"className":625},[],[627],{"type":33,"value":118},{"type":33,"value":629},"、数据库、外部 API",{"type":27,"tag":45,"props":631,"children":632},{},[633,638],{"type":27,"tag":241,"props":634,"children":635},{},[636],{"type":33,"value":637},"观测治理层",{"type":33,"value":639},"：日志、指标、成本、安全、实验",{"type":27,"tag":247,"props":641,"children":643},{"id":642},"_32-为什么要这样分层",[644],{"type":33,"value":645},"3.2 为什么要这样分层",{"type":27,"tag":35,"props":647,"children":648},{},[649],{"type":33,"value":650},"因为 AI 项目最怕的就是所有逻辑都直接写在一个接口里：",{"type":27,"tag":41,"props":652,"children":653},{},[654,659,664,669,679],{"type":27,"tag":45,"props":655,"children":656},{},[657],{"type":33,"value":658},"prompt 拼接也在这里",{"type":27,"tag":45,"props":660,"children":661},{},[662],{"type":33,"value":663},"模型调用也在这里",{"type":27,"tag":45,"props":665,"children":666},{},[667],{"type":33,"value":668},"权限判断也在这里",{"type":27,"tag":45,"props":670,"children":671},{},[672,677],{"type":27,"tag":113,"props":673,"children":675},{"className":674},[],[676],{"type":33,"value":118},{"type":33,"value":678}," 召回也在这里",{"type":27,"tag":45,"props":680,"children":681},{},[682],{"type":33,"value":683},"fallback 也在这里",{"type":27,"tag":35,"props":685,"children":686},{},[687],{"type":33,"value":688},"这种代码短期能跑，长期很难维护。",{"type":27,"tag":247,"props":690,"children":692},{"id":691},"_33-一个编排层示例",[693],{"type":33,"value":694},"3.3 一个编排层示例",{"type":27,"tag":696,"props":697,"children":701},"pre",{"className":698,"code":699,"language":700,"meta":7,"style":7},"language-ts shiki shiki-themes github-dark","export async function runAiTask(input: {\n  task: 'summary' | 'kb_qa'\n  userId: string\n  content: string\n}) {\n  if (input.task === 'summary') {\n    return aiSummaryService.generate(input.content)\n  }\n\n  if (input.task === 'kb_qa') {\n    const docs = await ragService.retrieve(input.content)\n    return aiQaService.answerWithContext(input.content, docs)\n  }\n\n  throw new Error('Unsupported task')\n}\n","ts",[702],{"type":27,"tag":113,"props":703,"children":704},{"__ignoreMap":7},[705,755,784,803,820,829,856,880,889,898,923,961,984,992,1000,1033],{"type":27,"tag":706,"props":707,"children":710},"span",{"class":708,"line":709},"line",1,[711,717,722,727,733,739,745,750],{"type":27,"tag":706,"props":712,"children":714},{"style":713},"--shiki-default:#F97583",[715],{"type":33,"value":716},"export",{"type":27,"tag":706,"props":718,"children":719},{"style":713},[720],{"type":33,"value":721}," async",{"type":27,"tag":706,"props":723,"children":724},{"style":713},[725],{"type":33,"value":726}," function",{"type":27,"tag":706,"props":728,"children":730},{"style":729},"--shiki-default:#B392F0",[731],{"type":33,"value":732}," runAiTask",{"type":27,"tag":706,"props":734,"children":736},{"style":735},"--shiki-default:#E1E4E8",[737],{"type":33,"value":738},"(",{"type":27,"tag":706,"props":740,"children":742},{"style":741},"--shiki-default:#FFAB70",[743],{"type":33,"value":744},"input",{"type":27,"tag":706,"props":746,"children":747},{"style":713},[748],{"type":33,"value":749},":",{"type":27,"tag":706,"props":751,"children":752},{"style":735},[753],{"type":33,"value":754}," {\n",{"type":27,"tag":706,"props":756,"children":758},{"class":708,"line":757},2,[759,764,768,774,779],{"type":27,"tag":706,"props":760,"children":761},{"style":741},[762],{"type":33,"value":763},"  task",{"type":27,"tag":706,"props":765,"children":766},{"style":713},[767],{"type":33,"value":749},{"type":27,"tag":706,"props":769,"children":771},{"style":770},"--shiki-default:#9ECBFF",[772],{"type":33,"value":773}," 'summary'",{"type":27,"tag":706,"props":775,"children":776},{"style":713},[777],{"type":33,"value":778}," |",{"type":27,"tag":706,"props":780,"children":781},{"style":770},[782],{"type":33,"value":783}," 'kb_qa'\n",{"type":27,"tag":706,"props":785,"children":787},{"class":708,"line":786},3,[788,793,797],{"type":27,"tag":706,"props":789,"children":790},{"style":741},[791],{"type":33,"value":792},"  userId",{"type":27,"tag":706,"props":794,"children":795},{"style":713},[796],{"type":33,"value":749},{"type":27,"tag":706,"props":798,"children":800},{"style":799},"--shiki-default:#79B8FF",[801],{"type":33,"value":802}," string\n",{"type":27,"tag":706,"props":804,"children":806},{"class":708,"line":805},4,[807,812,816],{"type":27,"tag":706,"props":808,"children":809},{"style":741},[810],{"type":33,"value":811},"  content",{"type":27,"tag":706,"props":813,"children":814},{"style":713},[815],{"type":33,"value":749},{"type":27,"tag":706,"props":817,"children":818},{"style":799},[819],{"type":33,"value":802},{"type":27,"tag":706,"props":821,"children":823},{"class":708,"line":822},5,[824],{"type":27,"tag":706,"props":825,"children":826},{"style":735},[827],{"type":33,"value":828},"}) {\n",{"type":27,"tag":706,"props":830,"children":831},{"class":708,"line":20},[832,837,842,847,851],{"type":27,"tag":706,"props":833,"children":834},{"style":713},[835],{"type":33,"value":836},"  if",{"type":27,"tag":706,"props":838,"children":839},{"style":735},[840],{"type":33,"value":841}," (input.task ",{"type":27,"tag":706,"props":843,"children":844},{"style":713},[845],{"type":33,"value":846},"===",{"type":27,"tag":706,"props":848,"children":849},{"style":770},[850],{"type":33,"value":773},{"type":27,"tag":706,"props":852,"children":853},{"style":735},[854],{"type":33,"value":855},") {\n",{"type":27,"tag":706,"props":857,"children":859},{"class":708,"line":858},7,[860,865,870,875],{"type":27,"tag":706,"props":861,"children":862},{"style":713},[863],{"type":33,"value":864},"    return",{"type":27,"tag":706,"props":866,"children":867},{"style":735},[868],{"type":33,"value":869}," aiSummaryService.",{"type":27,"tag":706,"props":871,"children":872},{"style":729},[873],{"type":33,"value":874},"generate",{"type":27,"tag":706,"props":876,"children":877},{"style":735},[878],{"type":33,"value":879},"(input.content)\n",{"type":27,"tag":706,"props":881,"children":883},{"class":708,"line":882},8,[884],{"type":27,"tag":706,"props":885,"children":886},{"style":735},[887],{"type":33,"value":888},"  }\n",{"type":27,"tag":706,"props":890,"children":892},{"class":708,"line":891},9,[893],{"type":27,"tag":706,"props":894,"children":895},{"emptyLinePlaceholder":18},[896],{"type":33,"value":897},"\n",{"type":27,"tag":706,"props":899,"children":901},{"class":708,"line":900},10,[902,906,910,914,919],{"type":27,"tag":706,"props":903,"children":904},{"style":713},[905],{"type":33,"value":836},{"type":27,"tag":706,"props":907,"children":908},{"style":735},[909],{"type":33,"value":841},{"type":27,"tag":706,"props":911,"children":912},{"style":713},[913],{"type":33,"value":846},{"type":27,"tag":706,"props":915,"children":916},{"style":770},[917],{"type":33,"value":918}," 'kb_qa'",{"type":27,"tag":706,"props":920,"children":921},{"style":735},[922],{"type":33,"value":855},{"type":27,"tag":706,"props":924,"children":926},{"class":708,"line":925},11,[927,932,937,942,947,952,957],{"type":27,"tag":706,"props":928,"children":929},{"style":713},[930],{"type":33,"value":931},"    const",{"type":27,"tag":706,"props":933,"children":934},{"style":799},[935],{"type":33,"value":936}," docs",{"type":27,"tag":706,"props":938,"children":939},{"style":713},[940],{"type":33,"value":941}," =",{"type":27,"tag":706,"props":943,"children":944},{"style":713},[945],{"type":33,"value":946}," await",{"type":27,"tag":706,"props":948,"children":949},{"style":735},[950],{"type":33,"value":951}," ragService.",{"type":27,"tag":706,"props":953,"children":954},{"style":729},[955],{"type":33,"value":956},"retrieve",{"type":27,"tag":706,"props":958,"children":959},{"style":735},[960],{"type":33,"value":879},{"type":27,"tag":706,"props":962,"children":964},{"class":708,"line":963},12,[965,969,974,979],{"type":27,"tag":706,"props":966,"children":967},{"style":713},[968],{"type":33,"value":864},{"type":27,"tag":706,"props":970,"children":971},{"style":735},[972],{"type":33,"value":973}," aiQaService.",{"type":27,"tag":706,"props":975,"children":976},{"style":729},[977],{"type":33,"value":978},"answerWithContext",{"type":27,"tag":706,"props":980,"children":981},{"style":735},[982],{"type":33,"value":983},"(input.content, docs)\n",{"type":27,"tag":706,"props":985,"children":987},{"class":708,"line":986},13,[988],{"type":27,"tag":706,"props":989,"children":990},{"style":735},[991],{"type":33,"value":888},{"type":27,"tag":706,"props":993,"children":995},{"class":708,"line":994},14,[996],{"type":27,"tag":706,"props":997,"children":998},{"emptyLinePlaceholder":18},[999],{"type":33,"value":897},{"type":27,"tag":706,"props":1001,"children":1003},{"class":708,"line":1002},15,[1004,1009,1014,1019,1023,1028],{"type":27,"tag":706,"props":1005,"children":1006},{"style":713},[1007],{"type":33,"value":1008},"  throw",{"type":27,"tag":706,"props":1010,"children":1011},{"style":713},[1012],{"type":33,"value":1013}," new",{"type":27,"tag":706,"props":1015,"children":1016},{"style":729},[1017],{"type":33,"value":1018}," Error",{"type":27,"tag":706,"props":1020,"children":1021},{"style":735},[1022],{"type":33,"value":738},{"type":27,"tag":706,"props":1024,"children":1025},{"style":770},[1026],{"type":33,"value":1027},"'Unsupported task'",{"type":27,"tag":706,"props":1029,"children":1030},{"style":735},[1031],{"type":33,"value":1032},")\n",{"type":27,"tag":706,"props":1034,"children":1036},{"class":708,"line":1035},16,[1037],{"type":27,"tag":706,"props":1038,"children":1039},{"style":735},[1040],{"type":33,"value":1041},"}\n",{"type":27,"tag":35,"props":1043,"children":1044},{},[1045],{"type":33,"value":1046},"核心不是代码量，而是把“场景编排”和“模型调用”分开。",{"type":27,"tag":196,"props":1048,"children":1049},{},[],{"type":27,"tag":200,"props":1051,"children":1053},{"id":1052},"四质量体系ai-应用上线前必须回答怎么判断它好不好",[1054],{"type":33,"value":1055},"四、质量体系：AI 应用上线前必须回答“怎么判断它好不好”",{"type":27,"tag":35,"props":1057,"children":1058},{},[1059],{"type":33,"value":1060},"很多团队做 AI 产品最大的隐患是：",{"type":27,"tag":41,"props":1062,"children":1063},{},[1064,1069,1074],{"type":27,"tag":45,"props":1065,"children":1066},{},[1067],{"type":33,"value":1068},"看 demo 觉得不错",{"type":27,"tag":45,"props":1070,"children":1071},{},[1072],{"type":33,"value":1073},"内部试用觉得还行",{"type":27,"tag":45,"props":1075,"children":1076},{},[1077],{"type":33,"value":1078},"真上线后发现评价两极分化",{"type":27,"tag":35,"props":1080,"children":1081},{},[1082],{"type":33,"value":1083},"根因通常是：没有质量定义。",{"type":27,"tag":247,"props":1085,"children":1087},{"id":1086},"_41-不同场景质量标准不同",[1088],{"type":33,"value":1089},"4.1 不同场景质量标准不同",{"type":27,"tag":254,"props":1091,"children":1093},{"id":1092},"总结类产品",[1094],{"type":33,"value":1092},{"type":27,"tag":41,"props":1096,"children":1097},{},[1098,1103,1108],{"type":27,"tag":45,"props":1099,"children":1100},{},[1101],{"type":33,"value":1102},"是否抓住关键点",{"type":27,"tag":45,"props":1104,"children":1105},{},[1106],{"type":33,"value":1107},"是否过度编造",{"type":27,"tag":45,"props":1109,"children":1110},{},[1111],{"type":33,"value":1112},"是否长度合适",{"type":27,"tag":254,"props":1114,"children":1116},{"id":1115},"知识问答类产品",[1117],{"type":33,"value":1115},{"type":27,"tag":41,"props":1119,"children":1120},{},[1121,1126,1131],{"type":27,"tag":45,"props":1122,"children":1123},{},[1124],{"type":33,"value":1125},"是否引用正确资料",{"type":27,"tag":45,"props":1127,"children":1128},{},[1129],{"type":33,"value":1130},"是否出现幻觉",{"type":27,"tag":45,"props":1132,"children":1133},{},[1134],{"type":33,"value":1135},"是否明确承认“不知道”",{"type":27,"tag":254,"props":1137,"children":1139},{"id":1138},"agent-动作类产品",[1140],{"type":33,"value":1141},"Agent / 动作类产品",{"type":27,"tag":41,"props":1143,"children":1144},{},[1145,1150,1155],{"type":27,"tag":45,"props":1146,"children":1147},{},[1148],{"type":33,"value":1149},"是否动作正确",{"type":27,"tag":45,"props":1151,"children":1152},{},[1153],{"type":33,"value":1154},"是否顺序合理",{"type":27,"tag":45,"props":1156,"children":1157},{},[1158],{"type":33,"value":1159},"是否越权",{"type":27,"tag":247,"props":1161,"children":1163},{"id":1162},"_42-建立最小评测集",[1164],{"type":33,"value":1165},"4.2 建立最小评测集",{"type":27,"tag":35,"props":1167,"children":1168},{},[1169],{"type":33,"value":1170},"至少准备：",{"type":27,"tag":41,"props":1172,"children":1173},{},[1174,1179,1184],{"type":27,"tag":45,"props":1175,"children":1176},{},[1177],{"type":33,"value":1178},"真实用户输入样本",{"type":27,"tag":45,"props":1180,"children":1181},{},[1182],{"type":33,"value":1183},"期望结果要点",{"type":27,"tag":45,"props":1185,"children":1186},{},[1187],{"type":33,"value":1188},"不可接受错误样本",{"type":27,"tag":35,"props":1190,"children":1191},{},[1192],{"type":33,"value":1193},"然后定期比较：",{"type":27,"tag":41,"props":1195,"children":1196},{},[1197,1202,1207],{"type":27,"tag":45,"props":1198,"children":1199},{},[1200],{"type":33,"value":1201},"模型切换前后",{"type":27,"tag":45,"props":1203,"children":1204},{},[1205],{"type":33,"value":1206},"prompt 版本前后",{"type":27,"tag":45,"props":1208,"children":1209},{},[1210,1215],{"type":27,"tag":113,"props":1211,"children":1213},{"className":1212},[],[1214],{"type":33,"value":118},{"type":33,"value":1216}," 召回策略前后",{"type":27,"tag":35,"props":1218,"children":1219},{},[1220],{"type":33,"value":1221},"AI 应用没有评测集，基本很难稳定迭代。",{"type":27,"tag":196,"props":1223,"children":1224},{},[],{"type":27,"tag":200,"props":1226,"children":1228},{"id":1227},"五成本体系别等用户涨起来才第一次看账单",[1229],{"type":33,"value":1230},"五、成本体系：别等用户涨起来才第一次看账单",{"type":27,"tag":35,"props":1232,"children":1233},{},[1234],{"type":33,"value":1235},"0 到 1 阶段就应该把成本想清楚。",{"type":27,"tag":247,"props":1237,"children":1239},{"id":1238},"_51-你至少要知道三件事",[1240],{"type":33,"value":1241},"5.1 你至少要知道三件事",{"type":27,"tag":155,"props":1243,"children":1244},{},[1245,1250,1255],{"type":27,"tag":45,"props":1246,"children":1247},{},[1248],{"type":33,"value":1249},"单次请求平均多少钱",{"type":27,"tag":45,"props":1251,"children":1252},{},[1253],{"type":33,"value":1254},"哪个功能最烧 token",{"type":27,"tag":45,"props":1256,"children":1257},{},[1258],{"type":33,"value":1259},"成本增长和业务增长是否匹配",{"type":27,"tag":247,"props":1261,"children":1263},{"id":1262},"_52-最常见的浪费点",[1264],{"type":33,"value":1265},"5.2 最常见的浪费点",{"type":27,"tag":41,"props":1267,"children":1268},{},[1269,1274,1279,1284,1289],{"type":27,"tag":45,"props":1270,"children":1271},{},[1272],{"type":33,"value":1273},"上下文过长",{"type":27,"tag":45,"props":1275,"children":1276},{},[1277],{"type":33,"value":1278},"输出不受控",{"type":27,"tag":45,"props":1280,"children":1281},{},[1282],{"type":33,"value":1283},"重试过多",{"type":27,"tag":45,"props":1285,"children":1286},{},[1287],{"type":33,"value":1288},"热门请求不做缓存",{"type":27,"tag":45,"props":1290,"children":1291},{},[1292],{"type":33,"value":1293},"所有任务都用最强模型",{"type":27,"tag":247,"props":1295,"children":1297},{"id":1296},"_53-一个成熟的成本策略",[1298],{"type":33,"value":1299},"5.3 一个成熟的成本策略",{"type":27,"tag":41,"props":1301,"children":1302},{},[1303,1308,1313,1318,1323],{"type":27,"tag":45,"props":1304,"children":1305},{},[1306],{"type":33,"value":1307},"默认模型 + 高质量模型分层",{"type":27,"tag":45,"props":1309,"children":1310},{},[1311],{"type":33,"value":1312},"热点内容缓存",{"type":27,"tag":45,"props":1314,"children":1315},{},[1316],{"type":33,"value":1317},"长上下文裁剪",{"type":27,"tag":45,"props":1319,"children":1320},{},[1321],{"type":33,"value":1322},"成本异常告警",{"type":27,"tag":45,"props":1324,"children":1325},{},[1326],{"type":33,"value":1327},"非核心功能配额限制",{"type":27,"tag":35,"props":1329,"children":1330},{},[1331],{"type":33,"value":1332},"如果你把这些都留到“之后再做”，很可能之后会变得更难做。",{"type":27,"tag":196,"props":1334,"children":1335},{},[],{"type":27,"tag":200,"props":1337,"children":1339},{"id":1338},"六安全体系ai-应用从第一天起就有攻击面",[1340],{"type":33,"value":1341},"六、安全体系：AI 应用从第一天起就有攻击面",{"type":27,"tag":35,"props":1343,"children":1344},{},[1345],{"type":33,"value":1346},"越早做安全边界，后面越轻松。",{"type":27,"tag":247,"props":1348,"children":1350},{"id":1349},"_61-最少要考虑这些风险",[1351],{"type":33,"value":1352},"6.1 最少要考虑这些风险",{"type":27,"tag":41,"props":1354,"children":1355},{},[1356,1361,1366,1371,1376],{"type":27,"tag":45,"props":1357,"children":1358},{},[1359],{"type":33,"value":1360},"Prompt Injection",{"type":27,"tag":45,"props":1362,"children":1363},{},[1364],{"type":33,"value":1365},"外部资料污染",{"type":27,"tag":45,"props":1367,"children":1368},{},[1369],{"type":33,"value":1370},"工具越权调用",{"type":27,"tag":45,"props":1372,"children":1373},{},[1374],{"type":33,"value":1375},"敏感信息输出",{"type":27,"tag":45,"props":1377,"children":1378},{},[1379],{"type":33,"value":1380},"恶意高频调用造成成本放大",{"type":27,"tag":247,"props":1382,"children":1384},{"id":1383},"_62-0-到-1-阶段最推荐的做法",[1385],{"type":33,"value":1386},"6.2 0 到 1 阶段最推荐的做法",{"type":27,"tag":41,"props":1388,"children":1389},{},[1390,1395,1400,1405],{"type":27,"tag":45,"props":1391,"children":1392},{},[1393],{"type":33,"value":1394},"先从低风险、低权限场景起步",{"type":27,"tag":45,"props":1396,"children":1397},{},[1398],{"type":33,"value":1399},"尽量先做“建议型”而不是“执行型”产品",{"type":27,"tag":45,"props":1401,"children":1402},{},[1403],{"type":33,"value":1404},"高风险动作必须人工确认",{"type":27,"tag":45,"props":1406,"children":1407},{},[1408],{"type":33,"value":1409},"敏感数据访问必须强约束",{"type":27,"tag":35,"props":1411,"children":1412},{},[1413],{"type":33,"value":1414},"AI 应用最危险的一种做法，就是还没把边界想清楚，就直接赋予“能做事”的能力。",{"type":27,"tag":196,"props":1416,"children":1417},{},[],{"type":27,"tag":200,"props":1419,"children":1421},{"id":1420},"七数据闭环产品上线不代表完成而是评测开始有了真实样本",[1422],{"type":33,"value":1423},"七、数据闭环：产品上线不代表完成，而是评测开始有了真实样本",{"type":27,"tag":35,"props":1425,"children":1426},{},[1427],{"type":33,"value":1428},"这是很多人容易忽略的地方。",{"type":27,"tag":35,"props":1430,"children":1431},{},[1432],{"type":33,"value":1433},"传统功能上线后，更多是在修 bug。AI 功能上线后，更重要的是：",{"type":27,"tag":41,"props":1435,"children":1436},{},[1437,1442,1447,1452],{"type":27,"tag":45,"props":1438,"children":1439},{},[1440],{"type":33,"value":1441},"学会看用户到底在怎么用",{"type":27,"tag":45,"props":1443,"children":1444},{},[1445],{"type":33,"value":1446},"看他们在哪一步放弃",{"type":27,"tag":45,"props":1448,"children":1449},{},[1450],{"type":33,"value":1451},"看哪些回答被点赞、踩、复制、重试",{"type":27,"tag":45,"props":1453,"children":1454},{},[1455],{"type":33,"value":1456},"看哪些问题系统总是答不好",{"type":27,"tag":247,"props":1458,"children":1460},{"id":1459},"_71-一个最值钱的闭环数据",[1461],{"type":33,"value":1462},"7.1 一个最值钱的闭环数据",{"type":27,"tag":383,"props":1464,"children":1465},{},[1466,1482],{"type":27,"tag":387,"props":1467,"children":1468},{},[1469],{"type":27,"tag":391,"props":1470,"children":1471},{},[1472,1477],{"type":27,"tag":395,"props":1473,"children":1474},{},[1475],{"type":33,"value":1476},"数据",{"type":27,"tag":395,"props":1478,"children":1479},{},[1480],{"type":33,"value":1481},"作用",{"type":27,"tag":411,"props":1483,"children":1484},{},[1485,1498,1511,1524,1537],{"type":27,"tag":391,"props":1486,"children":1487},{},[1488,1493],{"type":27,"tag":418,"props":1489,"children":1490},{},[1491],{"type":33,"value":1492},"用户实际问题",{"type":27,"tag":418,"props":1494,"children":1495},{},[1496],{"type":33,"value":1497},"扩充评测集",{"type":27,"tag":391,"props":1499,"children":1500},{},[1501,1506],{"type":27,"tag":418,"props":1502,"children":1503},{},[1504],{"type":33,"value":1505},"用户是否追问",{"type":27,"tag":418,"props":1507,"children":1508},{},[1509],{"type":33,"value":1510},"判断首答是否命中",{"type":27,"tag":391,"props":1512,"children":1513},{},[1514,1519],{"type":27,"tag":418,"props":1515,"children":1516},{},[1517],{"type":33,"value":1518},"用户是否中断生成",{"type":27,"tag":418,"props":1520,"children":1521},{},[1522],{"type":33,"value":1523},"判断体验和相关性",{"type":27,"tag":391,"props":1525,"children":1526},{},[1527,1532],{"type":27,"tag":418,"props":1528,"children":1529},{},[1530],{"type":33,"value":1531},"用户纠正内容",{"type":27,"tag":418,"props":1533,"children":1534},{},[1535],{"type":33,"value":1536},"发现质量缺口",{"type":27,"tag":391,"props":1538,"children":1539},{},[1540,1545],{"type":27,"tag":418,"props":1541,"children":1542},{},[1543],{"type":33,"value":1544},"点赞 / 踩 / 复制",{"type":27,"tag":418,"props":1546,"children":1547},{},[1548],{"type":33,"value":1549},"识别高价值输出",{"type":27,"tag":247,"props":1551,"children":1553},{"id":1552},"_72-为什么闭环比模型升级更重要",[1554],{"type":33,"value":1555},"7.2 为什么闭环比模型升级更重要",{"type":27,"tag":35,"props":1557,"children":1558},{},[1559],{"type":33,"value":1560},"因为很多产品做不好，不是模型不够强，而是团队没有把真实使用数据反馈回系统改进中。",{"type":27,"tag":35,"props":1562,"children":1563},{},[1564],{"type":33,"value":1565},"模型只是引擎，闭环才是方向盘。",{"type":27,"tag":196,"props":1567,"children":1568},{},[],{"type":27,"tag":200,"props":1570,"children":1572},{"id":1571},"八一个从-0-到-1-的务实路线图",[1573],{"type":33,"value":1574},"八、一个从 0 到 1 的务实路线图",{"type":27,"tag":247,"props":1576,"children":1578},{"id":1577},"阶段-1选一个低风险高价值场景",[1579],{"type":33,"value":1580},"阶段 1：选一个低风险高价值场景",{"type":27,"tag":35,"props":1582,"children":1583},{},[1584],{"type":33,"value":1585},"目标：跑通第一版价值闭环。",{"type":27,"tag":35,"props":1587,"children":1588},{},[1589],{"type":33,"value":1590},"例如：",{"type":27,"tag":41,"props":1592,"children":1593},{},[1594,1599,1604],{"type":27,"tag":45,"props":1595,"children":1596},{},[1597],{"type":33,"value":1598},"文档总结",{"type":27,"tag":45,"props":1600,"children":1601},{},[1602],{"type":33,"value":1603},"FAQ 助手",{"type":27,"tag":45,"props":1605,"children":1606},{},[1607],{"type":33,"value":1608},"内容改写",{"type":27,"tag":247,"props":1610,"children":1612},{"id":1611},"阶段-2建立统一调用层和基础观测",[1613],{"type":33,"value":1614},"阶段 2：建立统一调用层和基础观测",{"type":27,"tag":35,"props":1616,"children":1617},{},[1618],{"type":33,"value":1619},"目标：别让调用逻辑散落全站。",{"type":27,"tag":35,"props":1621,"children":1622},{},[1623],{"type":33,"value":1624},"要补：",{"type":27,"tag":41,"props":1626,"children":1627},{},[1628,1632,1637,1642],{"type":27,"tag":45,"props":1629,"children":1630},{},[1631],{"type":33,"value":610},{"type":27,"tag":45,"props":1633,"children":1634},{},[1635],{"type":33,"value":1636},"usage 日志",{"type":27,"tag":45,"props":1638,"children":1639},{},[1640],{"type":33,"value":1641},"prompt 版本",{"type":27,"tag":45,"props":1643,"children":1644},{},[1645],{"type":33,"value":1646},"基础错误处理",{"type":27,"tag":247,"props":1648,"children":1650},{"id":1649},"阶段-3补知识增强和体验",[1651],{"type":33,"value":1652},"阶段 3：补知识增强和体验",{"type":27,"tag":35,"props":1654,"children":1655},{},[1656],{"type":33,"value":1657},"目标：让结果更准、更顺滑。",{"type":27,"tag":35,"props":1659,"children":1660},{},[1661],{"type":33,"value":1624},{"type":27,"tag":41,"props":1663,"children":1664},{},[1665,1673,1678,1683],{"type":27,"tag":45,"props":1666,"children":1667},{},[1668],{"type":27,"tag":113,"props":1669,"children":1671},{"className":1670},[],[1672],{"type":33,"value":118},{"type":27,"tag":45,"props":1674,"children":1675},{},[1676],{"type":33,"value":1677},"流式响应",{"type":27,"tag":45,"props":1679,"children":1680},{},[1681],{"type":33,"value":1682},"取消控制",{"type":27,"tag":45,"props":1684,"children":1685},{},[1686],{"type":33,"value":1687},"fallback",{"type":27,"tag":247,"props":1689,"children":1691},{"id":1690},"阶段-4补安全和成本治理",[1692],{"type":33,"value":1693},"阶段 4：补安全和成本治理",{"type":27,"tag":35,"props":1695,"children":1696},{},[1697],{"type":33,"value":1698},"目标：让它能长期运行。",{"type":27,"tag":35,"props":1700,"children":1701},{},[1702],{"type":33,"value":1624},{"type":27,"tag":41,"props":1704,"children":1705},{},[1706,1711,1716,1721],{"type":27,"tag":45,"props":1707,"children":1708},{},[1709],{"type":33,"value":1710},"Prompt Injection 防护",{"type":27,"tag":45,"props":1712,"children":1713},{},[1714],{"type":33,"value":1715},"配额与预算",{"type":27,"tag":45,"props":1717,"children":1718},{},[1719],{"type":33,"value":1720},"工具权限边界",{"type":27,"tag":45,"props":1722,"children":1723},{},[1724],{"type":33,"value":1725},"审计和灰度",{"type":27,"tag":247,"props":1727,"children":1729},{"id":1728},"阶段-5做实验和增长",[1730],{"type":33,"value":1731},"阶段 5：做实验和增长",{"type":27,"tag":35,"props":1733,"children":1734},{},[1735],{"type":33,"value":1736},"目标：知道什么真的有效。",{"type":27,"tag":35,"props":1738,"children":1739},{},[1740],{"type":33,"value":1624},{"type":27,"tag":41,"props":1742,"children":1743},{},[1744,1749,1754,1759],{"type":27,"tag":45,"props":1745,"children":1746},{},[1747],{"type":33,"value":1748},"A/B 实验",{"type":27,"tag":45,"props":1750,"children":1751},{},[1752],{"type":33,"value":1753},"用户反馈收集",{"type":27,"tag":45,"props":1755,"children":1756},{},[1757],{"type":33,"value":1758},"转化指标关联",{"type":27,"tag":45,"props":1760,"children":1761},{},[1762],{"type":33,"value":1763},"评测集持续更新",{"type":27,"tag":196,"props":1765,"children":1766},{},[],{"type":27,"tag":200,"props":1768,"children":1770},{"id":1769},"九三个高频失败原因值得提前避开",[1771],{"type":33,"value":1772},"九、三个高频失败原因，值得提前避开",{"type":27,"tag":247,"props":1774,"children":1776},{"id":1775},"_91-失败原因一技术方案比用户价值跑得快",[1777],{"type":33,"value":1778},"9.1 失败原因一：技术方案比用户价值跑得快",{"type":27,"tag":35,"props":1780,"children":1781},{},[1782],{"type":33,"value":1783},"团队很快搭好了：",{"type":27,"tag":41,"props":1785,"children":1786},{},[1787,1792,1797,1802],{"type":27,"tag":45,"props":1788,"children":1789},{},[1790],{"type":33,"value":1791},"流式输出",{"type":27,"tag":45,"props":1793,"children":1794},{},[1795],{"type":33,"value":1796},"工具调用",{"type":27,"tag":45,"props":1798,"children":1799},{},[1800],{"type":33,"value":1801},"多模型路由",{"type":27,"tag":45,"props":1803,"children":1804},{},[1805],{"type":33,"value":1806},"向量库",{"type":27,"tag":35,"props":1808,"children":1809},{},[1810],{"type":33,"value":1811},"结果用户根本不常用，因为场景价值不够强。",{"type":27,"tag":247,"props":1813,"children":1815},{"id":1814},"_92-失败原因二只重聪明不重稳定",[1816],{"type":33,"value":1817},"9.2 失败原因二：只重“聪明”，不重“稳定”",{"type":27,"tag":35,"props":1819,"children":1820},{},[1821],{"type":33,"value":1822},"demo 看着很惊艳，上线却经常：",{"type":27,"tag":41,"props":1824,"children":1825},{},[1826,1831,1836,1841],{"type":27,"tag":45,"props":1827,"children":1828},{},[1829],{"type":33,"value":1830},"超时",{"type":27,"tag":45,"props":1832,"children":1833},{},[1834],{"type":33,"value":1835},"跑偏",{"type":27,"tag":45,"props":1837,"children":1838},{},[1839],{"type":33,"value":1840},"成本过高",{"type":27,"tag":45,"props":1842,"children":1843},{},[1844],{"type":33,"value":1845},"偶发失败无 fallback",{"type":27,"tag":35,"props":1847,"children":1848},{},[1849],{"type":33,"value":1850},"用户会很快失去耐心。",{"type":27,"tag":247,"props":1852,"children":1854},{"id":1853},"_93-失败原因三没有产品闭环只会不断换模型",[1855],{"type":33,"value":1856},"9.3 失败原因三：没有产品闭环，只会不断换模型",{"type":27,"tag":35,"props":1858,"children":1859},{},[1860],{"type":33,"value":1861},"如果没有评测集、用户反馈和指标归因，团队很容易把一切问题都归因到“模型不够好”。",{"type":27,"tag":35,"props":1863,"children":1864},{},[1865],{"type":33,"value":1866},"实际上很多问题来自：",{"type":27,"tag":41,"props":1868,"children":1869},{},[1870,1875,1880,1890],{"type":27,"tag":45,"props":1871,"children":1872},{},[1873],{"type":33,"value":1874},"prompt 不清",{"type":27,"tag":45,"props":1876,"children":1877},{},[1878],{"type":33,"value":1879},"体验不顺",{"type":27,"tag":45,"props":1881,"children":1882},{},[1883,1888],{"type":27,"tag":113,"props":1884,"children":1886},{"className":1885},[],[1887],{"type":33,"value":118},{"type":33,"value":1889}," 不准",{"type":27,"tag":45,"props":1891,"children":1892},{},[1893],{"type":33,"value":1894},"场景不对",{"type":27,"tag":196,"props":1896,"children":1897},{},[],{"type":27,"tag":200,"props":1899,"children":1901},{"id":1900},"十给团队的-ai-应用-0-到-1-检查清单",[1902],{"type":33,"value":1903},"十、给团队的 AI 应用 0 到 1 检查清单",{"type":27,"tag":247,"props":1905,"children":1907},{"id":1906},"场景定义层",[1908],{"type":33,"value":1906},{"type":27,"tag":41,"props":1910,"children":1913},{"className":1911},[1912],"contains-task-list",[1914,1925,1934],{"type":27,"tag":45,"props":1915,"children":1918},{"className":1916},[1917],"task-list-item",[1919,1923],{"type":27,"tag":744,"props":1920,"children":1922},{"disabled":18,"type":1921},"checkbox",[],{"type":33,"value":1924}," 是否解决了真实且高频的用户问题",{"type":27,"tag":45,"props":1926,"children":1928},{"className":1927},[1917],[1929,1932],{"type":27,"tag":744,"props":1930,"children":1931},{"disabled":18,"type":1921},[],{"type":33,"value":1933}," 是否选择了适合 AI 介入的场景",{"type":27,"tag":45,"props":1935,"children":1937},{"className":1936},[1917],[1938,1941],{"type":27,"tag":744,"props":1939,"children":1940},{"disabled":18,"type":1921},[],{"type":33,"value":1942}," 是否明确了成功指标",{"type":27,"tag":247,"props":1944,"children":1946},{"id":1945},"工程架构层",[1947],{"type":33,"value":1945},{"type":27,"tag":41,"props":1949,"children":1951},{"className":1950},[1912],[1952,1961,1970],{"type":27,"tag":45,"props":1953,"children":1955},{"className":1954},[1917],[1956,1959],{"type":27,"tag":744,"props":1957,"children":1958},{"disabled":18,"type":1921},[],{"type":33,"value":1960}," 是否有统一 LLM Gateway",{"type":27,"tag":45,"props":1962,"children":1964},{"className":1963},[1917],[1965,1968],{"type":27,"tag":744,"props":1966,"children":1967},{"disabled":18,"type":1921},[],{"type":33,"value":1969}," 是否区分编排层和模型调用层",{"type":27,"tag":45,"props":1971,"children":1973},{"className":1972},[1917],[1974,1977],{"type":27,"tag":744,"props":1975,"children":1976},{"disabled":18,"type":1921},[],{"type":33,"value":1978}," 是否支持流式、fallback 和错误处理",{"type":27,"tag":247,"props":1980,"children":1982},{"id":1981},"质量与安全层",[1983],{"type":33,"value":1981},{"type":27,"tag":41,"props":1985,"children":1987},{"className":1986},[1912],[1988,1997,2013],{"type":27,"tag":45,"props":1989,"children":1991},{"className":1990},[1917],[1992,1995],{"type":27,"tag":744,"props":1993,"children":1994},{"disabled":18,"type":1921},[],{"type":33,"value":1996}," 是否有评测集",{"type":27,"tag":45,"props":1998,"children":2000},{"className":1999},[1917],[2001,2004,2006,2011],{"type":27,"tag":744,"props":2002,"children":2003},{"disabled":18,"type":1921},[],{"type":33,"value":2005}," 是否有基本的 ",{"type":27,"tag":113,"props":2007,"children":2009},{"className":2008},[],[2010],{"type":33,"value":118},{"type":33,"value":2012}," / 输出 / Prompt 质量控制",{"type":27,"tag":45,"props":2014,"children":2016},{"className":2015},[1917],[2017,2020],{"type":27,"tag":744,"props":2018,"children":2019},{"disabled":18,"type":1921},[],{"type":33,"value":2021}," 是否考虑了 Prompt Injection 和工具权限边界",{"type":27,"tag":247,"props":2023,"children":2025},{"id":2024},"运营与增长层",[2026],{"type":33,"value":2024},{"type":27,"tag":41,"props":2028,"children":2030},{"className":2029},[1912],[2031,2040,2049],{"type":27,"tag":45,"props":2032,"children":2034},{"className":2033},[1917],[2035,2038],{"type":27,"tag":744,"props":2036,"children":2037},{"disabled":18,"type":1921},[],{"type":33,"value":2039}," 是否记录了成本、使用、点赞 / 踩、重试等行为数据",{"type":27,"tag":45,"props":2041,"children":2043},{"className":2042},[1917],[2044,2047],{"type":27,"tag":744,"props":2045,"children":2046},{"disabled":18,"type":1921},[],{"type":33,"value":2048}," 是否有灰度和回滚机制",{"type":27,"tag":45,"props":2050,"children":2052},{"className":2051},[1917],[2053,2056],{"type":27,"tag":744,"props":2054,"children":2055},{"disabled":18,"type":1921},[],{"type":33,"value":2057}," 是否能把真实用户问题回流进迭代系统",{"type":27,"tag":196,"props":2059,"children":2060},{},[],{"type":27,"tag":200,"props":2062,"children":2064},{"id":2063},"总结",[2065],{"type":33,"value":2063},{"type":27,"tag":35,"props":2067,"children":2068},{},[2069],{"type":33,"value":2070},"把一个 AI 驱动应用从 0 到 1 讲透，可以收敛成 5 句话：",{"type":27,"tag":155,"props":2072,"children":2073},{},[2074,2082,2090,2098,2106],{"type":27,"tag":45,"props":2075,"children":2076},{},[2077],{"type":27,"tag":241,"props":2078,"children":2079},{},[2080],{"type":33,"value":2081},"第一步不是选模型，而是找到高价值、可控边界的场景。",{"type":27,"tag":45,"props":2083,"children":2084},{},[2085],{"type":27,"tag":241,"props":2086,"children":2087},{},[2088],{"type":33,"value":2089},"AI 应用不一定要做成聊天框，形态要服从问题本身。",{"type":27,"tag":45,"props":2091,"children":2092},{},[2093],{"type":27,"tag":241,"props":2094,"children":2095},{},[2096],{"type":33,"value":2097},"统一调用层、质量评测、成本治理、安全边界，是上线前的基础设施。",{"type":27,"tag":45,"props":2099,"children":2100},{},[2101],{"type":27,"tag":241,"props":2102,"children":2103},{},[2104],{"type":33,"value":2105},"真正能活下来的 AI 产品，不是最会 demo 的，而是最会形成闭环的。",{"type":27,"tag":45,"props":2107,"children":2108},{},[2109],{"type":27,"tag":241,"props":2110,"children":2111},{},[2112],{"type":33,"value":2113},"从 0 到 1 的关键，不是一次做全，而是按风险和价值逐层补能力。",{"type":27,"tag":35,"props":2115,"children":2116},{},[2117],{"type":33,"value":2118},"如果你只记住一句话，我希望是这一句：",{"type":27,"tag":71,"props":2120,"children":2121},{},[2122],{"type":27,"tag":35,"props":2123,"children":2124},{},[2125],{"type":33,"value":2126},"做 AI 应用最难的，从来不是把模型接进来，而是把“可能有用”做成“持续有用”。",{"type":27,"tag":35,"props":2128,"children":2129},{},[2130],{"type":33,"value":2131},"否则最后你得到的，很可能不是产品，而是——",{"type":27,"tag":35,"props":2133,"children":2134},{},[2135],{"type":27,"tag":241,"props":2136,"children":2137},{},[2138],{"type":33,"value":2139},"一个演示起来很酷、打开率却越来越低的功能页。",{"type":27,"tag":2141,"props":2142,"children":2143},"style",{},[2144],{"type":33,"value":2145},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":786,"depth":786,"links":2147},[2148,2156,2161,2166,2174,2179,2183,2187,2194,2199,2205],{"id":202,"depth":757,"text":205,"children":2149},[2150,2155],{"id":249,"depth":786,"text":252,"children":2151},[2152,2153,2154],{"id":256,"depth":805,"text":259},{"id":290,"depth":805,"text":293},{"id":301,"depth":805,"text":304},{"id":312,"depth":786,"text":315},{"id":362,"depth":757,"text":365,"children":2157},[2158,2159,2160],{"id":378,"depth":786,"text":381},{"id":489,"depth":786,"text":492},{"id":546,"depth":786,"text":549},{"id":565,"depth":757,"text":568,"children":2162},[2163,2164,2165],{"id":571,"depth":786,"text":574},{"id":642,"depth":786,"text":645},{"id":691,"depth":786,"text":694},{"id":1052,"depth":757,"text":1055,"children":2167},[2168,2173],{"id":1086,"depth":786,"text":1089,"children":2169},[2170,2171,2172],{"id":1092,"depth":805,"text":1092},{"id":1115,"depth":805,"text":1115},{"id":1138,"depth":805,"text":1141},{"id":1162,"depth":786,"text":1165},{"id":1227,"depth":757,"text":1230,"children":2175},[2176,2177,2178],{"id":1238,"depth":786,"text":1241},{"id":1262,"depth":786,"text":1265},{"id":1296,"depth":786,"text":1299},{"id":1338,"depth":757,"text":1341,"children":2180},[2181,2182],{"id":1349,"depth":786,"text":1352},{"id":1383,"depth":786,"text":1386},{"id":1420,"depth":757,"text":1423,"children":2184},[2185,2186],{"id":1459,"depth":786,"text":1462},{"id":1552,"depth":786,"text":1555},{"id":1571,"depth":757,"text":1574,"children":2188},[2189,2190,2191,2192,2193],{"id":1577,"depth":786,"text":1580},{"id":1611,"depth":786,"text":1614},{"id":1649,"depth":786,"text":1652},{"id":1690,"depth":786,"text":1693},{"id":1728,"depth":786,"text":1731},{"id":1769,"depth":757,"text":1772,"children":2195},[2196,2197,2198],{"id":1775,"depth":786,"text":1778},{"id":1814,"depth":786,"text":1817},{"id":1853,"depth":786,"text":1856},{"id":1900,"depth":757,"text":1903,"children":2200},[2201,2202,2203,2204],{"id":1906,"depth":786,"text":1906},{"id":1945,"depth":786,"text":1945},{"id":1981,"depth":786,"text":1981},{"id":2024,"depth":786,"text":2024},{"id":2063,"depth":757,"text":2063},"markdown","content:topics:engineering:build-ai-driven-app-from-zero-to-one-guide.md","content","topics/engineering/build-ai-driven-app-from-zero-to-one-guide.md","topics/engineering/build-ai-driven-app-from-zero-to-one-guide","md",1777109947915]