1"use strict";(self.webpackChunkspring_ai_alibaba_website=self.webpackChunkspring_ai_alibaba_website||[]).push([[1769],{4990:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/business-knowledge-b5c3acc3baf738025368c38aa51b25e0.png"},12050:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/preset-questions-213e4c3199aa8be019bbe9f6d541aee6.png"},13289:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/analyze-result-2a1ab93a357b0b44b1656186627a3c9e.png"},16329:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/datasource-init-0b1455accf015397d18f83491964ceed.png"},16726:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/run-page-115fc4286122a8e956ae5a166241e15e.png"},20697:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/agent-config-9ce68bf0f9522d1cfa2452672d42e592.png"},21885:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/show-sql-result-9c7a37d4eed079bf44199862b19de4a0.png"},28453:(e,n,a)=>{a.d(n,{R:()=>t,x:()=>r});var s=a(96540);const i={},d=s.createContext(i);function t(e){const n=s.useContext(d);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),s.createElement(d.Provider,{value:n},e.children)}},36149:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/datasource-config-4d97245c4052d67c7c66aee3d315a478.png"},38982:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/datasource-validation-1ec868ffbef4a398a4f850c5ecad6b1f.png"},57868:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/semantic-models-8773d0f5b454c92ae5ad3dfb43daeb75.png"},59474:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/analyze-question-988fc83bb7cd3507394f64597bcf8faf.png"},65412:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/homepage-agents-bc42da933e583719cf3d055fb91ec422.png"},76480:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>o,frontMatter:()=>t,metadata:()=>s,toc:()=>l});const s=JSON.parse('{"id":"dataagent/quick-start","title":"DataAgent \u5feb\u901f\u5f00\u59cb","description":"DataAgent \u662f\u57fa\u4e8e Spring AI Alibaba \u7684\u81ea\u7136\u8bed\u8a00\u8f6c SQL \u667a\u80fd\u4f53\uff0c\u652f\u6301\u7528\u81ea\u7136\u8bed\u8a00\u76f4\u63a5\u67e5\u8be2\u6570\u636e\u5e93\uff0c\u65e0\u9700\u7f16\u5199\u590d\u6742 SQL \u8bed\u53e5\uff0c\u63d0\u4f9b\u667a\u80fd\u7684\u6570\u636e\u67e5\u8be2\u548c\u5206\u6790\u80fd\u529b","source":"@site/agents-docs/dataagent/quick-start.md","sourceDirName":"dataagent","slug":"/dataagent/quick-start","permalink":"/agents/dataagent/quick-start","draft":false,"unlisted":false,"editUrl":"https://github.com/spring-ai-alibaba/website/tree/main/agents-docs/dataagent/quick-start.md","tags":[],"version":"current","lastUpdatedBy":"yuluo-yx","lastUpdatedAt":1763563023000,"frontMatter":{"title":"DataAgent \u5feb\u901f\u5f00\u59cb","description":"DataAgent \u662f\u57fa\u4e8e Spring AI Alibaba \u7684\u81ea\u7136\u8bed\u8a00\u8f6c SQL \u667a\u80fd\u4f53\uff0c\u652f\u6301\u7528\u81ea\u7136\u8bed\u8a00\u76f4\u63a5\u67e5\u8be2\u6570\u636e\u5e93\uff0c\u65e0\u9700\u7f16\u5199\u590d\u6742 SQL \u8bed\u53e5\uff0c\u63d0\u4f9b\u667a\u80fd\u7684\u6570\u636e\u67e5\u8be2\u548c\u5206\u6790\u80fd\u529b","keywords":["DataAgent","NL2SQL","\u81ea\u7136\u8bed\u8a00\u8f6cSQL","Text to SQL","\u6570\u636e\u5e93\u67e5\u8be2","Spring AI Alibaba","AI\u6570\u636e\u5206\u6790","\u667a\u80fd\u67e5\u8be2"]},"sidebar":"agentsSidebar","previous":{"title":"DeepResearch(Agentic)\u5feb\u901f\u5f00\u59cb","permalink":"/agents/deepresearch/agentic/quick-start"},"next":{"title":"JManus \u5feb\u901f\u5f00\u59cb","permalink":"/agents/jmanus/quick-start"}}');var i=a(74848),d=a(28453);const t={title:"DataAgent \u5feb\u901f\u5f00\u59cb",description:"DataAgent \u662f\u57fa\u4e8e Spring AI Alibaba \u7684\u81ea\u7136\u8bed\u8a00\u8f6c SQL \u667a\u80fd\u4f53\uff0c\u652f\u6301\u7528\u81ea\u7136\u8bed\u8a00\u76f4\u63a5\u67e5\u8be2\u6570\u636e\u5e93\uff0c\u65e0\u9700\u7f16\u5199\u590d\u6742 SQL \u8bed\u53e5\uff0c\u63d0\u4f9b\u667a\u80fd\u7684\u6570\u636e\u67e5\u8be2\u548c\u5206\u6790\u80fd\u529b",keywords:["DataAgent","NL2SQL","\u81ea\u7136\u8bed\u8a00\u8f6cSQL","Text to SQL","\u6570\u636e\u5e93\u67e5\u8be2","Spring AI Alibaba","AI\u6570\u636e\u5206\u6790","\u667a\u80fd\u67e5\u8be2"]},r="\u9879\u76ee\u7b80\u4ecb",c={},l=[{value:"\u9879\u76ee\u7ed3\u6784",id:"\u9879\u76ee\u7ed3\u6784",level:2},{value:"\u5feb\u901f\u542f\u52a8",id:"\u5feb\u901f\u542f\u52a8",level:2},{value:"1. \u4e1a\u52a1\u6570\u636e\u5e93\u51c6\u5907",id:"1-\u4e1a\u52a1\u6570\u636e\u5e93\u51c6\u5907",level:3},{value:"2. \u914d\u7f6e",id:"2-\u914d\u7f6e",level:3},{value:"2.1 \u914d\u7f6emanagement\u6570\u636e\u5e93",id:"21-\u914d\u7f6emanagement\u6570\u636e\u5e93",level:4},{value:"2.2 \u53ef\u9009\uff1a\u542f\u7528/\u5173\u95ed\u81ea\u52a8\u521d\u59cb\u5316\uff08schema.sql + data.sql\uff09",id:"22-\u53ef\u9009\u542f\u7528\u5173\u95ed\u81ea\u52a8\u521d\u59cb\u5316schemasql--datasql",level:4},{value:"2.3 \u914d\u7f6e API Key",id:"23-\u914d\u7f6e-api-key",level:4},{value:"2.4 \u5d4c\u5165\u6a21\u578b\u6279\u5904\u7406\u7b56\u7565\u914d\u7f6e",id:"24-\u5d4c\u5165\u6a21\u578b\u6279\u5904\u7406\u7b56\u7565\u914d\u7f6e",level:4}
1,{value:"2.5 \u5411\u91cf\u5e93\u914d\u7f6e",id:"25-\u5411\u91cf\u5e93\u914d\u7f6e",level:4},{value:"2.6 \u68c0\u7d22\u878d\u5408\u7b56\u7565",id:"26-\u68c0\u7d22\u878d\u5408\u7b56\u7565",level:4},{value:"2.7 \u66ff\u6362chat-model\u3001embedding-model\u548cvector-store\u7684\u5b9e\u73b0\u7c7b",id:"27-\u66ff\u6362chat-modelembedding-model\u548cvector-store\u7684\u5b9e\u73b0\u7c7b",level:4},{value:"3. \u542f\u52a8\u7ba1\u7406\u7aef",id:"3-\u542f\u52a8\u7ba1\u7406\u7aef",level:3},{value:"4. \u542f\u52a8WEB\u9875\u9762",id:"4-\u542f\u52a8web\u9875\u9762",level:3},{value:"4.1 \u5b89\u88c5\u4f9d\u8d56",id:"41-\u5b89\u88c5\u4f9d\u8d56",level:4},{value:"4.2 \u542f\u52a8\u670d\u52a1",id:"42-\u542f\u52a8\u670d\u52a1",level:4},{value:"\u7cfb\u7edf\u4f53\u9a8c",id:"\u7cfb\u7edf\u4f53\u9a8c",level:2},{value:"\u6570\u636e\u667a\u80fd\u4f53\u7684\u521b\u5efa\u4e0e\u914d\u7f6e",id:"\u6570\u636e\u667a\u80fd\u4f53\u7684\u521b\u5efa\u4e0e\u914d\u7f6e",level:3},{value:"\u6570\u636e\u667a\u80fd\u4f53\u7684\u8fd0\u884c",id:"\u6570\u636e\u667a\u80fd\u4f53\u7684\u8fd0\u884c",level:3}];function h(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"\u9879\u76ee\u7b80\u4ecb",children:"\u9879\u76ee\u7b80\u4ecb"})}),"\n",(0,i.jsx)(n.p,{children:"\u8fd9\u662f\u4e00\u4e2a\u57fa\u4e8eSpring AI Alibaba\u7684\u81ea\u7136\u8bed\u8a00\u8f6cSQL\u9879\u76ee\uff0c\u80fd\u8ba9\u4f60\u7528\u81ea\u7136\u8bed\u8a00\u76f4\u63a5\u67e5\u8be2\u6570\u636e\u5e93\uff0c\u4e0d\u9700\u8981\u5199\u590d\u6742\u7684SQL\u3002"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:["Github repository: ",(0,i.jsx)(n.a,{href:"https://github.com/spring-ai-alibaba/dataagent",children:"https://github.com/spring-ai-alibaba/dataagent"})]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"\u9879\u76ee\u7ed3\u6784",children:"\u9879\u76ee\u7ed3\u6784"}),"\n",(0,i.jsx)(n.p,{children:"\u8fd9\u4e2a\u9879\u76ee\u5206\u4e3a\u4e09\u4e2a\u90e8\u5206\uff1a"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"spring-ai-alibaba-data-agent/\n\u251c\u2500\u2500 spring-ai-alibaba-data-agent-management # \u7ba1\u7406\u7aef\uff08\u53ef\u76f4\u63a5\u542f\u52a8\u7684Web\u5e94\u7528\uff09\n\u251c\u2500\u2500 spring-ai-alibaba-data-agent-chat # \u6838\u5fc3\u529f\u80fd\uff08\u4e0d\u80fd\u72ec\u7acb\u542f\u52a8\uff0c\u4f9b\u96c6\u6210\u4f7f\u7528\uff09\n\u2514\u2500\u2500 spring-ai-alibaba-data-agent-common # \u516c\u5171\u4ee3\u7801\n"})}),"\n",(0,i.jsx)(n.h2,{id:"\u5feb\u901f\u542f\u52a8",children:"\u5feb\u901f\u542f\u52a8"}),"\n",(0,i.jsx)(n.p,{children:"\u9879\u76ee\u8fdb\u884c\u672c\u5730\u6d4b\u8bd5\u662f\u5728spring-ai-alibaba-data-agent-management\u4e2d\u8fdb\u884c"}),"\n",(0,i.jsx)(n.h3,{id:"1-\u4e1a\u52a1\u6570\u636e\u5e93\u51c6\u5907",children:"1. \u4e1a\u52a1\u6570\u636e\u5e93\u51c6\u5907"}),"\n",(0,i.jsx)(n.p,{children:"\u53ef\u4ee5\u5728\u9879\u76ee\u4ed3\u5e93\u83b7\u53d6\u6d4b\u8bd5\u8868\u548c\u6570\u636e\uff1a"}),"\n",(0,i.jsxs)(n.p,{children:["\u6587\u4ef6\u5728\uff1a",(0,i.jsx)(n.code,{children:"spring-ai-alibaba-data-agent-management/src/main/resources/sql"}),"\uff0c\u91cc\u9762\u6709\u4e24\u4e2a\u6587\u4ef6\uff1a",(0,i.jsx)(n.code,{children:"schema.sql"})," \u548c ",(0,i.jsx)(n.code,{children:"data.sql"})]}),"\n",(0,i.jsx)(n.p,{children:"\u5c06\u8868\u548c\u6570\u636e\u5bfc\u5165\u5230\u4f60\u7684MySQL\u6570\u636e\u5e93\u4e2d\u3002"}),"\n",(0,i.jsx)(n.h3,{id:"2-\u914d\u7f6e",children:"2. \u914d\u7f6e"}),"\n",(0,i.jsx)(n.h4,{id:"21-\u914d\u7f6emanagement\u6570\u636e\u5e93",children:"2.1 \u914d\u7f6emanagement\u6570\u636e\u5e93"}),"\n",(0,i.jsxs)(n.p,{children:["\u5728",(0,i.jsx)(n.code,{children:"spring-ai-alibaba-data-agent-management/src/main/resources/application.yml"}),"\u4e2d\u914d\u7f6e\u4f60\u7684MySQL\u6570\u636e\u5e93\u8fde\u
163a5\u4fe1\u606f\u3002"]}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:["\u521d\u59cb\u5316\u884c\u4e3a\u8bf4\u660e\uff1a\u9ed8\u8ba4\u5f00\u542f\u81ea\u52a8\u521b\u5efa\u8868\u5e76\u63d2\u5165\u793a\u4f8b\u6570\u636e\uff08",(0,i.jsx)(n.code,{children:"spring.sql.init.mode: always"}),"\uff09\u3002\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u5173\u95ed\uff0c\u907f\u514d\u793a\u4f8b\u6570\u636e\u56de\u586b\u8986\u76d6\u4f60\u7684\u4e1a\u52a1\u6570\u636e\u3002"]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"spring:\n datasource:\n url: jdbc:mysql://127.0.0.1:3306/saa_data_agent?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowMultiQueries=true&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai\n username: ${MYSQL_USERNAME:root}\n password: ${MYSQL_PASSWORD:root}\n driver-class-name: com.mysql.cj.jdbc.Driver\n type: com.alibaba.druid.pool.DruidDataSource\n"})}),"\n",(0,i.jsx)(n.h4,{id:"22-\u53ef\u9009\u542f\u7528\u5173\u95ed\u81ea\u52a8\u521d\u59cb\u5316schemasql--datasql",children:"2.2 \u53ef\u9009\uff1a\u542f\u7528/\u5173\u95ed\u81ea\u52a8\u521d\u59cb\u5316\uff08schema.sql + data.sql\uff09"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\u9ed8\u8ba4\u914d\u7f6e\uff1a",(0,i.jsx)(n.code,{children:"application.yml"})," \u4e2d\u5df2\u8bbe\u7f6e\u4e3a\u5f00\u542f"]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"spring:\n sql:\n init:\n mode: always # \u9ed8\u8ba4\uff1a\u6bcf\u6b21\u542f\u52a8\u6267\u884c schema.sql \u4e0e data.sql\n schema-locations: classpath:sql/schema.sql\n data-locations: classpath:sql/data.sql\n"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\u82e5\u4e0d\u5e0c\u671b\u6bcf\u6b21\u542f\u52a8\u56de\u586b\u793a\u4f8b\u6570\u636e\uff0c\u53ef\u5c06 ",(0,i.jsx)(n.code,{children:"mode"})," \u6539\u4e3a ",(0,i.jsx)(n.code,{children:"never"})," \u5173\u95ed\uff1a"]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"spring:\n sql:\n init:\n mode: never # \u5173\u95ed\u81ea\u52a8\u521d\u59cb\u5316\n schema-locations: classpath:sql/schema.sql\n data-locations: classpath:sql/data.sql\n"})}),"\n",(0,i.jsxs)(n.p,{children:["\u6ce8\u610f\uff1a\u9ed8\u8ba4\u5f00\u542f\u65f6\uff08",(0,i.jsx)(n.code,{children:"mode: always"}),"\uff09\uff0c",(0,i.jsx)(n.code,{children:"data.sql"})," \u4f1a\u5728\u6bcf\u6b21\u542f\u52a8\u56de\u586b\u793a\u4f8b\u6570\u636e\uff08\u5373\u4f7f\u4f60\u624b\u52a8\u5220\u9664\u4e86\u6570\u636e\uff09\u3002\u751f\u4ea7\u73af\u5883\u8bf7\u6539\u4e3a ",(0,i.jsx)(n.code,{children:"mode: never"}),"\uff0c\u907f\u514d\u8986\u76d6/\u590d\u539f\u4e1a\u52a1\u6570\u636e\u3002"]}),"\n",(0,i.jsx)(n.h4,{id:"23-\u914d\u7f6e-api-key",children:"2.3 \u914d\u7f6e API Key"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"spring:\n ai:\n dashscope:\n api-key: ${AI_DASHSCOPE_API_KEY}\n chat:\n enabled: true\n options:\n model: qwen-plus\n embedding:\n enabled: true\n options:\n model: text-embedding-v4\n"})}),"\n",(0,i.jsxs)(n.p,{children:["\u63a8\u8350\u5c06API Key\u914d\u7f6e\u5230\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u5e76\u4f7f\u7528",(0,i.jsx)(n.code,{children:"${AI_DASHSCOPE_API_KEY}"}),"\u5f15\u7528\u3002"]}),"\n",(0,i.jsx)(n.h4,{id:"24-\u5d4c\u5165\u6a21\u578b\u6279\u5904\u7406\u7b56\u7565\u914d\u7f6e",children:"2.4 \u5d4c\u5165\u6a21\u578b\u6279\u5904\u7406\u7b56\u7565\u914d\u7f6e"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"\u5c5e\u6027"}),(0,i.jsx)(n.th,{children:"\u8bf4\u660e"}),(0,i.jsx)(n.th,{children:"\u9ed8\u8ba4\u503c"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.embedding-batch.encoding-type"}),(0,i.jsx)(n.td,{children:"\u6587\u672c\u7f16\u7801\u7c7b\u578b\uff0c\u53ef\u53c2\u8003com.knuddels.jtokkit.api.EncodingType"}),(0,i.jsx)(n.td,{children:"cl100k_base"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.embedding-batch.max-token-count"}),(0,i.jsx)(n.td,{children:"\u6bcf\u6279\u6b21\u6700\u5927\u4ee4\u724c\u6570 \u503c\u8d8a\u5c0f\uff0c\u6bcf\u6279\u6b21\u6587\u6863\u8d8a\u5c11\uff0c\u4f46\u66f4\u5b89\u5168 \u503c\u8d8a\u5927\uff0c\u5904\u7406\u6548\u7387\u8d8a\u9ad8\uff0c\u4f46\u53ef\u80fd\u8d85\u51faAPI\u9650\u5236 \u5efa\u8bae\u503c\uff1a2000-8000\uff0c\u6839\u636e\u5b9e\u9645API\u9650\u5236\u8c03\u6574"}),(0,i.jsx)(n.td,{children:"2000"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.embedding-batch.reserve-percentage"}),(0,i.jsx)(n.td,{children:"\u9884\u7559\u767e\u5206\u6bd4 \u7528\u4e8e\u9884\u7559\u7f13\u51b2\u7a7a\u95f4\uff0c\u907f\u514d\u8d85\u51fa\u9650\u5236 \u5efa\u8bae\u503c\uff1a0.1-0.2\uff0810%-20%\uff09"}),(0,i.jsx)(n.td,{children:"0.2"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.embedding-batch.max-text-count"}),(0,i.jsx)(n.td,{children:"\u6bcf\u6279\u6b21\u6700\u5927\u6587\u672c\u6570\u91cf \u9002\u7528\u4e8eDashScope\u7b49\u6709\u6587\u672c\u6570\u91cf\u9650\u5236\u7684API DashScope\u9650\u5236\u4e3a10"}),(0,i.jsx)(n.td,{children:"10"})]})]})]}),"\n",(0,i.jsx)(n.h4,{id:"25-\u5411\u91cf\u5e93\u914d\u7f6e",children:"2.5 \u54
111\u91cf\u5e93\u914d\u7f6e"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"\u5c5e\u6027"}),(0,i.jsx)(n.th,{children:"\u8bf4\u660e"}),(0,i.jsx)(n.th,{children:"\u9ed8\u8ba4\u503c"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.vector-store.similarity-threshold"}),(0,i.jsx)(n.td,{children:"\u76f8\u4f3c\u5ea6\u9608\u503c\u914d\u7f6e\uff0c\u7528\u4e8e\u8fc7\u6ee4\u76f8\u4f3c\u5ea6\u5206\u6570\u5927\u4e8e\u7b49\u4e8e\u6b64\u9608\u503c\u7684\u6587\u6863"}),(0,i.jsx)(n.td,{children:"0.2"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.vector-store.batch-del-topk-limit"}),(0,i.jsx)(n.td,{children:"\u4e00\u6b21\u5220\u9664\u64cd\u4f5c\u4e2d\uff0c\u6700\u591a\u5220\u9664\u7684\u6587\u6863\u6570\u91cf"}),(0,i.jsx)(n.td,{children:"5000"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.vector-store.topk-limit"}),(0,i.jsx)(n.td,{children:"\u67e5\u8be2\u8fd4\u56de\u6700\u5927\u6587\u6863\u6570"}),(0,i.jsx)(n.td,{children:"30"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.vector-store.enable-hybrid-search"}),(0,i.jsxs)(n.td,{children:["\u662f\u5426\u542f\u7528\u6df7\u5408\u641c\u7d22\u3002",(0,i.jsx)(n.strong,{children:"\u6ce8\u610f"}),"\uff1a",(0,i.jsxs)(n.strong,{children:["\u9879\u76ee\u76ee\u524d\u9ed8\u8ba4\u53ea\u63d0\u4f9bES\u7684\u6df7\u5408\u68c0\u7d22\u80fd\u529b\uff0c",(0,i.jsx)("br",{}),"\u5982\u9700\u8981\u6269\u5c55\u5176\u4ed6\u5411\u91cf\u5e93\u53ef\u81ea\u884c\u7ee7\u627f\u91cd\u5199 com.alibaba.cloud.ai.dataagent.service.hybrid.retrieval",(0,i.jsx)("br",{}),".AbstractHybridRetrievalStrategy#retrieve \u8be5\u65b9\u6cd5"]}),(0,i.jsx)("br",{}),(0,i.jsxs)(n.strong,{children:["\u5e76\u4e14\u4fee\u6539com.alibaba.cloud.ai.service.hybrid.",(0,i.jsx)("br",{}),"factory.HybridRetrievalStrategyFactory#getObject",(0,i.jsx)("br",{}),"\u6ce8\u518c\u76f8\u5e94\u7684bean"]})]}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"false"})})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.vector-store.elasticsearch-min-score"}),(0,i.jsxs)(n.td,{children:["Elasticsearch\u6700\u5c0f\u5206\u6570\u9608\u503c\uff0c\u7528\u4e8ees\u6267\u884c\u5173\u952e\u8bcd\u641c\u7d22\u65f6\u8fc7\u6ee4\u76f8\u5173\u6027\u8f83\u4f4e\u7684\u6587\u6863\u3002",(0,i.jsx)("br",{}),(0,i.jsx)(n.strong,{children:"\u5f00\u53d1\u65f6\u4f7f\u7528\u7684es\u670d\u52a1\u7aef\u7248\u672c 8.15.0"})]}),(0,i.jsx)(n.td,{children:"0.5"})]})]})]}),"\n",(0,i.jsx)(n.h4,{id:"26-\u68c0\u7d22\u878d\u5408\u7b56\u7565",children:"2.6 \u68c0\u7d22\u878d\u5408\u7b56\u7565"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"\u5c5e\u6027"}),(0,i.jsx)(n.th,{children:"\u8bf4\u660e"}),(0,i.jsx)(n.th,{children:"\u9ed8\u8ba4\u503c"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"spring.ai.alibaba.data-agent.fusion-strategy"}),(0,i.jsx)(n.td,{children:"\u591a\u8def\u53ec\u56de\u7ed3\u679c\u878d\u5408\u7b56\u7565"}),(0,i.jsx)(n.td,{children:"rrf"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{}),(0,i.jsx)(n.td,{}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h4,{id:"27-\u66ff\u6362chat-modelembedding-model\u548cvector-store\u7684\u5b9e\u73b0\u7c7b",children:"2.7 \u66ff\u6362chat-model\u3001embedding-model\u548cvector-store\u7684\u5b9e\u73b0\u7c7b"}),"\n",(0,i.jsxs)(n.p,{children:["\u672c\u9879\u76ee\u7684",(0,i.jsx)(n.code,{children:"ChatModel"}),"\u548c",(0,i.jsx)(n.code,{children:"EmbeddingModel"}),"\u9ed8\u8ba4\u4f7f\u7528",(0,i.jsx)(n.code,{children:"DashScope"}),"\u7684\u5b9e\u73b0\uff0c",(0,i.jsx)(n.code,{children:"VectorStore"}
1),"\u9ed8\u8ba4\u4f7f\u7528\u5185\u5b58\u5411\u91cf\uff0c\u4f60\u53ef\u4ee5\u66ff\u6362\u6210\u5176\u4ed6\u6a21\u578b\u5b9e\u73b0\u3002"]}),"\n",(0,i.jsxs)(n.p,{children:["\u5728\u6839pom\u4e2d\u7684",(0,i.jsx)(n.code,{children:"dependencies"}),"\u4e2d\u53ef\u4ee5\u66ff\u6362",(0,i.jsx)(n.code,{children:"ChatModel"}),"\uff0c",(0,i.jsx)(n.code,{children:"EmbeddingModel"}),"\u548c",(0,i.jsx)(n.code,{children:"VectorStore"}),"\u7684\u5b9e\u73b0starter\uff0c\u4ee5\u66ff\u6362\u6389\u9879\u76ee\u9ed8\u8ba4\u4f7f\u7528\u7684\u5b9e\u73b0\uff1a"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-xml",children:" <dependencies>\n \x3c!-- \u5728\u8fd9\u91cc\u53ef\u4ee5\u66ff\u6362vector-store\uff0cchat-model\u548cembedding-model\u7684starter --\x3e\n \x3c!-- \u5982\u679c\u4e0d\u4f7f\u7528\u9ed8\u8ba4\u4f9d\u8d56\u7684\u8bdd\uff0c\u9700\u8981\u624b\u52a8\u914d\u7f6eapplication.yml --\x3e\n \n <dependency>\n <groupId>com.alibaba.cloud.ai</groupId>\n <artifactId>spring-ai-alibaba-starter-dashscope</artifactId>\n <version>${spring-ai-alibaba.version}</version>\n </dependency>\n \n \x3c!-- milvus --\x3e\n \x3c!-- <dependency>--\x3e\n \x3c!-- <groupId>org.springframework.ai</groupId>--\x3e\n \x3c!-- <artifactId>spring-ai-starter-vector-store-milvus</artifactId>--\x3e\n \x3c!-- </dependency>--\x3e\n </dependencies>\n"})}),"\n",(0,i.jsxs)(n.p,{children:["\u6ce8\u610f\u4fee\u6539",(0,i.jsx)(n.code,{children:"application.yml"}),"\uff0c\u4ee5\u7b26\u5408\u8fd9\u4e9bstarter\u7684\u9700\u6c42\u3002"]}),"\n",(0,i.jsxs)(n.p,{children:["\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5982\u679c\u4f60\u9700\u8981\u4f7f\u7528",(0,i.jsx)(n.code,{children:"Milvus"}),"\u4f5c\u4e3a\u5411\u91cf\u5e93\uff0c\u4f7f\u7528DeepSeek\u7684",(0,i.jsx)(n.code,{children:"ChatModel"}),"\uff0c\u4f7f\u7528\u7845\u57fa\u6d41\u52a8\u7684",(0,i.jsx)(n.code,{children:"EmbeddingModel"}),"\uff0c\u4f60\u53ef\u4ee5\u5bfc\u5165\u4ee5\u4e0b\u4f9d\u8d56\uff1a"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-xml",children:" <dependencies>\n <dependency>\n <groupId>org.springframework.ai</groupId>\n <artifactId>spring-ai-starter-model-deepseek</artifactId>\n </dependency>\n\n <dependency>\n <groupId>org.springframework.ai</groupId>\n <artifactId>spring-ai-starter-model-openai</artifactId>\n </dependency>\n\n <dependency>\n <groupId>org.springframework.ai</groupId>\n <artifactId>spring-ai-starter-vector-store-milvus</artifactId>\n </dependency>\n </dependencies>\n"})}),"\n",(0,i.jsxs)(n.p,{children:["\u7136\u540e\u8fd9\u4e48\u5199",(0,i.jsx)(n.code,{children:"application.yml"}),"\uff1a"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"spring:\n ai:\n model:\n chat: deepseek # \u4e00\u5b9a\u8981\u914d\u7f6e\u6b64\u5b57\u6bb5\uff0c\u5426\u5219\u4f1a\u62a5\u591a\u4e2aBean\u5b9e\u4f8b\u7684\u5f02\u5e38\n embedding: openai\n deepseek:\n chat:\n api-key: ${DEEPSEEK_API_KEY}\n openai:\n api-key: ${SILICONFLOW_API_KEY}\n embedding:\n api-key: ${SILICONFLOW_API_KEY}\n base-url: https://api.siliconflow.cn\n options:\n model: BAAI/bge-m3\n vectorstore:\n milvus:\n initialize-schema: true\n client:\n host: ${MILVUS_HOST:192.168.16.100}\n port: ${MILVUS_PORT:19530}\n username: ${MILVUS_USERNAME:root}\n password: ${MILVUS_PASSWORD}\n databaseName: ${MILVUS_DATABASE:default}\n collectionName: ${MILVUS_COLLECTION:vector_store}\n embeddingDimension: 1536\n indexType: IVF_FLAT\n metricType: COSINE\n id-field-name:\n content-field-name:\n metadata-field-name:\n embedding-field-name:\n"})}),"\n",(0,i.jsx)(n.h3,{id:"3-\u542f\u52a8\u7ba1\u7406\u7aef",children:"3. \u542f\u52a8\u7ba1\u7406\u7aef"}),"\n",(0,i.jsxs)(n.p,{children:["\u5728",(0,i.jsx)(n.code,{children:"spring-ai-alibaba-data-agent-management"}),"\u76ee\u5f55\u4e0b\uff0c\u8fd0\u884c ",(0,i.jsx)(n.code,{children:"DataAgentApplication.java"})," \u7c7b\u3002"]}),"\n",(0,i.jsx)(n.h3,{id:"4-\u542f\u52a8web\u9875\u9762",children:"4. \u542f\u52a8WEB\u9875\u9762"}),"\n",(0,i.jsxs)(n.p,{children:["\u8fdb\u5165 ",(0,i.jsx)(n.code,{children:"spring-ai-alibaba-data-agent-frontend"})," \u76ee\u5f55"]}),"\n",(0,i.jsx)(n.h4,{id:"41-\u5b89\u88c5\u4f9d\u8d56",children:"4.1 \u5b89\u88c5\u4f9d\u8d56"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"# \u4f7f\u7528 npm\nnpm install\n\n# \u6216\u4f7f\u7528 yarn\nyarn install\n"})}
1),"\n",(0,i.jsx)(n.h4,{id:"42-\u542f\u52a8\u670d\u52a1",children:"4.2 \u542f\u52a8\u670d\u52a1"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"# \u4f7f\u7528 npm\nnpm run dev\n\n# \u6216\u4f7f\u7528 yarn\nyarn dev\n"})}),"\n",(0,i.jsxs)(n.p,{children:["\u542f\u52a8\u6210\u529f\u540e\uff0c\u8bbf\u95ee\u5730\u5740 ",(0,i.jsx)(n.a,{href:"http://localhost:3000",children:"http://localhost:3000"})]}),"\n",(0,i.jsx)(n.h2,{id:"\u7cfb\u7edf\u4f53\u9a8c",children:"\u7cfb\u7edf\u4f53\u9a8c"}),"\n",(0,i.jsx)(n.h3,{id:"\u6570\u636e\u667a\u80fd\u4f53\u7684\u521b\u5efa\u4e0e\u914d\u7f6e",children:"\u6570\u636e\u667a\u80fd\u4f53\u7684\u521b\u5efa\u4e0e\u914d\u7f6e"}),"\n",(0,i.jsxs)(n.p,{children:["\u8bbf\u95ee ",(0,i.jsx)(n.a,{href:"http://localhost:3000",children:"http://localhost:3000"})," \uff0c\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u9879\u76ee\u7684\u667a\u80fd\u4f53\u5217\u8868\uff08\u9ed8\u8ba4\u6709\u56db\u4e2a\u5360\u4f4d\u667a\u80fd\u4f53\uff0c\u5e76\u6ca1\u6709\u5bf9\u63a5\u6570\u636e\uff0c\u53ef\u4ee5\u5220\u9664\u6389\u7136\u540e\u521b\u5efa\u65b0\u7684\u667a\u80fd\u4f53\uff09"]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"homepage-agents.png",src:a(65412).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u70b9\u51fb\u53f3\u4e0a\u89d2\u201c\u521b\u5efa\u667a\u80fd\u4f53\u201d \uff0c\u8fd9\u91cc\u53ea\u9700\u8981\u8f93\u5165\u667a\u80fd\u4f53\u540d\u79f0\uff0c\u5176\u4ed6\u914d\u7f6e\u90fd\u9009\u9ed8\u8ba4\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"agent-create.png",src:a(95951).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u521b\u5efa\u6210\u529f\u540e\uff0c\u53ef\u4ee5\u770b\u5230\u667a\u80fd\u4f53\u914d\u7f6e\u9875\u9762\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"agent-config.png",src:a(20697).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u8fdb\u5165\u6570\u636e\u6e90\u914d\u7f6e\u9875\u9762\uff0c\u914d\u7f6e\u4e1a\u52a1\u6570\u636e\u5e93\uff08\u6211\u4eec\u5728\u73af\u5883\u521d\u59cb\u5316\u65f6\u7b2c\u4e00\u6b65\u63d0\u4f9b\u7684\u4e1a\u52a1\u6570\u636e\u5e93\uff09\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"datasource-config.png",src:a(36149).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u6dfb\u52a0\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5728\u5217\u8868\u9875\u9762\u9a8c\u8bc1\u6570\u636e\u6e90\u8fde\u63a5\u662f\u5426\u6b63\u5e38\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"datasource-validation.png",src:a(38982).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u5bf9\u4e8e\u6dfb\u52a0\u7684\u65b0\u6570\u636e\u6e90\uff0c\u9700\u8981\u9009\u62e9\u4f7f\u7528\u54ea\u4e9b\u6570\u636e\u8868\u8fdb\u884c\u6570\u636e\u5206\u6790\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"datasource-tables.png",src:a(84864).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u4e4b\u540e\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c\u521d\u59cb\u5316\u6570\u636e\u6e90\u201d\u6309\u94ae\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"datasource-init.png",src:a(16329).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u9884\u8bbe\u95ee\u9898\u7ba1\u7406\uff0c\u53ef\u4ee5\u4e3a\u667a\u80fd\u4f53\u8bbe\u7f6e\u9884\u8bbe\u95ee\u9898"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"preset-questions.png",src:a(12050).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsxs)(n.p,{children:["\u8bed\u4e49\u6a21\u578b\u7ba1\u7406\uff0c\u53ef\u4ee5\u4e3a\u667a\u80fd\u4f53\u8bbe\u7f6e\u8bed\u4e49\u6a21\u578b\u3002\n\u8bed\u4e49\u6a21\u578b\u5e93\u5b9a\u4e49\u4e1a\u52a1\u672f\u8bed\u5230\u6570\u636e\u5e93\u7269\u7406\u7ed3\u6784\u7684\u7cbe\u786e\u8f6c\u6362\u89c4\u5219\uff0c\u5b58\u50a8\u7684\u662f\u5b57\u6bb5\u540d\u7684\u6620\u5c04\u5173\u7cfb\u3002\n\u4f8b\u5982",(0,i.jsx)(n.code,{children:"customerSatisfactionScore"}),"\u5bf9\u5e94\u6570\u636e\u5e93\u4e2d\u7684",(0,i.jsx)(n.code,{children:"csat_score"}),"\u5b57\u6bb5\u3002"]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"semantic-models.png",src:a(57868).A+"",width:"1807",height:"1085"})}
1),"\n",(0,i.jsx)(n.p,{children:"\u4e1a\u52a1\u77e5\u8bc6\u7ba1\u7406\uff0c\u53ef\u4ee5\u4e3a\u667a\u80fd\u4f53\u8bbe\u7f6e\u4e1a\u52a1\u77e5\u8bc6\u3002\n\u4e1a\u52a1\u77e5\u8bc6\u5b9a\u4e49\u4e86\u4e1a\u52a1\u672f\u8bed\u548c\u4e1a\u52a1\u89c4\u5219\uff0c\u6bd4\u5982GMV= \u5546\u54c1\u4ea4\u6613\u603b\u989d,\u5305\u542b\u4ed8\u6b3e\u548c\u672a\u4ed8\u6b3e\u7684\u8ba2\u5355\u91d1\u989d\u3002\n\u4e1a\u52a1\u77e5\u8bc6\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u53ec\u56de\u6216\u8005\u4e0d\u53ec\u56de\uff0c\u914d\u7f6e\u5b8c\u6210\u540e\u9700\u8981\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c\u540c\u6b65\u5230\u5411\u91cf\u5e93\u201d\u6309\u94ae\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"business-knowledge.png",src:a(4990).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u6210\u529f\u540e\u53ef\u4ee5\u70b9\u51fb\u201c\u524d\u5f80\u8fd0\u884c\u754c\u9762\u201d\u4f7f\u7528\u667a\u80fd\u4f53\u8fdb\u884c\u6570\u636e\u67e5\u8be2\u3002 \u8c03\u8bd5\u6ca1\u95ee\u9898\u540e\uff0c\u53ef\u4ee5\u53d1\u5e03\u667a\u80fd\u4f53\u3002"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsx)(n.p,{children:"\u76ee\u524d\u201c\u667a\u80fd\u4f53\u77e5\u8bc6\u201d\u548c\u201c\u8bbf\u95eeAPI\u201d\u5f53\u524d\u7248\u672c\u6682\u672a\u5b9e\u73b0\u3002"}),"\n"]}),"\n",(0,i.jsx)(n.h3,{id:"\u6570\u636e\u667a\u80fd\u4f53\u7684\u8fd0\u884c",children:"\u6570\u636e\u667a\u80fd\u4f53\u7684\u8fd0\u884c"}),"\n",(0,i.jsx)(n.p,{children:"\u8fd0\u884c\u754c\u9762"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"run-page.png",src:a(16726).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u8fd0\u884c\u754c\u9762\u5de6\u4fa7\u662f\u5386\u53f2\u6d88\u606f\u8bb0\u5f55\uff0c\u53f3\u4fa7\u662f\u5f53\u524d\u4f1a\u8bdd\u8bb0\u5f55\u3001\u8f93\u5165\u6846\u4ee5\u53ca\u8bf7\u6c42\u53c2\u6570\u914d\u7f6e\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u95ee\u9898\uff0c\u70b9\u51fb\u201c\u53d1\u9001\u201d\u6309\u94ae\uff0c\u5373\u53ef\u5f00\u59cb\u67e5\u8be2\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"analyze-question.png",src:a(59474).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u5206\u6790\u62a5\u544a\u4e3aHTML\u683c\u5f0f\u62a5\u544a\uff0c\u70b9\u51fb\u201c\u4e0b\u8f7d\u62a5\u544a\u201d\u6309\u94ae\uff0c\u5373\u53ef\u4e0b\u8f7d\u6700\u7ec8\u62a5\u544a\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"analyze-result.png",src:a(13289).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u9664\u4e86\u9ed8\u8ba4\u7684\u8bf7\u6c42\u6a21\u5f0f\uff0c\u667a\u80fd\u4f53\u8fd0\u884c\u65f6\u8fd8\u652f\u6301\u201c\u4eba\u5de5\u53cd\u9988\u201d\uff0c\u201c\u4ec5NL2SQL\u201d\uff0c\u201c\u7b80\u6d01\u62a5\u544a\u201d\u548c\u201c\u663e\u793aSQL\u8fd0\u884c\u7ed3\u679c\u201d\u7b49\u6a21\u5f0f\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u9ed8\u8ba4\u60c5\u51b5\u4e0d\u5f00\u542f\u4eba\u5de5\u53cd\u9988\u6a21\u5f0f\uff0c\u667a\u80fd\u4f53\u76f4\u63a5\u81ea\u52a8\u751f\u6210\u8ba1\u5212\u5e76\u6267\u884c\uff0c\u5e76\u5bf9SQL\u6267\u884c\u7ed3\u679c\u8fdb\u884c\u89e3\u6790\uff0c\u751f\u6210\u62a5\u544a\u3002\n\u5982\u679c\u5f00\u542f\u4eba\u5de5\u53cd\u9988\u6a21\u5f0f\uff0c\u5219\u667a\u80fd\u4f53\u4f1a\u5728\u751f\u6210\u8ba1\u5212\u540e\uff0c\u7b49\u5f85\u7528\u6237\u786e\u8ba4\uff0c\u7136\u540e\u6839\u636e\u7528\u6237\u9009\u62e9\u7684\u53cd\u9988\u7ed3\u679c\uff0c\u66f4\u6539\u8ba1\u5212\u6216\u8005\u6267\u884c\u8ba1\u5212\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"feedback-mode.png",src:a(82800).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u201c\u4ec5NL2SQL\u6a21\u5f0f\u201d\u4f1a\u8ba9\u667a\u80fd\u4f53\u53ea\u751f\u6210SQL\u548c\u8fd0\u884c\u83b7\u53d6\u7ed3\u679c\uff0c\u4e0d\u4f1a\u751f\u6210\u62a5\u544a\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"nl2sql-mode.png",src:a(78347).A+"",width:"1807",height:"1085"})}),"\n",(0,i.jsx)(n.p,{children:"\u201c\u663e\u793aSQL\u8fd0\u884c\u7ed3\u679c\u201d\u4f1a\u5728\u751f\u6210SQL\u548c\u8fd0\u884c\u83b7\u53d6\u7ed3\u679c\u540e\uff0c\u5c06SQL\u8fd0\u884c\u7ed3\u679c\u5c55\u793a\u7ed9\u7528\u6237\u3002"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"show-sql-result.png",src:a(21885).A+"",width:"1807",height:"1085"})})]})}function o(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},78347:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/nl2sql-mode-16c882462535f182ea6ade6727ed10b3.png"},82800:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/feedback-mode-5b11be2185b9b15446380f593ab9bbc2.png"},84864:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/datasource-tables-29aa51e1215ef2789fac934b07153988.png"},95951:(e,n,a)=>{a.d(n,{A:()=>s});const s=a.p+"assets/images/agent-create-973735ec5b628d702cd85ae024365f0d.png"}}]);
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.