[{"data":1,"prerenderedAt":2139},["ShallowReactive",2],{"\u002Fdocs\u002Fsearch\u002Fusage":3,"dl-navigation-docs":1253,"shared":1595,"surroundings-\u002Fdocs\u002Fsearch\u002Fusage":2133},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":1245,"extension":1093,"ignore":6,"meta":1246,"navigation":1247,"path":1248,"seo":1249,"sitemap":1250,"stem":1251,"__hash__":1252},"docs\u002Fdocs\u002F06.search\u002F02.usage.md","Installation & Usage",null,{"type":8,"value":9,"toc":1222},"minimark",[10,33,116,187,225,245,320,384,535,629,721,737,938,1011,1028,1096,1186],[11,12,13,14,18,19,23,24,28,29,32],"p",{},"When starting with the ",[15,16,17],"dl-link",{},"$dl-boilerplate",", ",[20,21,22],"strong",{},"search functionality is already included and ready to use",". You can simply configure it as you like and you're all set. However, the ",[25,26,27],"code",{},"dl-search"," module, which handles search-related logic and the AI Assistant, can also be installed in a standalone Nuxt app, even without DocLayer. Below you'll find a guide on how to install and configure it. This can also serve as a ",[20,30,31],{},"useful reference for how the module is used with the Boilerplate app",".",[34,35,37,41,47,60,78,85,95,105,108],"dl-section",{"id":36},"installation",[38,39,40],"h2",{"id":36},"Installation",[11,42,43,44,46],{},"Install ",[25,45,27],{}," module into your Nuxt application.",[48,49,50],"dl-code",{},[51,52,58],"pre",{"className":53,"code":55,"language":56,"meta":57},[54],"language-bash","pnpm add @vuehouse\u002Fdl-search fuse.js\n\"cref:1wpghn\"\n","bash","",[25,59,55],{"__ignoreMap":57},[61,62,63],"blockquote",{},[11,64,65,66,73,74,77],{},"As package versions may vary the most current ones can be found in the ",[67,68,72],"a",{"href":69,"rel":70},"https:\u002F\u002Fgithub.com\u002Fvuehouse\u002Fdoclayer-bp\u002Fblob\u002Fmain\u002Fpackage.json",[71],"nofollow","package.json"," file of the main DocLayer ",[20,75,76],{},"Boilerplate"," repository.",[11,79,80,81,84],{},"Just after, initialize the module within the ",[25,82,83],{},"nuxt.config.ts"," file.",[48,86,87],{"tabs":83},[51,88,93],{"className":89,"code":91,"language":92,"meta":57},[90],"language-ts","export default defineNuxtConfig({\n  \u002F\u002F the rest of the nuxt.config.ts\n  modules: ['@vuehouse\u002Fdl-search'],\n});\n\"cref:wprb8j\"\n","ts",[25,94,91],{"__ignoreMap":57},[11,96,97,98,101,102,104],{},"You can configure the module by adding a ",[25,99,100],{},"dlSearch"," key to your ",[25,103,83],{}," file. However, for the simplest use cases, no configuration is required - the module works out of the box.",[11,106,107],{},"This is how to initialize it with configuration:",[48,109,110],{"tabs":83},[51,111,114],{"className":112,"code":113,"language":92,"meta":57},[90],"export default defineNuxtConfig({\n  \u002F\u002F the rest of the nuxt.config.ts\n  modules: ['@vuehouse\u002Fdl-search'],\n  dlSearch: {\n    \u002F\u002F dl-search module options goes here\n  },\n});\n\"cref:zl12cn\"\n",[25,115,113],{"__ignoreMap":57},[34,117,119,122,133,136,154,168],{"id":118},"full-text-search-usage",[38,120,121],{"id":118},"Full-text search usage",[11,123,124,125,128,129,132],{},"The simple ",[20,126,127],{},"full-text search doesn’t require any special setup"," - it can be used right away with the predefined composable. However, the ",[20,130,131],{},"AI Assistant requires a more advanced setup"," to ensure optimal performance and predictable behavior. Let’s begin by looking at simple full-text search.",[11,134,135],{},"Here is an example on how to use the full-text search:",[48,137,139,147],{"tabs":138},"Search.vue, signature.ts",[51,140,145],{"className":141,"code":143,"language":144,"meta":57},[142],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { useDlSearch } from '#imports';\n\nimport type { SearchResult } from '@vuehouse\u002Fdl-search\u002Ftypes';\n\n\u002F\u002F Initialize the full-text search\nconst { search: searchInit } = useDlSearch();\nconst search = await searchInit();\n\nconst searchQuery = shallowRef('');\nconst searchResults = ref\u003CSearchResult[]>([]);\n\nfunction handleSearch(): SearchResult[] {\n  searchResults.value = search(searchQuery.value);\n  console.log(searchResults.value);\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cinput type=\"text\" v-model=\"searchQuery\" @keyup=\"handleSearch\" \u002F>\n\u003C\u002Ftemplate>\n\"cref:09hbm3\"\n","vue",[25,146,143],{"__ignoreMap":57},[51,148,152],{"className":149,"code":150,"filename":151,"language":92,"meta":57},[90],"import type { FuseResult, IFuseOptions as FuseOptions } from 'fuse.js';\n\ndeclare function search(\n  options?: FuseOptions\u003Cstring>,\n  data?: Ref\u003Cstring[]>,\n): Promise\u003C(query: string) => ComputedRef\u003CFuseResult\u003Cstring>[]>>;\n","[esc]",[25,153,150],{"__ignoreMap":57},[11,155,156,157,160,161,167],{},"As shown above, the full-text search is initialized by calling the ",[25,158,159],{},"useDlSearch"," composable, which ",[20,162,163,164],{},"returns a callback function, registering one instance of the ",[15,165,166],{},"$fusejs",". This function accepts a search query and returns an array of search results that you can handle within the UI.",[169,170,173],"dl-callout",{"title":171,"type":172},"Dedicated search format","note",[11,174,175,176,181,182,186],{},"The ",[15,177,180],{"label":178,"hash":179},"content index","indexing-the-content","$docs-search"," is structured with the page URL as the key. This means that when you search, the Fuse uses a string in the format ",[183,184],"dl-code-i",{"code":185},"[page path]:[page content]",", ensuring that the most relevant content matching your query is returned along with the correct path to the page you should visit.",[34,188,190,194,201,209,216],{"id":189},"options",[191,192,193],"h3",{"id":189},"Options",[11,195,196,197,200],{},"Below are the ",[20,198,199],{},"default options"," used for the Fuse.js instance.",[48,202,203],{},[51,204,207],{"className":205,"code":206,"language":92,"meta":57},[90],"const fuseOptions = {\n  \u002F\u002F Disable scoring\n  includeScore: false,\n  \u002F\u002F Adjust fuzziness: lower threshold = stricter matching\n  threshold: 0.3,\n  \u002F\u002F Where in the string to start looking\n  location: 10,\n  \u002F\u002F Maximum distance from the location for a match to be found\n  distance: 1_000_000,\n  \u002F\u002F Require at least 3 characters to match to reduce noise\n  minMatchCharLength: 3,\n  \u002F\u002F Sort results by best match score\n  shouldSort: true,\n} satisfies IFuseOptions\u003Cstring>;\n\"cref:6r5g4f\"\n",[25,208,206],{"__ignoreMap":57},[11,210,211,212,215],{},"You can also provide your own options to the ",[25,213,214],{},"search"," function to customize the search behavior; any defaults will be overridden by the values you specify.",[48,217,219],{"tabs":218},"Search.vue",[51,220,223],{"className":221,"code":222,"language":144,"meta":57},[142],"\u003Cscript setup lang=\"ts\">\nconst search = await searchInit({\n  threshold: 0.1,\n});\n\u003C\u002Fscript>\n\"cref:zev6aa\"\n",[25,224,222],{"__ignoreMap":57},[34,226,228,231,237],{"id":227},"external-data-source",[191,229,230],{"id":227},"External data source",[11,232,233,234,236],{},"If you don't want to use the content index, you can provide your own data source to the ",[25,235,214],{}," function. This can be useful if you want to search a different data source, such as a database or an API.",[48,238,239],{"tabs":218},[51,240,243],{"className":241,"code":242,"language":144,"meta":57},[142],"\u003Cscript setup lang=\"ts\">\nconst data = ref(['item1', 'item2', 'item3']);\n\u002F\u002F first argument is the options, second argument is the data source\nconst search = await searchInit({}, data);\n\u003C\u002Fscript>\n\"cref:wp4rzc\"\n",[25,244,242],{"__ignoreMap":57},[34,246,248,251,255,258,261,288,297,309],{"id":247},"ai-powered-search-usage",[38,249,250],{"id":247},"AI-powered search usage",[252,253,254],"dl-prompter",{},"enabling the ai assistant",[252,256,257],{},"how to enable the ai assistant",[11,259,260],{},"Since AI-powered search (AI Assistant) is disabled by default, you need to enable it before you using it. To do this, two environment variables must be set:",[262,263,264,275],"ul",{},[265,266,267,270,271,274],"li",{},[25,268,269],{},"DL_SEARCH_ASSISTANT"," - set to ",[25,272,273],{},"'true'"," to enable the AI Assistant",[265,276,277,280,281,287],{},[25,278,279],{},"DL_SEARCH_ASSISTANT_HFC"," - URL of the ",[282,283,286],"dl-tooltip",{"tooltip":284,"lock-width":285},"We use Hugging Face transformers library to power the AI Assistant and its capabilities.","true","Hugging Face"," CDN",[48,289,291],{"tabs":290},".env",[51,292,295],{"className":293,"code":294,"language":56,"meta":57},[54],"DL_SEARCH_ASSISTANT=true\nDL_SEARCH_ASSISTANT_HFC=https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002F@huggingface\u002Ftransformers@3.4.2\u002F+esm\n\"cref:pstre0\"\n",[25,296,294],{"__ignoreMap":57},[11,298,299,300,303,304,32],{},"You can also control the assistant programmatically using ",[25,301,302],{},"assistant.enabled"," ",[15,305,308],{"label":306,"hash":307},"option in the module configuration","assistantenabled","$docs-search-configuration",[11,310,311,312,315,316,319],{},"Why do we use a CDN? The ",[20,313,314],{},"AI Assistant is disabled by default and may not be needed by every user",", so we do not include all of its assets in the final application build. Also, not all users have fast internet connections to download large files quickly. By using a CDN, these ",[20,317,318],{},"assets are downloaded only when needed or permitted",", and can then be cached for future use. This approach makes the solution both efficient and cost-effective.",[34,321,323,326,342,345,360,381],{"id":322},"selecting-the-operational-model",[191,324,325],{"id":322},"Selecting the operational model",[11,327,328,329,332,333,336,337,32],{},"By default, the ",[20,330,331],{},"AI Assistant operates locally and does not reach out to any external services"," to answer questions (prompts) about the content. The model used to generate answers is intentionally small and further compressed for optimal performance. While this enables fast, private, and efficient responses, it is important to note that the assistant works best when given focused, relevant context. The ",[20,334,335],{},"more precise and less noisy context it gets, the better the answers it can provide",". This setup is especially effective for straightforward content like blogs. Note that the answers will tend to be concise and focused, rather than broad and verbose. ",[338,339,341],"dl-renderer",{":data":340,"inline":285},"{\"about\": \"`local` model configuration\", \"link\": \"$docs-search-configuration\", \"hash\": \"assistantmodel\"}","rref:inline-read-more-about",[343,344],"hr",{},[11,346,175,347,303,350,303,353,356,357,32],{},[20,348,349],{},"second option is to use a",[25,351,352],{},"remote",[20,354,355],{},"model",". In this approach, you call an external API to answer questions (prompts) about the content. With the proper infrastructure, this enables handling user's queries and retrieving comprehensive, detailed answers that cover the most relevant information about your content. ",[338,358,341],{":data":359,"inline":285},"{\"about\": \"preferred model configuration\", \"link\": \"$docs-search-configuration\", \"hash\": \"assistantmodel\"}",[11,361,362,363,370,371,374,375,32],{},"For remote-based models we're exposing the ",[67,364,366,367],{"href":365},"#ai-kit","dedicated ",[20,368,369],{},"AI Kit",", which includes advanced features such as the enhanced ",[25,372,373],{},"Chat"," component, content caching, conversation history, and more. You can preview and test these features using this application's ",[15,376,380],{"label":377,"hash":378,"path":379,"local":285},"AI Assistant","$unset","?assistant=true","$local",[338,382,383],{},"rref:section-remote-model-callout",[34,385,387,390,400,403,417,424,438,443,460,475,490,504,515],{"id":386},"preparation-process",[191,388,389],{"id":386},"Preparation process",[169,391,393],{"title":392,"type":172},"false",[11,394,395,396,399],{},"Note that this step of the process is covered by the ",[15,397,17],{"label":398},"DocLayer Boilerplate"," application and does not need to be done manually.",[11,401,402],{},"After enabling the Assistant, a dedicated preparation process must be triggered. During this process, several actions are carried out:",[262,404,405,408,411,414],{},[265,406,407],{},"checking the user's network speed is sufficient to download the assets,",[265,409,410],{},"downloading the assets from the CDN,",[265,412,413],{},"caching the assets in the browser,",[265,415,416],{},"initializing the Hugging Face pipelines.",[11,418,419,420,423],{},"To initialize the preparation process use a dedicated ",[25,421,422],{},"prepare"," function:",[48,425,426,432],{"tabs":138},[51,427,430],{"className":428,"code":429,"language":144,"meta":57},[142],"\u003Cscript setup lang=\"ts\">\nimport { useDlSearchPrepare } from '#imports';\nimport { shallowRef } from 'vue';\n\nimport type { AssistantStatus } from '@vuehouse\u002Fdl-search\u002Ftypes';\n\nconst assistantStatus = shallowRef\u003CAssistantStatus>(null);\nawait useDlSearchPrepare(assistantStatus);\n\u003C\u002Fscript>\n\"cref:rvm9ot\"\n",[25,431,429],{"__ignoreMap":57},[51,433,436],{"className":434,"code":435,"filename":151,"language":92,"meta":57},[90],"type PreparationStatus = 'initialized' | 'finished' | 'rejected';\n\ndeclare function prepare(\n  status: Ref\u003Cnull | PreparationStatus>,\n  networkSpeedBoundary: number = 5,\n): Promise\u003CRef\u003CPreparationStatus> | void>;\n",[25,437,435],{"__ignoreMap":57},[11,439,175,440,442],{},[25,441,422],{}," function accepts a status reference as an argument. This reference is used to dynamically track the preparation process and to determine if the preparation was successful.",[11,444,445,446,449,450,455,456,459],{},"Second argument is the ",[25,447,448],{},"networkSpeedBoundary"," option. This option is used to determine if the user's network speed is sufficient to ",[15,451,454],{"label":452,"hash":453},"download the assets","assets","$docs-search-usage",". If the user's network speed is below the boundary, the preparation process will be aborted. Default value is set to ",[25,457,458],{},"5"," MBps. This value can be also set trough the module configuration.",[169,461,464],{"title":462,"type":463},"Initialize as soon as possible","warning",[11,465,466,467,470,471,474],{},"Because the preparation process involves several intensive tasks, it's best to initialize it as early as possible - ideally as soon as the user interacts with the application. Since the ",[25,468,469],{},"Search"," component is mounted within the ",[25,472,473],{},"Header"," component, this is often an ideal place to trigger the initialization.",[11,476,477,478,481,482,485,486,489],{},"Now, if the detected network speed is below the specified boundary, the preparation process will be aborted: ",[20,479,480],{},"no assets will be downloaded, and the assistant will be disabled",". In this case, the ",[25,483,484],{},"assistantStatus"," reference is set to the ",[25,487,488],{},"rejected"," state.",[11,491,492,493,495,496,499,500,503],{},"If the network speed meets or exceeds the boundary, the preparation process continues and the ",[25,494,484],{}," reference is updated to the ",[25,497,498],{},"initialized"," state. While in this state, ",[20,501,502],{},"required assets such as models and data embeddings are downloaded and cached in the browser",", all performed in the background.",[11,505,506,511,512,514],{},[15,507,510],{"label":508,"path":509},"Watching","guide\u002Fessentials\u002Fwatchers","$vue"," the ",[25,513,484],{}," reference allows you to dynamically update the UI and handle the assistant state accordingly. You can use it to determine if the assistant is enabled or disabled, and to show a loading state or an error message if the preparation process fails.",[11,516,517,518,521,522,495,524,527,528,531,532,32],{},"Finally, ",[20,519,520],{},"if the preparation process is successful",", the ",[25,523,484],{},[25,525,526],{},"finished"," state. This state indicates that the ",[20,529,530],{},"assistant is fully initialized and ready to be used",". 🎉 Any kind of the ",[20,533,534],{},"assistant state will be saved within the dedicated cookie",[34,536,538,542,548,554,568,593,610,620,622],{"id":537},"resolving-user-s-questions-with-the-ai-assistant",[191,539,541],{"id":540},"resolving-users-questions-with-the-ai-assistant","Resolving user's questions with the AI Assistant",[169,543,544],{"title":392,"type":172},[11,545,395,546,399],{},[15,547,17],{"label":398},[11,549,550,551,423],{},"Now that we have assistant prepared nad ready to use, we can start resolving user's questions. To do this, we need to use the ",[25,552,553],{},"prompt",[48,555,556,562],{"tabs":138},[51,557,560],{"className":558,"code":559,"language":144,"meta":57},[142],"\u003Cscript setup lang=\"ts\">\nimport { useDlSearch } from '#imports';\n\nimport type { AssistantOutput } from '@vuehouse\u002Fdl-search\u002Ftypes';\n\n\u002F\u002F Initialize the assistant\nconst { prompt } = useDlSearch();\n\nconst question = shallowRef('');\nconst assistantResults = ref\u003CAssistantOutput>([]);\n\nasync function handleQuestion(): Promise\u003CAssistantOutput> {\n  assistantResults.value = await prompt(question.value);\n  console.log(assistantResults.value);\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cinput type=\"text\" v-model=\"question\" @keyup.enter=\"handleQuestion\" \u002F>\n\u003C\u002Ftemplate>\n\"cref:nx4p3s\"\n",[25,561,559],{"__ignoreMap":57},[51,563,566],{"className":564,"code":565,"filename":151,"language":92,"meta":57},[90],"import type { QuestionAnsweringOutput } from '@huggingface\u002Ftransformers';\nimport type { AssistantSession } from '@vuehouse\u002Fdl-ai-kit';\n\ntype ContextMeta = {\n  \u002F** Context dump string. *\u002F\n  contextDump: string;\n  \u002F** Paths to the content pages retrieved for the current turn only. *\u002F\n  paths: string[];\n  \u002F** Cref(s) found in the context dump. *\u002F\n  cref: (string | undefined)[];\n  \u002F** Resolved code blocks from the cref(s) found in the context dump. *\u002F\n  code?: CodeOutput[];\n};\ntype AssistantOptions = DeepNonNullable\u003CModuleOptions>['assistant'];\ntype AssistantOutput\u003CAnswer extends unknown = string | null> = (Omit\u003CPartial\u003CQuestionAnsweringOutput>, 'answer'> & {\n  answer: Answer;\n  meta?: ContextMeta | undefined;\n})[];\n\ndeclare function prompt(prompt: string | ShallowRef\u003Cstring>): Promise\u003CAssistantOutput | void>;\n",[25,567,565],{"__ignoreMap":57},[11,569,175,570,572,573,576,577,580,581,584,585,589,590,592],{},[25,571,553],{}," function returns an array of results. Each result contains an ",[25,574,575],{},"answer"," as a ",[25,578,579],{},"string"," and a dedicated ",[25,582,583],{},"meta"," data object. If you are using an external API, the answer may be returned in Markdown format. In this case, the UI converts the Markdown content to an ",[282,586,588],{"tooltip":587},"Abstract Syntax Tree","AST"," for rendering. The default ",[25,591,469],{}," component handles this automatically.",[169,594,595],{"title":392,"type":172},[11,596,597,598,603,604,609],{},"If you need to convert Markdown to an AST manually within your new, custom components, you can use the ",[15,599,602],{"label":600,"hash":601},"`utilMDtoHAST`","utilmdtohast","$docs-utils-utilities"," utility. Further rendering can then be handled by the ",[15,605,608],{"label":606,"hash":607},"`DlRenderer`","as-the-ast-renderer","$docs-components-renderer"," component.",[11,611,612,613,616,617,32],{},"That's it - ",[20,614,615],{},"the rest is up to you","! Everything is managed in the UI, giving you complete control over the assistant's behavior and how model answers are displayed. And remember, if you're starting with the DocLayer Boilerplate, ",[20,618,619],{},"all of this functionality comes ready to use out of the box",[343,621],{},[11,623,624,625,628],{},"On the ",[15,626,308],{"label":627},"next page"," you can learn how to configure the entire module for different scenarios, giving you complete control and flexibility - whether you’re using it with the Boilerplate or in a standalone Nuxt application.",[34,630,632,635,642,647],{"id":631},"writing-content-for-the-ai-assistant",[38,633,634],{"id":631},"Writing content for the AI Assistant",[11,636,637,638,641],{},"It's important to emphasize that the ",[20,639,640],{},"AI Assistant is not a magic tool capable of answering any question",". It's powered by a model, and its context is \"limited\" to the content that has been indexed. For this reason, you should write content that is both easy to find within that context by a given question - and easy for the AI Assistant to extract and use in its answers.",[11,643,644],{},[20,645,646],{},"Best practices for authoring content for the AI Assistant:",[648,649,650,656,662,668,674,685,708],"ol",{},[265,651,652,655],{},[20,653,654],{},"Use clear and concise language."," Avoid complex sentences and jargon. Opt for simple words and phrases to ensure maximum accessibility for all users.",[265,657,658,661],{},[20,659,660],{},"Be explicit and specific."," Refrain from using shortcuts, and regularly mention your product or service name to provide explicit context. Aim to be as specific as possible, especially in sections where technical content might be challenging for some readers.",[265,663,664,667],{},[20,665,666],{},"Keep your users in mind."," The more understandable and user-focused your content, the more effective the AI Assistant will be in delivering relevant answers.",[265,669,670,673],{},[20,671,672],{},"Structure content carefully."," Consider your documentation as an interface for the AI Assistant. The clearer and more precise your content is, the more effectively the AI can interpret, build upon, and deliver helpful information.",[265,675,676,679,680,684],{},[20,677,678],{},"Use hidden prompts for extra context."," A useful technique is to use the ",[15,681,683],{"label":682},"`DlPrompter`","$docs-components-prompter"," component to add supplementary context just for the Assistant. This information will remain invisible to regular users.",[265,686,687,690],{},[20,688,689],{},"Keep sections focused on a single topic.",[262,691,692,695,698,701],{},[265,693,694],{},"Avoid mixing different content topics within the same section of your documentation.",[265,696,697],{},"When unrelated concepts (such as deployment instructions and development setup) appear together, the Assistant may extract context that answers a different question than intended. For example, mentioning \"how to deploy\" inside a section about \"running in development\" could cause the Assistant to answer deployment questions with development instructions, simply because both topics are present in the same indexed context.",[265,699,700],{},"To improve the accuracy of AI-powered answers, try to keep content sections focused on a single topic, splitting out unrelated details into clearly separated pages or sections. This helps ensure the context retrieved for a user prompt is specific and relevant to the question being asked.",[265,702,703,704,32],{},"If you need to include multiple topics within a single section, you can prevent certain content from being indexed for search by wrapping it in escape tags. For example: ",[282,705],{"tooltip":706,"label":707},"Spaces inside tags added to prevent escaping","`[[ esc ]] escaped content goes here [[ \u002Fesc ]]`",[265,709,710,713,714,720],{},[20,711,712],{},"Leverage available tools."," Through our ",[20,715,716],{},[15,717,719],{"label":718},"🫠 Early Supporter Program","$docs-project-support",", you can access tools to help you prepare your content for the Assistant and understand how it’s interpreted.",[34,722,724,727],{"id":723},"advanced",[38,725,726],{"id":723},"Advanced",[11,728,729,730,736],{},"Below ",[20,731,732,733,735],{},"we've gathered a few important insights that may help you better understand how the ",[25,734,27],{}," module works"," and how it interacts with your content. While a deep understanding isn't required, it's helpful to have some knowledge of what happens behind the scenes.",[34,738,739,742,749,805,816,860,882,896,914,932],{"id":453},[191,740,741],{"id":453},"Assets",[11,743,744,745,748],{},"During template generation process, the module reads the compressed Nuxt Content database, parses and resolves each configured collection, and writes under ",[25,746,747],{},"public\u002F.doclayer\u002F",". The following artifacts are generated and\u002For shipped:",[750,751,752,765],"table",{},[753,754,755],"thead",{},[756,757,758,762],"tr",{},[759,760,761],"th",{},"Artifact",[759,763,764],{},"Role",[766,767,768,782,795],"tbody",{},[756,769,770,776],{},[771,772,773],"td",{},[25,774,775],{},"_content.json.gz",[771,777,778],{},[11,779,781],{"style":780},"white-space: nowrap; min-width: 26rem;","Flattened, preprocessed and compressed searchable text.",[756,783,784,789],{},[771,785,786],{},[25,787,788],{},"_vectors.json.gz",[771,790,791],{},[11,792,794],{"style":793},"white-space: nowrap;","Compressed embedding vectors.",[756,796,797,800],{},[771,798,799],{},"Models",[771,801,802],{},[11,803,804],{"style":793},"Quantized weights consumed by the transformers.",[11,806,807,808,811,812,815],{},"For the ",[20,809,810],{},"local"," Assistant, module will ship ",[20,813,814],{},"two"," quantized models along with their tokenizers and configuration files, delivered directly via the Hugging Face CDN:",[750,817,818,828],{},[753,819,820],{},[756,821,822,825],{},[759,823,824],{},"Model role",[759,826,827],{},"Bundled Size",[766,829,830,847],{},[756,831,832,844],{},[771,833,834],{},[11,835,836,837,840,841],{"style":793},"Embeddings ",[25,838,839],{},"e5-small"," (default), or ",[25,842,843],{},"all-mini",[771,845,846],{},"~33 MB \u002F ~23 MB",[756,848,849,857],{},[771,850,851],{},[11,852,853,854],{"style":793},"Question-answering model ",[25,855,856],{},"bert-base-uncased",[771,858,859],{},"~43 MB",[11,861,862,863,18,867,870,871,873,874,18,876,878,879,32],{},"By default, when you use the AI Assistant with ",[15,864,308],{"label":865,"hash":866},"local mode","assistantmodel",[20,868,869],{},"around 95 MB of model files will be added to your published app",". This includes both the main question-answering model and the embedding model; if you opt for the smaller ",[25,872,843],{},", the combined size drops to about 85 MB. These figures do not include the extra search data files - like ",[25,875,775],{},[25,877,788],{},", code references, or small runtime helpers - which have negligible impact on total size. ",[20,880,881],{},"Remote-based mode gets only embeddings model",[11,883,884,885,888,889,895],{},"It is very important to understand that ",[20,886,887],{},"managing these AI models and indexing assets happens through an asynchronous process",", using a dedicated ",[67,890,892,894],{"href":891},"#preparation-process",[25,893,422],{}," mode"," that runs in the background. This design allows your app to fetch and process large assets without blocking the main thread, so asset preparation and content indexing can smoothly complete without interfering with your normal site workflow. Additionally users with poor network conditions will never experience this as the whole process will be blocked.",[11,897,898,899,902,903,906,907,909,910,913],{},"At runtime, ",[20,900,901],{},"the client fetches all required resources from public destination",", including compressed vectors. All core Hugging Face assets - such as the transformers runtime, tokenizers, and any remote artifacts used during the preparation process - are ",[20,904,905],{},"delivered directly via the Hugging Face CDN"," defined by ",[25,908,279],{},". Only the models you specifically bundle are loaded from your app’s ",[25,911,912],{},"public"," directory; all other assets are streamed efficiently from the CDN, ensuring quick and reliable access to the most up-to-date versions. Eventually, if your app is hosted on a CDN, all of your application’s assets will also be delivered from the edge for improved performance.",[11,915,916,917,923,924,927,928,931],{},"Separate from search generation, DocLayer's Markdown pipeline emits ",[67,918,920],{"href":919},"#code-references",[20,921,922],{},"code-references"," under ",[25,925,926],{},"public\u002F.doclayer\u002Fcref"," directory. The Assistant consumes those files when resolving ",[20,929,930],{},"cref"," markers.",[169,933,935],{"title":934,"type":172},"Native browser-based models",[11,936,937],{},"Currently we're working\u002Fexperimenting on the native browser-based models, which will allow to use the AI Assistant without any external dependencies.",[34,939,941,944,955,961,966,985,989,1000,1004],{"id":940},"performance",[191,942,943],{"id":940},"Performance",[11,945,946,949,950,954],{},[20,947,948],{},"Full-text search"," uses Fuse.js on top of an indexed content structure, which is stored as a compressed resource accessed from the browser. This approach is inherently fast and efficient. You can experiment with different ",[67,951,953],{"href":952},"#options","Fuse.js options"," to optimize search speed and relevance for your application.",[11,956,957,960],{},[20,958,959],{},"The AI Assistant"," enhances search using a multi-step retrieval process. When the user asks a question, the system first identifies the most relevant content sections based on how similar they are to your user's query. It then refines this context, selecting the most meaningful text segments to build the final answer. Adjustable settings (like how many sections to include) allow you to balance accuracy and performance, but in general, using fewer, well-written sections leads to the best results.",[962,963,965],"h4",{"id":964},"compression","Compression",[11,967,968,969,972,973,976,977,981,982,984],{},"At build time, the ",[20,970,971],{},"content assets are compressed before being placed in the application's public location",", which makes the shipped content index and vectors much smaller than the raw format. At runtime, the client fetches this data and decompresses it on the fly, then further caches for future use. Each time new content is delivered, it is revalidated, so try to be restrained with delivering updated content. ",[20,974,975],{},"If you need to investigate the content assets",", you can set ",[15,978,308],{"label":979,"hash":980},"`debug.compression`","debug"," to ",[25,983,285],{}," in the module configuration, which will disable compression of the assets.",[962,986,988],{"id":987},"caching","Caching",[11,990,991,992,995,996,999],{},"When you first use the search or assistant, ",[20,993,994],{},"module gets everything it needs ready ahead of time",". To make things fast for users, these files are saved in the browser’s storage (double-checked to make sure they’re up to date). That way, visitors don’t have to keep downloading large files on every visit. The ",[20,997,998],{},"system also makes sure that when you reload or update your site, you always get the newest version of these files"," instead of any old ones that might still be around. We're working on the dedicated merging mechanism that will allow to optimize the caching process even more.",[962,1001,1003],{"id":1002},"runtime-module-iterations","Runtime & module iterations",[11,1005,175,1006,1010],{},[15,1007,308],{"label":1008,"hash":1009},"`iterations`","iterations"," option limits how often the module regenerates flattened content and vectors when Nuxt repeatedly emits templates - leave it aligned with how often you actually need refreshed search assets.",[34,1012,1014,1017],{"id":1013},"parsings",[191,1015,1016],{"id":1013},"Parsings",[11,1018,1019,1020,1023,1024,1027],{},"When indexing content for search, DocLayer processes each page as it will appear on your site, organizing everything by page and its sections for precise search results. Inline code snippets (backticks) are kept in the text, while large blocks of code or excluded sections are not included in the main index - but can still be referenced by search and the AI Assistant. ",[20,1021,1022],{},"Content is automatically cleaned and formatted for smooth, readable search results",". You can easily exclude specific parts of your content (like tags or sections) using ",[15,1025,308],{"label":1026,"hash":1026},"exclusions",". DocLayer also handles most formatting issues automatically, skipping and reporting any problem areas so your site and search features keep working without interruption.",[34,1029,1030,1033,1042,1058,1069],{"id":922},[191,1031,1032],{"id":922},"Code References",[11,1034,1035,1036,1038,1039,1041],{},"During the authoring process, indexed content may include ",[25,1037,930],{}," metadata tags that act as code references. The internal algorithm resolves these references and writes them to corresponding files at ",[25,1040,926],{}," directory, each containing the language type indicator and the associated stringified code.",[11,1043,1044,1045,1048,1049,1052,1053,1057],{},"Why does DocLayer do this? Within the searchable AST pipeline, ",[25,1046,1047],{},"DlCode"," subtrees are replaced by these special reference nodes. This means ",[20,1050,1051],{},"embeddings and context outputs can indicate which specific code snippet applies"," - without duplicating large chunks of code in ",[282,1054,1056],{"tooltip":1055},"The numerical representation of the content","every vector",". This approach is both faster and more efficient, since code references are stored and retrieved separately rather than embedding full snippets everywhere. Furthermore - and perhaps even more importantly - directly embedding code blocks can cause formatting errors, and processing them with tools like Shiki may introduce significant overhead to content preparation and storage (if enabled).",[11,1059,1060,1061,32],{},"Finally, the context that the AI Assistant uses is intentionally stripped of large code blocks, which are loaded asynchronously only when needed. This approach ensures the entire process remains efficient and reliable. ",[20,1062,1063,1064,1068],{},"This is why using the ",[15,1065,1067],{"label":1066},"`DlCode`","$docs-components-code"," component is so important for building smart content indexing",[169,1070,1072,1085],{"title":1071,"type":172},"Excluding code blocks from being indexed",[11,1073,1074,1075,1078,1079,1084],{},"If you need to ",[20,1076,1077],{},"exclude certain code blocks"," from being indexed and saved as code references, add ",[282,1080,1081],{"tooltip":706},[25,1082,1083],{},"[[ esc ]]"," tags around the code block.",[48,1086,1088],{"tabs":1087},"content.md",[51,1089,1094],{"className":1090,"code":1092,"language":1093,"meta":57},[1091],"language-md","::dl-code\n\n```ts [[esc]]\nconst example = 'example';\n```\n\n::\n","md",[25,1095,1092],{"__ignoreMap":57},[34,1097,1099,1101,1124,1136,1151,1163,1175],{"id":1098},"ai-kit",[191,1100,369],{"id":1098},[11,1102,1103,1104,1108,1109,1113,1114,1118,1119,370,1121,1123],{},"As ",[67,1105,1107],{"href":1106},"#selecting-the-operational-model","mentioned above",", along with the remote-based model(s) (",[15,1110,308],{"label":1111,"hash":1112},"`remote`","assistant-model-type-remote"," or ",[15,1115,308],{"label":1116,"hash":1117},"`dl`","assistant-model-type-dl",") you can use a dedicated ",[20,1120,369],{},[25,1122,373],{}," component, content caching, conversation history, and more.",[11,1125,1126,1128,1129,1132,1133,1135],{},[20,1127,369],{}," (",[25,1130,1131],{},"@vuehouse\u002Fdl-ai-kit",") is a standalone Nuxt module that - when added - will automatically detect it's surroundings and enable the necessary features based on the presence of the ",[25,1134,27],{}," module. You can add it to your application by running:",[48,1137,1139,1145],{"tabs":1138},"terminal.sh, nuxt.config.ts",[51,1140,1143],{"className":1141,"code":1142,"language":56,"meta":57},[54],"pnpm add @vuehouse\u002Fdl-ai-kit\n\"cref:jhs4zw\"\n",[25,1144,1142],{"__ignoreMap":57},[51,1146,1149],{"className":1147,"code":1148,"language":92,"meta":57},[90],"export default defineNuxtConfig({\n  modules: ['@vuehouse\u002Fdl', '@vuehouse\u002Fdl-ai-kit'],\n});\n\"cref:6888io\"\n",[25,1150,1148],{"__ignoreMap":57},[169,1152,1153],{"title":392,"type":172},[11,1154,1155,1156,1158,1159,1162],{},"Module-provided ",[25,1157,373],{}," interfaces ",[20,1160,1161],{},"replaces the default Assistant, that operates with a local models",". It doesn't need any further configuration.",[11,1164,1165,1166,1169,1170,1174],{},"In the end add source for ",[15,1167,1168],{},"$tailwind"," to recognize the new components and its styles. In you ",[338,1171,1173],{":data":1172,"inline":285},"{\"label\": \"`styles.css`\", \"tooltip\": \"app\u002Fassets\u002Fstyles.css\"}","rref:tooltip-app-config-path"," file, add the following:",[48,1176,1178],{"tabs":1177},"styles.css",[51,1179,1184],{"className":1180,"code":1182,"language":1183,"meta":57},[1181],"language-css","@source '..\u002F..\u002Fnode_modules\u002F@vuehouse\u002Fdl-ai-kit\u002Fdist\u002Fruntime\u002Fcomponents';\n\"cref:mjrc9p\"\n","css",[25,1185,1182],{"__ignoreMap":57},[34,1187,1189,1192,1205,1208],{"id":1188},"logging",[38,1190,1191],{"id":1188},"Logging",[11,1193,1194,1195,303,1197,1200,1201,1204],{},"During both runtime and build time, the ",[25,1196,27],{},[20,1198,1199],{},"module logs various activities to the terminal",". The module will provide information about the preparation process. Monitor these logs also to identify any issues that may arise. Additionally, it includes mechanisms to ",[20,1202,1203],{},"notify you of any problems encountered during content parsing",", such as which sections or pages are affected and may require corrections to formatting.",[11,1206,1207],{},"Here is an example of the logs that you may see in the terminal:",[48,1209,1210,1216],{},[51,1211,1214],{"className":1212,"code":1213,"language":56,"meta":57},[54],"# Example of the logs informing about the successful content parsing:\nℹ Processing Collection: \"docs\"\n✔ Flattened content saved for Collection: \"docs\"\n✔ Embeddings saved for Collection: \"docs\"\nℹ Finalizing content, resolving module files...\n✔ Module initialized successfully\n\n# Example of the logs informing about the content parsing issue:\n[WARN] Content data parsing issue 👇\n🗑️ Broken code blocks were removed after 10 attempts to fix each one\n🐞 Turn on debug.parser mode to see more information about content recovery\n\"cref:ruj54g\"\n",[25,1215,1213],{"__ignoreMap":57},[1217,1218,1219],"template",{"v-slot:ui":57},[11,1220,1221],{},"{\"actions\": \"() => 'hidden'\"}",{"title":57,"searchDepth":1223,"depth":1223,"links":1224},2,[1225,1226,1231,1236,1237,1244],{"id":36,"depth":1223,"text":40},{"id":118,"depth":1223,"text":121,"children":1227},[1228,1230],{"id":189,"depth":1229,"text":193},3,{"id":227,"depth":1229,"text":230},{"id":247,"depth":1223,"text":250,"children":1232},[1233,1234,1235],{"id":322,"depth":1229,"text":325},{"id":386,"depth":1229,"text":389},{"id":540,"depth":1229,"text":541},{"id":631,"depth":1223,"text":634},{"id":723,"depth":1223,"text":726,"children":1238},[1239,1240,1241,1242,1243],{"id":453,"depth":1229,"text":741},{"id":940,"depth":1229,"text":943},{"id":1013,"depth":1229,"text":1016},{"id":922,"depth":1229,"text":1032},{"id":1098,"depth":1229,"text":369},{"id":1188,"depth":1223,"text":1191},"Wire DocLayer’s Search Module into your app",{},true,"\u002Fdocs\u002Fsearch\u002Fusage",{"title":5,"description":1245},{"loc":1248},"docs\u002F06.search\u002F02.usage","rVbJan7yhFVaRTKb1Nn26xhl7F44ncUw-QvQIfJLxCI",[1254],{"title":1255,"path":1256,"stem":1257,"children":1258,"page":1308},"Docs","\u002Fdocs","docs",[1259,1277,1309,1419,1448,1479,1498,1513,1554,1575],{"title":1260,"path":1261,"stem":1262,"children":1263,"description":6,"icon":1276},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[1264,1267,1271],{"title":1265,"path":1261,"stem":1262,"description":1266},"Introduction","What DocLayer is, who it’s for, and how it can help",{"title":40,"path":1268,"stem":1269,"description":1270},"\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":1272,"path":1273,"stem":1274,"description":1275},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":1278,"description":6,"icon":1279,"path":1280,"stem":1281,"children":1282,"page":1308},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[1283,1288,1293,1298,1303],{"title":1284,"path":1285,"stem":1286,"description":1287},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":1289,"path":1290,"stem":1291,"description":1292},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":1294,"path":1295,"stem":1296,"description":1297},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":1299,"path":1300,"stem":1301,"description":1302},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":1304,"path":1305,"stem":1306,"description":1307},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":1310,"path":1311,"stem":1312,"children":1313,"description":6,"label":1265,"icon":1418},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[1314,1317,1323,1328,1333,1337,1342,1347,1352,1357,1362,1367,1372,1377,1383,1388,1393,1398,1403,1408,1413],{"title":1315,"path":1311,"stem":1312,"description":1316,"label":1265},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":1318,"path":1319,"stem":1320,"description":1321,"label":1322},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":1324,"path":1325,"stem":1326,"description":1327},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":1329,"path":1330,"stem":1331,"description":1332},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":1047,"path":1334,"stem":1335,"description":1336},"\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":1338,"path":1339,"stem":1340,"description":1341},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":1343,"path":1344,"stem":1345,"description":1346},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":1338,"path":1348,"stem":1349,"description":1341,"badge":1350},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":1351,"glow":1247},"new",{"title":1353,"path":1354,"stem":1355,"description":1356},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":1358,"path":1359,"stem":1360,"description":1361},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":1363,"path":1364,"stem":1365,"description":1366},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":1368,"path":1369,"stem":1370,"description":1371},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":1373,"path":1374,"stem":1375,"description":1376},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":1378,"path":1379,"stem":1380,"description":1381,"badge":1382},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":1351,"glow":1247},{"title":1384,"path":1385,"stem":1386,"description":1387},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":1389,"path":1390,"stem":1391,"description":1392},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":1394,"path":1395,"stem":1396,"description":1397},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":1399,"path":1400,"stem":1401,"description":1402},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":1404,"path":1405,"stem":1406,"description":1407},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":1409,"path":1410,"stem":1411,"description":1412},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":1414,"path":1415,"stem":1416,"description":1417},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":1420,"path":1421,"stem":1422,"children":1423,"description":6,"label":1265,"icon":1447},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[1424,1427,1431,1436,1441],{"title":1425,"path":1421,"stem":1422,"description":1426,"label":1265},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":1420,"path":1428,"stem":1429,"description":1430},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":1432,"path":1433,"stem":1434,"description":1435},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":1437,"path":1438,"stem":1439,"description":1440},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":1442,"path":1443,"stem":1444,"description":1445,"label":1446},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":1449,"path":1450,"stem":1451,"children":1452,"description":6,"label":1456,"icon":1478},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[1453,1457,1462,1468,1473],{"title":1454,"path":1450,"stem":1451,"description":1455,"label":1456},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":1458,"path":1459,"stem":1460,"description":1461},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":1463,"path":1464,"stem":1465,"description":1466,"label":1463,"badge":1467},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":1351,"glow":1247},{"title":1469,"path":1470,"stem":1471,"description":1472},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":1474,"path":1475,"stem":1476,"description":1477},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":1480,"path":1481,"stem":1482,"children":1483,"description":6,"label":1265,"icon":1497},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[1484,1487,1488,1492],{"title":1485,"path":1481,"stem":1482,"description":1486,"label":1265},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":5,"path":1248,"stem":1251,"description":1245},{"title":1289,"path":1489,"stem":1490,"description":1491},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":1493,"path":1494,"stem":1495,"description":1496},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":1499,"path":1500,"stem":1501,"children":1502,"description":6,"icon":1512},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[1503,1506],{"title":1504,"path":1500,"stem":1501,"description":1505},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":1507,"path":1508,"stem":1509,"description":1510,"label":1511},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":726,"description":6,"icon":1514,"path":1515,"stem":1516,"children":1517,"page":1308},"file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[1518,1524,1529,1534,1539,1544,1549],{"title":1519,"path":1520,"stem":1521,"description":1522,"label":1523},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":1525,"path":1526,"stem":1527,"description":1528},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":1530,"path":1531,"stem":1532,"description":1533},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":1535,"path":1536,"stem":1537,"description":1538},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":1540,"path":1541,"stem":1542,"description":1543},"AI Tuning","\u002Fdocs\u002Fadvanced\u002Fai-tuning","docs\u002F09.advanced\u002F06.ai-tuning","Templates and rules for AGENTS.md, coding agents, and content-author AI",{"title":1545,"path":1546,"stem":1547,"description":1548},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":1550,"path":1551,"stem":1552,"description":1553},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":1555,"description":6,"icon":1556,"path":1557,"stem":1558,"children":1559,"page":1308},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[1560,1565,1570],{"title":1561,"path":1562,"stem":1563,"description":1564},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":1566,"path":1567,"stem":1568,"description":1569},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":1571,"path":1572,"stem":1573,"description":1574},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":1493,"description":6,"icon":1576,"path":1577,"stem":1578,"children":1579,"page":1308},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[1580,1585,1590],{"title":1581,"path":1582,"stem":1583,"description":1584},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":1586,"path":1587,"stem":1588,"description":1589},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":1591,"path":1592,"stem":1593,"description":1594},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[1596,1618,1639,1660,1689,1705,1722,1748,1769,1816,1837,1849,1864,1881,1893,1949,1967,1993,2018,2049,2093,2120],{"id":1597,"data":6,"extension":1093,"meta":1598,"stem":1616,"__hash__":1617},"shared\u002Fcode-type-header-logo-path.md",{"body":1599},{"type":8,"value":1600,"toc":1614},[1601],[48,1602,1603,1609],{},[51,1604,1607],{"className":1605,"code":1606,"language":92,"meta":57},[90],"type DocLayerConfig = {\n  \u002F\u002F rest of the AppConfig interface\n  headerLogoPath:\n    | string\n    | {\n        light: string;\n        dark: string;\n        fallback?: string;\n      };\n};\n\"cref:k9e5ul\"\n",[25,1608,1606],{"__ignoreMap":57},[1217,1610,1611],{"v-slot:ui":57},[11,1612,1613],{},"{\"actions\": \"hidden\", \"base\": \"mt-0!\"}",{"title":57,"searchDepth":1223,"depth":1223,"links":1615},[],"code-type-header-logo-path","551Sg_POiUffLU346shstXNFdKuMuK4ToyOLqIJp1Ws",{"id":1619,"data":6,"extension":1093,"meta":1620,"stem":1637,"__hash__":1638},"shared\u002Fcode-type-module-options-root-prep.md",{"body":1621},{"type":8,"value":1622,"toc":1635},[1623],[48,1624,1625,1631],{},[51,1626,1629],{"className":1627,"code":1628,"language":92,"meta":57},[90],"type ModuleOptions = {\n  rootPrep:\n    | {\n        components: boolean;\n        configs: boolean;\n        public: boolean;\n      }\n    | boolean;\n};\n\"cref:bqm9nh\"\n",[25,1630,1628],{"__ignoreMap":57},[1217,1632,1633],{"v-slot:ui":57},[11,1634,1613],{},{"title":57,"searchDepth":1223,"depth":1223,"links":1636},[],"code-type-module-options-root-prep","CDd6YiejS7_3Pl2ETS054y-cran1P92f4jEUZTnpnOI",{"id":1640,"data":6,"extension":1093,"meta":1641,"stem":1658,"__hash__":1659},"shared\u002Fcode-type-search-debug-options.md",{"body":1642},{"type":8,"value":1643,"toc":1656},[1644],[48,1645,1646,1652],{},[51,1647,1650],{"className":1648,"code":1649,"language":92,"meta":57},[90],"type DebugOptions =\n  | {\n      mint: boolean;\n      parser: boolean;\n      assistant: boolean;\n      compression: boolean;\n    }\n  | boolean;\n\"cref:4kwyr2\"\n",[25,1651,1649],{"__ignoreMap":57},[1217,1653,1654],{"v-slot:ui":57},[11,1655,1613],{},{"title":57,"searchDepth":1223,"depth":1223,"links":1657},[],"code-type-search-debug-options","9sgMqYFmn561p6df7FEuf-1-dyKAqrO_HYGdARynLlA",{"id":1661,"data":6,"extension":1093,"meta":1662,"stem":1687,"__hash__":1688},"shared\u002Finline-read-more-about.md",{"body":1663},{"type":8,"value":1664,"toc":1685},[1665],[11,1666,1669,1670,18,1674],{"className":1667},[1668],"mt-0!","More about ",[1671,1672],"dl-format",{":content":1673},"about",[15,1675,1677,1681,1682],{"label":1676},"you can read here",[1678,1679],"binding",{"value":1680},"$doc.link","|",[1678,1683],{"value":1684},"$doc.hash",{"title":57,"searchDepth":1223,"depth":1223,"links":1686},[],"inline-read-more-about","O5VeK2Uv84witk_mAupYbHJxwXAmNoSKDgtmvyvLQwU",{"id":1690,"data":6,"extension":1093,"meta":1691,"stem":1703,"__hash__":1704},"shared\u002Fsection-exported-types.md",{"body":1692},{"type":8,"value":1693,"toc":1701},[1694],[11,1695,1696,1697,1700],{},"You can refer to the exported types, which are available for use throughout your application. All of them can be accessed from the ",[25,1698,1699],{},"@vuehouse\u002Fdl\u002Ftypes"," entrypoint.",{"title":57,"searchDepth":1223,"depth":1223,"links":1702},[],"section-exported-types","SyCNSGhT7VGICRHuO3fNO2QfyQUf7s10wVMGQyTfBFk",{"id":1706,"data":6,"extension":1093,"meta":1707,"stem":1720,"__hash__":1721},"shared\u002Fsection-highlighter-marker-disclaimer.md",{"body":1708},{"type":8,"value":1709,"toc":1718},[1710],[61,1711,1712],{},[11,1713,175,1714,1717],{},[25,1715,1716],{},"!"," character has been escaped manually to demonstrate the code usage, remove the backslash when using it.",{"title":57,"searchDepth":1223,"depth":1223,"links":1719},[],"section-highlighter-marker-disclaimer","DvlAILaQ9PE_c-B8f_1AYbrRaXRnOq9Ldr_Uc8qwkqE",{"id":1723,"data":6,"extension":1093,"meta":1724,"stem":1746,"__hash__":1747},"shared\u002Fsection-newly-added.md",{"body":1725},{"type":8,"value":1726,"toc":1744},[1727],[169,1728,1729],{"title":392},[11,1730,1731,1735,1736,1743],{},[1732,1733,1351],"dl-badge",{":iui":1734,"glow":285,"size":1093},"{ \"base\": \"mr-1 align-text-top\" }"," Available from the ",[25,1737,1740],{"className":1738},[1739],"whitespace-nowrap",[1678,1741],{"value":1742},"$doc.version"," release.",{"title":57,"searchDepth":1223,"depth":1223,"links":1745},[],"section-newly-added","ALhVdWjkGXgjt6I9nIikz7fUkwkGy62V3bicM903qW8",{"id":1749,"data":6,"extension":1093,"meta":1750,"stem":1767,"__hash__":1768},"shared\u002Fsection-optional-tool.md",{"body":1751},{"type":8,"value":1752,"toc":1765},[1753],[169,1754,1755],{"title":392,"type":172},[11,1756,1757,1758,1761,1762,32],{},"This tool is not a part of the DocLayer module. Its usage is opinionated and ",[20,1759,1760],{},"optionally included"," in the ",[15,1763,17],{"label":1764},"Boilerplate application",{"title":57,"searchDepth":1223,"depth":1223,"links":1766},[],"section-optional-tool","OWRAq0rKvbIllQHS-mJRS8L2qkNiiQ8RMiFBIBiZmnY",{"id":1770,"data":6,"extension":1093,"meta":1771,"stem":1814,"__hash__":1815},"shared\u002Fsection-props-extending.md",{"body":1772},{"type":8,"value":1773,"toc":1812},[1774],[169,1775,1777,1789],{"title":1776,"type":172},"Why to use built-in property extending?",[11,1778,1779,1780,1788],{},"You might ask ",[20,1781,1782,1783],{},"why this approach is better than simply ",[15,1784,1787],{"hash":1785,"label":1786},"defining-dynamic-properties","passing regular dynamic properties","$docs-guidelines-writing-content"," to your content components?",[262,1790,1791,1799,1806,1809],{},[265,1792,1793,1794,32],{},"First, it’s not limited to local data - you can provide data from parent components as well as from the global registry, managed by the ",[15,1795,1798],{"hash":1796,"label":1797},"dlindocdata","`dl.inDocData` object","$docs-guidelines-configuration",[265,1800,1801,1802,1805],{},"Second, dynamic property binding with the ",[25,1803,1804],{},"$doc"," handler isn’t possible when using regular dynamic props, since those values are resolved as static data, which can make data binding inconsistent.",[265,1807,1808],{},"Third, you can mix static and dynamic content for the same property.",[265,1810,1811],{},"Finally, with this approach, data binding happens at the component level, is cached, and reused for future renders, rather than being resolved each time during Markdown parsing.",{"title":57,"searchDepth":1223,"depth":1223,"links":1813},[],"section-props-extending","_KvOHw4F9cNT3FPfJPu3rKhnly5pt4adBb6EQXsJM8s",{"id":1817,"data":6,"extension":1093,"meta":1818,"stem":1835,"__hash__":1836},"shared\u002Fsection-props-intro.md",{"body":1819},{"type":8,"value":1820,"toc":1833},[1821],[11,1822,1823,1824,1829,1830,32],{},"Here are the properties you can use with the ",[25,1825,1826],{},[1678,1827],{"value":1828},"$doc.componentName"," component. Each property should be set on an individual component instance; they do not affect the global configuration. More about defining properties in MDC components ",[15,1831,1787],{"hash":1832,"label":1676},"defining-properties",{"title":57,"searchDepth":1223,"depth":1223,"links":1834},[],"section-props-intro","SKoDIW1kVb4amM1MgbWMvvgRr9IWPabKr58_xl1Q-GM",{"id":1838,"data":6,"extension":1093,"meta":1839,"stem":1847,"__hash__":1848},"shared\u002Fsection-props-iui-description.md",{"body":1840},{"type":8,"value":1841,"toc":1845},[1842],[11,1843,1844],{},"Special property dedicated to inline components, can be used to add TW classes for certain component markup elements.",{"title":57,"searchDepth":1223,"depth":1223,"links":1846},[],"section-props-iui-description","Se96jxhroK3WLRE4HXYqDeoYv1lpUd8qv4vZ8us54sI",{"id":1850,"data":6,"extension":1093,"meta":1851,"stem":1862,"__hash__":1863},"shared\u002Fsection-props-ui-default.md",{"body":1852},{"type":8,"value":1853,"toc":1860},[1854],[11,1855,1856],{"style":793},[67,1857,1859],{"href":1858},"#styling","see below",{"title":57,"searchDepth":1223,"depth":1223,"links":1861},[],"section-props-ui-default","5mkrOeoYp1BToIddCkwyzzTWeOQvj1gDVRYHJJl7kow",{"id":1865,"data":6,"extension":1093,"meta":1866,"stem":1879,"__hash__":1880},"shared\u002Fsection-props-ui-description.md",{"body":1867},{"type":8,"value":1868,"toc":1877},[1869],[11,1870,1872,1873,1876],{"style":1871},"min-width: 16rem;","The component ",[25,1874,1875],{},"ui"," object. Defines the Tailwind classes for the component's HTML markup elements.",{"title":57,"searchDepth":1223,"depth":1223,"links":1878},[],"section-props-ui-description","xXl6RjZ54x2VpJv6H1mJ7OSCTSOfMTtRD1_VyiC0tjI",{"id":1882,"data":6,"extension":1093,"meta":1883,"stem":1891,"__hash__":1892},"shared\u002Fsection-props-ui-type.md",{"body":1884},{"type":8,"value":1885,"toc":1889},[1886],[25,1887,1888],{"style":793},"() => UI",{"title":57,"searchDepth":1223,"depth":1223,"links":1890},[],"section-props-ui-type","AuxEvFbnpnbFrEjJrYiNJVZsYmI8RkEnH9RjkkuoaSQ",{"id":1894,"data":6,"extension":1093,"meta":1895,"stem":1947,"__hash__":1948},"shared\u002Fsection-remote-model-callout.md",{"body":1896},{"type":8,"value":1897,"toc":1945},[1898],[169,1899,1901,1907,1915,1918,1926,1936],{"title":1900},"DocLayer's Remote Model",[11,1902,1903,1906],{},[20,1904,1905],{},"DocLayer offers a prebuilt remote API for the AI Assistant",", providing advanced features like context focusing, deterministic intelligent caching, and optimized code extraction to deliver precise, high-quality answers (almost) every time.",[11,1908,1909,32],{},[20,1910,1911,1912,1914],{},"Our carefully fine-tuned model is available through the ",[15,1913,719],{"label":718}," - help us to build the best product possible securing the most advanced features for the best price",[11,1916,1917],{},"Here’s how you can configure it:",[48,1919,1920],{"tabs":83},[51,1921,1924],{"className":1922,"code":1923,"language":92,"meta":57},[90],"export default defineNuxtConfig({\n  \u002F\u002F the rest of the nuxt.config.ts\n  modules: ['@vuehouse\u002Fdl-search'],\n  dlSearch: {\n    assistant: {\n      model: {\n        type: 'dl',\n        config: {\n          endpoint: 'https:\u002F\u002Fvue.house\u002Fapi',\n          token: process.env.DL_API_TOKEN,\n        },\n      },\n    },\n  },\n});\n\"cref:96cag8\"\n",[25,1925,1923],{"__ignoreMap":57},[11,1927,1928,1929,1932,1933,32],{},"To try our API please ",[15,1930,1931],{},"$mailto-vue-house",". ",[20,1934,1935],{},"It's free",[11,1937,1938,1939,303,1942,32],{},"Remote ",[20,1940,1941],{},"API operates with a dedicated",[15,1943,454],{"label":1944,"hash":1098},"DocLayer AI Kit",{"title":57,"searchDepth":1223,"depth":1223,"links":1946},[],"section-remote-model-callout","C3AapTL9Uu5tqauRWl5GqZc8aOld3-yEvscN9Dwfp2M",{"id":1950,"data":6,"extension":1093,"meta":1951,"stem":1965,"__hash__":1966},"shared\u002Fsection-slots-ui-description.md",{"body":1952},{"type":8,"value":1953,"toc":1963},[1954],[11,1955,1956,1957,1959,1960,32],{},"Dedicated slot for defining the component’s ",[25,1958,1875],{}," object. More about styling MDC components ",[15,1961,1962],{"label":1676},"$docs-components-building",{"title":57,"searchDepth":1223,"depth":1223,"links":1964},[],"section-slots-ui-description","HFR6PT0KFzSBW9WnqIk5KdPqHjGTTl3za3mklYIIYUY",{"id":1968,"data":6,"extension":1093,"meta":1969,"stem":1991,"__hash__":1992},"shared\u002Fsection-styling-css-classes-intro.md",{"body":1970},{"type":8,"value":1971,"toc":1989},[1972],[11,1973,1974,1975,1979,1980,1984,1985,1988],{},"Below are the CSS utility classes used by the ",[25,1976,1977],{},[1678,1978],{"value":1828}," component. They make use of the ",[67,1981,1983],{"href":1982},"#css-variables","CSS variables"," described above and ",[67,1986,1987],{"href":1858},"define the default styling"," for the component's markup elements.",{"title":57,"searchDepth":1223,"depth":1223,"links":1990},[],"section-styling-css-classes-intro","VRtlxQ59m9iNVrWHp9r1OAy2lkklqQPtKbRIkwVCY6A",{"id":1994,"data":6,"extension":1093,"meta":1995,"stem":2016,"__hash__":2017},"shared\u002Fsection-styling-css-variables-intro.md",{"body":1996},{"type":8,"value":1997,"toc":2014},[1998],[11,1999,2000,2001,2004,2005,2009,2010,32],{},"Here is a set of CSS variables you can ",[20,2002,2003],{},"use to customize the appearance"," of the ",[25,2006,2007],{},[1678,2008],{"value":1828}," component globally. More about theming and styling with CSS variables, ",[15,2011,2013],{"hash":2012,"label":1676},"css-variables","$docs-guidelines-theming",{"title":57,"searchDepth":1223,"depth":1223,"links":2015},[],"section-styling-css-variables-intro","Vk6yVXoMwLNtqisCZhk9m2F3-wHKjiujWtBBZbTJcD4",{"id":2019,"data":6,"extension":1093,"meta":2020,"stem":2047,"__hash__":2048},"shared\u002Fsection-styling-intro.md",{"body":2021},{"type":8,"value":2022,"toc":2045},[2023,2036],[169,2024,2026],{"title":2025,"type":172},"Styling from Markdown",[11,2027,2028,2029,2032,2033,32],{},"Every DocLayer component ",[20,2030,2031],{},"can be styled directly within your Markdown file"," using dedicated slot\u002Fproperty configuration. This allows you to customize the appearance of the component's markup elements without modifying global styles. More about components styling ",[15,2034,1962],{"hash":2035,"label":1676},"styling-inside-the-markdown-files",[11,2037,2038,2039],{},"Below you'll find the default set of Tailwind classes for the component's dedicated markup elements. ",[1671,2040,2041],{},[1678,2042],{"defaultValue":2043,"value":2044},"undefined","$doc.extend",{"title":57,"searchDepth":1223,"depth":1223,"links":2046},[],"section-styling-intro","8V_zEj7QXax6dzKp918ZNy97d9u4qk6TaE40wI5JWEs",{"id":2050,"data":6,"extension":1093,"meta":2051,"stem":2091,"__hash__":2092},"shared\u002Fsection-utility-exports-disclaimer.md",{"body":2052},{"type":8,"value":2053,"toc":2089},[2054],[169,2055,2056,2063,2082],{"title":392,"type":172},[11,2057,2058,2059,2062],{},"This utility is ",[20,2060,2061],{},"exported from the module"," package.",[48,2064,2067,2073],{"dynamic":2065,"tabs":2066},"utilityName","file.ts",[51,2068,2071],{"className":2069,"code":2070,"language":92,"meta":57},[90],"import { :dl-dynamic: } from '@vuehouse\u002Fdl\u002Fexports';\n\"cref:zseli7\"\n",[25,2072,2070],{"__ignoreMap":57},[1217,2074,2075],{"v-slot:props":57},[11,2076,2077,2078,2081],{},"{\"dynamic\": \"",[1678,2079],{"value":2080},"$doc.utilityName","\" }",[11,2083,2084,2085,2088],{},"You can use it this way ",[20,2086,2087],{},"when the global context is not available"," and utility can't be loaded automatically by Nuxt.",{"title":57,"searchDepth":1223,"depth":1223,"links":2090},[],"section-utility-exports-disclaimer","FXCXHiiD49oOkbSwsKFpp4m0gsXkZdnUwCwWnVjwucI",{"id":2094,"data":6,"extension":1093,"meta":2095,"stem":2118,"__hash__":2119},"shared\u002Ftooltip-app-config-path.md",{"body":2096},{"type":8,"value":2097,"toc":2116},[2098],[282,2099,2102],{"label":2100,"tooltip":2101},"`app.config.ts`","In-app file path: app\u002Fapp.config.ts",[1217,2103,2104],{"v-slot:props":57},[11,2105,2106,2107,2111,2112,2115],{},"{\"tooltip\": \"In-app file path: ",[1678,2108],{"defaultValue":2109,"value":2110},"app\u002Fapp.config.ts","$doc.tooltip","\", \"label\": \"",[1678,2113],{"defaultValue":2100,"value":2114},"$doc.label","\"}",{"title":57,"searchDepth":1223,"depth":1223,"links":2117},[],"tooltip-app-config-path","WVDQKyALt7paYD6Tr7K10fmQ27d2XjzO_oxDKHCgSdc",{"id":2121,"data":6,"extension":1093,"meta":2122,"stem":2131,"__hash__":2132},"shared\u002Ftooltip-rag.md",{"body":2123},{"type":8,"value":2124,"toc":2129},[2125],[282,2126],{"label":2127,"lock-width":285,"tooltip":2128},"**RAG**","RAG stands for Retrieval-Augmented Generation. It is an AI solution that enhances the accuracy and reliability of Large Language Models by allowing them to reference data outside their original training set when generating answers. In most cases, this data is provided locally.",{"title":57,"searchDepth":1223,"depth":1223,"links":2130},[],"tooltip-rag","fDKuZzfT8d6JNox0uI1P0_ktG8kYWiz7WGsWWo7gTGs",[2134,2136,2137,2138],{"title":1480,"path":2135,"stem":1482,"children":-1,"description":6,"label":1265,"icon":1497},"\u002Fdocs\u002Fsearch\u002F.navigation",{"title":1485,"path":1481,"stem":1482,"description":1486,"label":1265,"children":-1},{"title":1289,"path":1489,"stem":1490,"description":1491,"children":-1},{"title":1493,"path":1494,"stem":1495,"description":1496,"children":-1},1795796071580]