[{"data":1,"prerenderedAt":1325},["ShallowReactive",2],{"navigation_docs_en":3,"-en-ai-assistant":122,"-en-ai-assistant-surround":1320},[4,41,77,103],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":40},"Getting Started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[10,15,20,25,30,35],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F1.getting-started\u002F2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F3.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Project Structure","\u002Fen\u002Fgetting-started\u002Fproject-structure","en\u002F1.getting-started\u002F4.project-structure","i-lucide-folder-tree",{"title":26,"path":27,"stem":28,"icon":29},"Studio module","\u002Fen\u002Fgetting-started\u002Fstudio","en\u002F1.getting-started\u002F5.studio","i-lucide-mouse-pointer-2",{"title":31,"path":32,"stem":33,"icon":34},"Migration","\u002Fen\u002Fgetting-started\u002Fmigration","en\u002F1.getting-started\u002F6.migration","i-lucide-replace",{"title":36,"path":37,"stem":38,"icon":39},"Troubleshooting","\u002Fen\u002Fgetting-started\u002Ftroubleshooting","en\u002F1.getting-started\u002F7.troubleshooting","i-lucide-wrench",false,{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":40},"Core Concepts","i-lucide-brain","\u002Fen\u002Fconcepts","en\u002F2.concepts",[47,52,57,62,67,72],{"title":48,"path":49,"stem":50,"icon":51},"Edition","\u002Fen\u002Fconcepts\u002Fedition","en\u002F2.concepts\u002F2.edition","i-lucide-pencil",{"title":53,"path":54,"stem":55,"icon":56},"Configuration","\u002Fen\u002Fconcepts\u002Fconfiguration","en\u002F2.concepts\u002F3.configuration","i-lucide-settings",{"title":58,"path":59,"stem":60,"icon":61},"Theme","\u002Fen\u002Fconcepts\u002Ftheme","en\u002F2.concepts\u002F4.theme","i-lucide-paint-roller",{"title":63,"path":64,"stem":65,"icon":66},"Customization","\u002Fen\u002Fconcepts\u002Fcustomization","en\u002F2.concepts\u002F5.customization","i-lucide-pen-tool",{"title":68,"path":69,"stem":70,"icon":71},"Internationalization","\u002Fen\u002Fconcepts\u002Finternationalization","en\u002F2.concepts\u002F6.internationalization","i-lucide-globe",{"title":73,"path":74,"stem":75,"icon":76},"Nuxt","\u002Fen\u002Fconcepts\u002Fnuxt","en\u002F2.concepts\u002F8.nuxt","i-simple-icons-nuxt",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":40},"Essentials","i-lucide-book-open","\u002Fen\u002Fessentials","en\u002F3.essentials",[83,88,93,98],{"title":84,"path":85,"stem":86,"icon":87},"Markdown Syntax","\u002Fen\u002Fessentials\u002Fmarkdown-syntax","en\u002F3.essentials\u002F1.markdown-syntax","i-lucide-heading-1",{"title":89,"path":90,"stem":91,"icon":92},"Code Blocks","\u002Fen\u002Fessentials\u002Fcode-blocks","en\u002F3.essentials\u002F2.code-blocks","i-lucide-code-xml",{"title":94,"path":95,"stem":96,"icon":97},"Components","\u002Fen\u002Fessentials\u002Fcomponents","en\u002F3.essentials\u002F3.components","i-lucide-component",{"title":99,"path":100,"stem":101,"icon":102},"Images and Embeds","\u002Fen\u002Fessentials\u002Fimages-embeds","en\u002F3.essentials\u002F4.images-embeds","i-lucide-image",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":40},"AI","i-lucide-sparkles","\u002Fen\u002Fai","en\u002F4.ai",[109,113,117],{"title":110,"path":111,"stem":112},"Agent","\u002Fen\u002Fai\u002Fassistant","en\u002F4.ai\u002F1.assistant",{"title":114,"path":115,"stem":116},"MCP Server","\u002Fen\u002Fai\u002Fmcp","en\u002F4.ai\u002F2.mcp",{"title":118,"path":119,"stem":120,"icon":121},"LLMs Integration","\u002Fen\u002Fai\u002Fllms","en\u002F4.ai\u002F3.llms","i-lucide-message-circle-code",{"id":123,"title":110,"body":124,"description":137,"extension":1315,"links":1316,"meta":1317,"navigation":539,"path":111,"seo":1318,"stem":112,"__hash__":1319},"docs_en\u002Fen\u002F4.ai\u002F1.assistant.md",{"type":125,"value":126,"toc":1297},"minimark",[127,131,138,143,146,163,175,178,181,184,208,213,216,221,224,237,241,247,251,254,257,260,280,284,287,509,513,517,520,571,575,578,670,673,677,682,745,749,755,948,952,955,1130,1134,1141,1261,1293],[128,129,110],"h1",{"id":130},"agent",[132,133,134],"blockquote",{},[135,136,137],"p",{},"Docus Agent provides AI-powered features for your documentation, including a chat assistant and automated PR documentation reviews.",[139,140,142],"h2",{"id":141},"about-docus-agent","About Docus Agent",[135,144,145],{},"The agent enhances your documentation workflow and user experience through two main features:",[147,148,149,157],"ul",{},[150,151,152,156],"li",{},[153,154,155],"strong",{},"Chat Assistant",": Answers user questions directly on your documentation site using natural language and source citations.",[150,158,159,162],{},[153,160,161],{},"Review Agent",": Automatically reviews Pull Requests and suggests or commits documentation updates to keep your docs in sync with code changes.",[164,165,166,167,174],"note",{},"The agent requires an ",[168,169,173],"a",{"href":170,"rel":171},"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fai-gateway",[172],"nofollow","AI Gateway"," API key to function.",[139,176,155],{"id":177},"chat-assistant",[135,179,180],{},"The chat assistant answers questions about your documentation through natural language queries. It is embedded directly in your documentation site, so users can find answers quickly.",[135,182,183],{},"When users ask questions, the assistant:",[147,185,186,196,202],{},[150,187,188,191,192,195],{},[153,189,190],{},"Searches and retrieves"," relevant content from your documentation using an ",[168,193,194],{"href":115},"MCP server",".",[150,197,198,201],{},[153,199,200],{},"Cites sources"," with navigable links to take users directly to referenced pages.",[150,203,204,207],{},[153,205,206],{},"Generates copyable code examples"," to help users implement solutions from your documentation.",[209,210,212],"h3",{"id":211},"using-the-assistant","Using the Assistant",[135,214,215],{},"Users can interact with the assistant in multiple ways:",[217,218,220],"h4",{"id":219},"floating-input","Floating Input",[135,222,223],{},"On documentation pages, a floating input appears at the bottom of the screen. Users can type their questions directly and press Enter to get answers.",[225,226,227,228,232,233,236],"tip",{},"Use the keyboard shortcut ",[229,230,232],"kbd",{"value":231},"meta"," ",[229,234,232],{"value":235},"I"," to focus the floating input.",[217,238,240],{"id":239},"explain-with-ai","Explain with AI",[135,242,243,244,246],{},"Each documentation page includes an ",[153,245,240],{}," button in the table of contents sidebar. Clicking this button opens the assistant with the current page as context, asking it to explain the content.",[217,248,250],{"id":249},"slideover-chat","Slideover Chat",[135,252,253],{},"When a conversation starts, a slideover panel opens on the right side of the screen. This panel displays the conversation history and allows users to continue asking questions.",[139,255,161],{"id":256},"review-agent",[135,258,259],{},"The Review Agent is a specialized documentation agent that keeps your docs in sync with your code. Triggered by GitHub webhooks, it analyzes Pull Request diffs and identifies necessary documentation updates.",[147,261,262,268,274],{},[150,263,264,267],{},[153,265,266],{},"Automated Reviews",": Automatically scans every PR for changes that impact documentation.",[150,269,270,273],{},[153,271,272],{},"Content Discovery",": Uses the built-in MCP server to find existing pages related to the changed code.",[150,275,276,279],{},[153,277,278],{},"Direct Commits",": Can commit updated documentation directly to your PR branch or post suggestions as comments.",[209,281,283],{"id":282},"setup-for-review-agent","Setup for Review Agent",[135,285,286],{},"To enable the Review Agent, you need to provide GitHub App credentials:",[288,289,291,295,310,314,317,321,324,379,383,390],"steps",{"level":290},"4",[217,292,294],{"id":293},"create-a-github-app","Create a GitHub App",[135,296,297,298,301,302,306,307,195],{},"Create a new GitHub App with ",[153,299,300],{},"Read & Write"," permissions for ",[303,304,305],"code",{},"Pull Requests"," and ",[303,308,309],{},"Repository Contents",[217,311,313],{"id":312},"generate-credentials","Generate Credentials",[135,315,316],{},"Generate a private key and a webhook secret for your app.",[217,318,320],{"id":319},"set-environment-variables","Set Environment Variables",[135,322,323],{},"Add the following to your environment:",[325,326,332],"pre",{"className":327,"code":328,"filename":329,"language":330,"meta":331,"style":331},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","GITHUB_APP_ID=your-app-id\nGITHUB_APP_PRIVATE_KEY=\"-----BEGIN RSA PRIVATE KEY-----\\n...\"\nGITHUB_WEBHOOK_SECRET=your-webhook-secret\n",".env","bash","",[303,333,334,351,368],{"__ignoreMap":331},[335,336,339,343,347],"span",{"class":337,"line":338},"line",1,[335,340,342],{"class":341},"sTEyZ","GITHUB_APP_ID",[335,344,346],{"class":345},"sMK4o","=",[335,348,350],{"class":349},"sfazB","your-app-id\n",[335,352,354,357,359,362,365],{"class":337,"line":353},2,[335,355,356],{"class":341},"GITHUB_APP_PRIVATE_KEY",[335,358,346],{"class":345},[335,360,361],{"class":345},"\"",[335,363,364],{"class":349},"-----BEGIN RSA PRIVATE KEY-----\\n...",[335,366,367],{"class":345},"\"\n",[335,369,371,374,376],{"class":337,"line":370},3,[335,372,373],{"class":341},"GITHUB_WEBHOOK_SECRET",[335,375,346],{"class":345},[335,377,378],{"class":349},"your-webhook-secret\n",[217,380,382],{"id":381},"enable-in-configuration","Enable in Configuration",[135,384,385,386,389],{},"Enable the review feature in your ",[303,387,388],{},"nuxt.config.ts",":",[325,391,395],{"className":392,"code":393,"filename":388,"language":394,"meta":331,"style":331},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  docus: {\n    agent: {\n      review: {\n        enabled: true,\n        mode: 'commit' \u002F\u002F or 'comment'\n      }\n    }\n  }\n})\n","ts",[303,396,397,416,427,436,446,461,482,488,494,500],{"__ignoreMap":331},[335,398,399,403,406,410,413],{"class":337,"line":338},[335,400,402],{"class":401},"s7zQu","export",[335,404,405],{"class":401}," default",[335,407,409],{"class":408},"s2Zo4"," defineNuxtConfig",[335,411,412],{"class":341},"(",[335,414,415],{"class":345},"{\n",[335,417,418,422,424],{"class":337,"line":353},[335,419,421],{"class":420},"swJcz","  docus",[335,423,389],{"class":345},[335,425,426],{"class":345}," {\n",[335,428,429,432,434],{"class":337,"line":370},[335,430,431],{"class":420},"    agent",[335,433,389],{"class":345},[335,435,426],{"class":345},[335,437,439,442,444],{"class":337,"line":438},4,[335,440,441],{"class":420},"      review",[335,443,389],{"class":345},[335,445,426],{"class":345},[335,447,449,452,454,458],{"class":337,"line":448},5,[335,450,451],{"class":420},"        enabled",[335,453,389],{"class":345},[335,455,457],{"class":456},"sfNiH"," true",[335,459,460],{"class":345},",\n",[335,462,464,467,469,472,475,478],{"class":337,"line":463},6,[335,465,466],{"class":420},"        mode",[335,468,389],{"class":345},[335,470,471],{"class":345}," '",[335,473,474],{"class":349},"commit",[335,476,477],{"class":345},"'",[335,479,481],{"class":480},"sHwdD"," \u002F\u002F or 'comment'\n",[335,483,485],{"class":337,"line":484},7,[335,486,487],{"class":345},"      }\n",[335,489,491],{"class":337,"line":490},8,[335,492,493],{"class":345},"    }\n",[335,495,497],{"class":337,"line":496},9,[335,498,499],{"class":345},"  }\n",[335,501,503,506],{"class":337,"line":502},10,[335,504,505],{"class":345},"}",[335,507,508],{"class":341},")\n",[139,510,512],{"id":511},"quick-start","Quick Start",[209,514,516],{"id":515},"_1-set-environment-variables","1. Set Environment Variables",[135,518,519],{},"Add your API key and GitHub credentials to your environment:",[325,521,523],{"className":327,"code":522,"filename":329,"language":330,"meta":331,"style":331},"AI_GATEWAY_API_KEY=your-api-key\n\n# For Review Agent\nGITHUB_APP_ID=...\nGITHUB_APP_PRIVATE_KEY=...\nGITHUB_WEBHOOK_SECRET=...\n",[303,524,525,535,541,546,555,563],{"__ignoreMap":331},[335,526,527,530,532],{"class":337,"line":338},[335,528,529],{"class":341},"AI_GATEWAY_API_KEY",[335,531,346],{"class":345},[335,533,534],{"class":349},"your-api-key\n",[335,536,537],{"class":337,"line":353},[335,538,540],{"emptyLinePlaceholder":539},true,"\n",[335,542,543],{"class":337,"line":370},[335,544,545],{"class":480},"# For Review Agent\n",[335,547,548,550,552],{"class":337,"line":438},[335,549,342],{"class":341},[335,551,346],{"class":345},[335,553,554],{"class":349},"...\n",[335,556,557,559,561],{"class":337,"line":448},[335,558,356],{"class":341},[335,560,346],{"class":345},[335,562,554],{"class":349},[335,564,565,567,569],{"class":337,"line":463},[335,566,373],{"class":341},[335,568,346],{"class":345},[335,570,554],{"class":349},[209,572,574],{"id":573},"_2-configure-nuxt","2. Configure Nuxt",[135,576,577],{},"The agent features are automatically detected based on environment variables, but you can explicitly configure them:",[325,579,581],{"className":392,"code":580,"filename":388,"language":394,"meta":331,"style":331},"export default defineNuxtConfig({\n  docus: {\n    agent: {\n      chat: {\n        enabled: true\n      },\n      review: {\n        enabled: true\n      }\n    }\n  }\n})\n",[303,582,583,595,603,611,620,629,634,642,650,654,658,663],{"__ignoreMap":331},[335,584,585,587,589,591,593],{"class":337,"line":338},[335,586,402],{"class":401},[335,588,405],{"class":401},[335,590,409],{"class":408},[335,592,412],{"class":341},[335,594,415],{"class":345},[335,596,597,599,601],{"class":337,"line":353},[335,598,421],{"class":420},[335,600,389],{"class":345},[335,602,426],{"class":345},[335,604,605,607,609],{"class":337,"line":370},[335,606,431],{"class":420},[335,608,389],{"class":345},[335,610,426],{"class":345},[335,612,613,616,618],{"class":337,"line":438},[335,614,615],{"class":420},"      chat",[335,617,389],{"class":345},[335,619,426],{"class":345},[335,621,622,624,626],{"class":337,"line":448},[335,623,451],{"class":420},[335,625,389],{"class":345},[335,627,628],{"class":456}," true\n",[335,630,631],{"class":337,"line":463},[335,632,633],{"class":345},"      },\n",[335,635,636,638,640],{"class":337,"line":484},[335,637,441],{"class":420},[335,639,389],{"class":345},[335,641,426],{"class":345},[335,643,644,646,648],{"class":337,"line":490},[335,645,451],{"class":420},[335,647,389],{"class":345},[335,649,628],{"class":456},[335,651,652],{"class":337,"line":496},[335,653,487],{"class":345},[335,655,656],{"class":337,"line":502},[335,657,493],{"class":345},[335,659,661],{"class":337,"line":660},11,[335,662,499],{"class":345},[335,664,666,668],{"class":337,"line":665},12,[335,667,505],{"class":345},[335,669,508],{"class":341},[139,671,53],{"id":672},"configuration",[209,674,676],{"id":675},"nuxt-configuration","Nuxt Configuration",[135,678,679,680,389],{},"Configure advanced options in ",[303,681,388],{},[683,684,685,694,701,710,717,724,737],"field-group",{},[686,687,690,691],"field",{"name":688,"type":689},"model","string","AI model to use (uses AI SDK Gateway format). Default: ",[303,692,693],{},"google\u002Fgemini-3-flash",[686,695,697,698],{"name":696,"type":689},"mcpServer","MCP server path or URL. Default: ",[303,699,700],{},"\u002Fmcp",[686,702,705,706,709],{"name":703,"type":704},"chat.enabled","boolean","Enable the chat assistant. Default: ",[303,707,708],{},"true"," (if API key present)",[686,711,713,714],{"name":712,"type":689},"chat.apiPath","API endpoint for the chat assistant. Default: ",[303,715,716],{},"\u002F__docus__\u002Fassistant",[686,718,720,721],{"name":719,"type":704},"review.enabled","Enable the PR documentation review agent. Default: ",[303,722,723],{},"false",[686,725,727,728,730,731,734,735],{"name":726,"type":689},"review.mode","Mode for the review agent: ",[303,729,474],{}," (direct commits) or ",[303,732,733],{},"comment"," (PR comments). Default: ",[303,736,733],{},[686,738,740,741,744],{"name":739,"type":689},"review.githubRepo","Target GitHub repository (e.g., ",[303,742,743],{},"owner\u002Frepo","). Auto-detected in CI.",[209,746,748],{"id":747},"app-configuration","App Configuration",[135,750,751,752,389],{},"The Chat Assistant UI can be customized through ",[303,753,754],{},"app.config.ts",[325,756,758],{"className":392,"code":757,"filename":754,"language":394,"meta":331,"style":331},"export default defineAppConfig({\n  assistant: {\n    \u002F\u002F Show the floating input on documentation pages\n    floatingInput: true,\n\n    \u002F\u002F Show the \"Explain with AI\" button in the sidebar\n    explainWithAi: true,\n\n    \u002F\u002F FAQ questions to display when chat is empty\n    faqQuestions: [],\n\n    \u002F\u002F Keyboard shortcuts\n    shortcuts: {\n      focusInput: 'meta_i'\n    },\n\n    \u002F\u002F Custom icons\n    icons: {\n      trigger: 'i-lucide-sparkles',\n      explain: 'i-lucide-brain'\n    }\n  }\n})\n",[303,759,760,773,782,787,798,802,807,818,822,827,839,843,848,858,874,880,885,891,901,917,931,936,941],{"__ignoreMap":331},[335,761,762,764,766,769,771],{"class":337,"line":338},[335,763,402],{"class":401},[335,765,405],{"class":401},[335,767,768],{"class":408}," defineAppConfig",[335,770,412],{"class":341},[335,772,415],{"class":345},[335,774,775,778,780],{"class":337,"line":353},[335,776,777],{"class":420},"  assistant",[335,779,389],{"class":345},[335,781,426],{"class":345},[335,783,784],{"class":337,"line":370},[335,785,786],{"class":480},"    \u002F\u002F Show the floating input on documentation pages\n",[335,788,789,792,794,796],{"class":337,"line":438},[335,790,791],{"class":420},"    floatingInput",[335,793,389],{"class":345},[335,795,457],{"class":456},[335,797,460],{"class":345},[335,799,800],{"class":337,"line":448},[335,801,540],{"emptyLinePlaceholder":539},[335,803,804],{"class":337,"line":463},[335,805,806],{"class":480},"    \u002F\u002F Show the \"Explain with AI\" button in the sidebar\n",[335,808,809,812,814,816],{"class":337,"line":484},[335,810,811],{"class":420},"    explainWithAi",[335,813,389],{"class":345},[335,815,457],{"class":456},[335,817,460],{"class":345},[335,819,820],{"class":337,"line":490},[335,821,540],{"emptyLinePlaceholder":539},[335,823,824],{"class":337,"line":496},[335,825,826],{"class":480},"    \u002F\u002F FAQ questions to display when chat is empty\n",[335,828,829,832,834,837],{"class":337,"line":502},[335,830,831],{"class":420},"    faqQuestions",[335,833,389],{"class":345},[335,835,836],{"class":341}," []",[335,838,460],{"class":345},[335,840,841],{"class":337,"line":660},[335,842,540],{"emptyLinePlaceholder":539},[335,844,845],{"class":337,"line":665},[335,846,847],{"class":480},"    \u002F\u002F Keyboard shortcuts\n",[335,849,851,854,856],{"class":337,"line":850},13,[335,852,853],{"class":420},"    shortcuts",[335,855,389],{"class":345},[335,857,426],{"class":345},[335,859,861,864,866,868,871],{"class":337,"line":860},14,[335,862,863],{"class":420},"      focusInput",[335,865,389],{"class":345},[335,867,471],{"class":345},[335,869,870],{"class":349},"meta_i",[335,872,873],{"class":345},"'\n",[335,875,877],{"class":337,"line":876},15,[335,878,879],{"class":345},"    },\n",[335,881,883],{"class":337,"line":882},16,[335,884,540],{"emptyLinePlaceholder":539},[335,886,888],{"class":337,"line":887},17,[335,889,890],{"class":480},"    \u002F\u002F Custom icons\n",[335,892,894,897,899],{"class":337,"line":893},18,[335,895,896],{"class":420},"    icons",[335,898,389],{"class":345},[335,900,426],{"class":345},[335,902,904,907,909,911,913,915],{"class":337,"line":903},19,[335,905,906],{"class":420},"      trigger",[335,908,389],{"class":345},[335,910,471],{"class":345},[335,912,105],{"class":349},[335,914,477],{"class":345},[335,916,460],{"class":345},[335,918,920,923,925,927,929],{"class":337,"line":919},20,[335,921,922],{"class":420},"      explain",[335,924,389],{"class":345},[335,926,471],{"class":345},[335,928,43],{"class":349},[335,930,873],{"class":345},[335,932,934],{"class":337,"line":933},21,[335,935,493],{"class":345},[335,937,939],{"class":337,"line":938},22,[335,940,499],{"class":345},[335,942,944,946],{"class":337,"line":943},23,[335,945,505],{"class":345},[335,947,508],{"class":341},[217,949,951],{"id":950},"faq-questions","FAQ Questions",[135,953,954],{},"Display suggested questions when the chat is empty.",[956,957,958,1029],"code-group",{},[325,959,962],{"className":392,"code":960,"filename":961,"language":394,"meta":331,"style":331},"export default defineAppConfig({\n  assistant: {\n    faqQuestions: [\n      'How do I install Docus?',\n      'How do I customize the theme?'\n    ]\n  }\n})\n","Simple",[303,963,964,976,984,993,1005,1014,1019,1023],{"__ignoreMap":331},[335,965,966,968,970,972,974],{"class":337,"line":338},[335,967,402],{"class":401},[335,969,405],{"class":401},[335,971,768],{"class":408},[335,973,412],{"class":341},[335,975,415],{"class":345},[335,977,978,980,982],{"class":337,"line":353},[335,979,777],{"class":420},[335,981,389],{"class":345},[335,983,426],{"class":345},[335,985,986,988,990],{"class":337,"line":370},[335,987,831],{"class":420},[335,989,389],{"class":345},[335,991,992],{"class":341}," [\n",[335,994,995,998,1001,1003],{"class":337,"line":438},[335,996,997],{"class":345},"      '",[335,999,1000],{"class":349},"How do I install Docus?",[335,1002,477],{"class":345},[335,1004,460],{"class":345},[335,1006,1007,1009,1012],{"class":337,"line":448},[335,1008,997],{"class":345},[335,1010,1011],{"class":349},"How do I customize the theme?",[335,1013,873],{"class":345},[335,1015,1016],{"class":337,"line":463},[335,1017,1018],{"class":341},"    ]\n",[335,1020,1021],{"class":337,"line":484},[335,1022,499],{"class":345},[335,1024,1025,1027],{"class":337,"line":490},[335,1026,505],{"class":345},[335,1028,508],{"class":341},[325,1030,1033],{"className":392,"code":1031,"filename":1032,"language":394,"meta":331,"style":331},"export default defineAppConfig({\n  assistant: {\n    faqQuestions: [\n      {\n        category: 'Getting Started',\n        items: ['How do I install Docus?', 'What is the project structure?']\n      }\n    ]\n  }\n})\n","Categorized",[303,1034,1035,1047,1055,1063,1068,1083,1112,1116,1120,1124],{"__ignoreMap":331},[335,1036,1037,1039,1041,1043,1045],{"class":337,"line":338},[335,1038,402],{"class":401},[335,1040,405],{"class":401},[335,1042,768],{"class":408},[335,1044,412],{"class":341},[335,1046,415],{"class":345},[335,1048,1049,1051,1053],{"class":337,"line":353},[335,1050,777],{"class":420},[335,1052,389],{"class":345},[335,1054,426],{"class":345},[335,1056,1057,1059,1061],{"class":337,"line":370},[335,1058,831],{"class":420},[335,1060,389],{"class":345},[335,1062,992],{"class":341},[335,1064,1065],{"class":337,"line":438},[335,1066,1067],{"class":345},"      {\n",[335,1069,1070,1073,1075,1077,1079,1081],{"class":337,"line":448},[335,1071,1072],{"class":420},"        category",[335,1074,389],{"class":345},[335,1076,471],{"class":345},[335,1078,5],{"class":349},[335,1080,477],{"class":345},[335,1082,460],{"class":345},[335,1084,1085,1088,1090,1093,1095,1097,1099,1102,1104,1107,1109],{"class":337,"line":463},[335,1086,1087],{"class":420},"        items",[335,1089,389],{"class":345},[335,1091,1092],{"class":341}," [",[335,1094,477],{"class":345},[335,1096,1000],{"class":349},[335,1098,477],{"class":345},[335,1100,1101],{"class":345},",",[335,1103,471],{"class":345},[335,1105,1106],{"class":349},"What is the project structure?",[335,1108,477],{"class":345},[335,1110,1111],{"class":341},"]\n",[335,1113,1114],{"class":337,"line":484},[335,1115,487],{"class":345},[335,1117,1118],{"class":337,"line":490},[335,1119,1018],{"class":341},[335,1121,1122],{"class":337,"line":496},[335,1123,499],{"class":345},[335,1125,1126,1128],{"class":337,"line":502},[335,1127,505],{"class":345},[335,1129,508],{"class":341},[139,1131,1133],{"id":1132},"programmatic-access","Programmatic Access",[135,1135,1136,1137,1140],{},"Use the ",[303,1138,1139],{},"useAssistant"," composable to control the assistant programmatically:",[325,1142,1146],{"className":1143,"code":1144,"language":1145,"meta":331,"style":331},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup>\nconst { isEnabled, isOpen, open, close, toggle } = useAssistant()\n\nfunction askQuestion() {\n  \u002F\u002F Open the assistant with a pre-filled question\n  open('How do I configure the theme?', true)\n}\n\u003C\u002Fscript>\n","vue",[303,1147,1148,1163,1205,1209,1222,1227,1247,1252],{"__ignoreMap":331},[335,1149,1150,1153,1156,1160],{"class":337,"line":338},[335,1151,1152],{"class":345},"\u003C",[335,1154,1155],{"class":420},"script",[335,1157,1159],{"class":1158},"spNyl"," setup",[335,1161,1162],{"class":345},">\n",[335,1164,1165,1168,1171,1174,1176,1179,1181,1184,1186,1189,1191,1194,1196,1199,1202],{"class":337,"line":353},[335,1166,1167],{"class":1158},"const",[335,1169,1170],{"class":345}," {",[335,1172,1173],{"class":341}," isEnabled",[335,1175,1101],{"class":345},[335,1177,1178],{"class":341}," isOpen",[335,1180,1101],{"class":345},[335,1182,1183],{"class":341}," open",[335,1185,1101],{"class":345},[335,1187,1188],{"class":341}," close",[335,1190,1101],{"class":345},[335,1192,1193],{"class":341}," toggle ",[335,1195,505],{"class":345},[335,1197,1198],{"class":345}," =",[335,1200,1201],{"class":408}," useAssistant",[335,1203,1204],{"class":341},"()\n",[335,1206,1207],{"class":337,"line":370},[335,1208,540],{"emptyLinePlaceholder":539},[335,1210,1211,1214,1217,1220],{"class":337,"line":438},[335,1212,1213],{"class":1158},"function",[335,1215,1216],{"class":408}," askQuestion",[335,1218,1219],{"class":345},"()",[335,1221,426],{"class":345},[335,1223,1224],{"class":337,"line":448},[335,1225,1226],{"class":480},"  \u002F\u002F Open the assistant with a pre-filled question\n",[335,1228,1229,1232,1234,1236,1239,1241,1243,1245],{"class":337,"line":463},[335,1230,1231],{"class":408},"  open",[335,1233,412],{"class":420},[335,1235,477],{"class":345},[335,1237,1238],{"class":349},"How do I configure the theme?",[335,1240,477],{"class":345},[335,1242,1101],{"class":345},[335,1244,457],{"class":456},[335,1246,508],{"class":420},[335,1248,1249],{"class":337,"line":484},[335,1250,1251],{"class":345},"}\n",[335,1253,1254,1257,1259],{"class":337,"line":490},[335,1255,1256],{"class":345},"\u003C\u002F",[335,1258,1155],{"class":420},[335,1260,1162],{"class":345},[683,1262,1263,1268,1273,1281,1285,1289],{},[686,1264,1267],{"name":1265,"type":1266},"isEnabled","ComputedRef\u003Cboolean>","Whether the agent's chat feature is enabled.",[686,1269,1272],{"name":1270,"type":1271},"isOpen","Ref\u003Cboolean>","Whether the slideover is open.",[686,1274,1277,1278],{"name":1275,"type":1276},"open","Function","Open the assistant: ",[303,1279,1280],{},"open(message?: string, clearPrevious?: boolean)",[686,1282,1284],{"name":1283,"type":1276},"close","Close the assistant slideover.",[686,1286,1288],{"name":1287,"type":1276},"toggle","Toggle the assistant open\u002Fclosed.",[686,1290,1292],{"name":1291,"type":1276},"clearMessages","Clear the conversation history.",[1294,1295,1296],"style",{},"html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":331,"searchDepth":353,"depth":353,"links":1298},[1299,1300,1303,1306,1310,1314],{"id":141,"depth":353,"text":142},{"id":177,"depth":353,"text":155,"children":1301},[1302],{"id":211,"depth":370,"text":212},{"id":256,"depth":353,"text":161,"children":1304},[1305],{"id":282,"depth":370,"text":283},{"id":511,"depth":353,"text":512,"children":1307},[1308,1309],{"id":515,"depth":370,"text":516},{"id":573,"depth":370,"text":574},{"id":672,"depth":353,"text":53,"children":1311},[1312,1313],{"id":675,"depth":370,"text":676},{"id":747,"depth":370,"text":748},{"id":1132,"depth":353,"text":1133},"md",null,{},{"title":110,"description":137},"iXP9SxXglGdT3LzdYuy6dylPBU2hS128LGem51VMclQ",[1321,1323],{"title":99,"path":100,"stem":101,"description":1322,"icon":102,"children":-1},"Add image, video, and other HTML elements",{"title":114,"path":115,"stem":116,"description":1324,"children":-1},"Connect your documentation to AI tools with a native MCP server.",1774664981502]