The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.
Open Knowledge to manage what the agent chosen in the Agent selector can refer to during a conversation:
web pages, files and text such as your policies, FAQs and product details. Everything on this page applies to that
agent; to work on another agent, choose it in the selector.
The Knowledge Base page, with the documents attached to the agent.
Who can change knowledge
Any member can see this page. To change anything you need both:
to be an owner of the account, and
the active agent to be at Full control (see Edit levels). Agents you create
are always at Full control; your main agent often is not.
Otherwise the page is read-only. The header says “This agent is managed, its knowledge is configured by
RuleInside.” (agent below Full control) or “Only account owners can change knowledge, ask an owner of your team.”
(member), and each document shows its mode as plain text.
The document list
The page title is Knowledge Base, with “What … can reference during a conversation.” and your agent’s name.
Configure RAG and Add document (only when you can change knowledge).
A search box, Search Knowledge Base…, which matches document names.
Filters: All, File, URL, Text.
The search and filters appear once the agent has documents. The list shows:
RuleInside’s documents, marked Managed. You cannot change or remove them.
Your documents attached to this agent, each with a type badge and, when you can change knowledge:
a mode menu, Prompt or Auto (see below),
Remove, to take it off this agent only,
a trash button, to delete it everywhere.
How the agent uses a document
Each of your documents has a mode on each agent:
Prompt: always given to the agent.
Auto: looked up when it is relevant to the question.
The page footer reads: “Documents in Prompt mode are always included; in Auto mode they’re retrieved when relevant
(enable RAG for large documents). Small documents (under ~500 bytes) can’t be RAG-indexed.”
Switching a document to Auto does not prepare it for look-up on its own. Open Configure RAG, make sure
Enable RAG is on, and click Save: that prepares every one of your Auto documents on this agent.
Buttons on a document
Button
What happens
Can it be undone?
Mode menu (Prompt / Auto)
Changes how this agent uses the document. Saves straight away.
Yes, change it back.
Remove
Takes the document off this agent only. It stays on your other agents and in your documents. Saves straight away.
Yes: attach it again with Add document.
Trash (Delete)
Deletes the document for good and removes it from every agent that uses it. Asks for confirmation first.
No.
Deleting asks “Delete this document?”: ”’…’ will be permanently deleted and removed from every agent that uses it.
To take it off only this agent, use Remove instead. This can’t be undone.” Click Delete document
(“Deleting…”) to confirm, or Cancel.
Deleting a document cannot be undone, and it removes the document from every agent at once. To take it off one
agent only, use Remove.
Messages you may see:
Mode or Remove failed: “Could not update documents.” (or the reason), and the page reloads.
On your main agent below Full control: “This agent is managed, documents can only be attached to your own
agents.”
Delete: “Document deleted.” or “Could not delete the document.”
Adding a document
The Add document menu: reuse one of your documents, or add a URL, a file or text.
Click Add document. A menu opens with two ways to add one.Reuse a document you already have. Search with “Search documents…” among your documents that are not on this
agent (each shows its name and ID), and click one to attach it in Prompt mode. “No existing documents. Create
one below.” means you have none to reuse; “No matches.” means your search found nothing.Create a new document with URL, Files or Text:
Dialog
Fields
Rules
Add URL: “The agent will read this page as a knowledge source.”
Name (optional) (placeholder “e.g. Return policy”, up to 120 characters); URL (placeholder “https://yourstore.com/faq”)
URL required (“Enter a URL.”). “Must be a public https URL, internal/private addresses are blocked.” No IP addresses, localhost or user names in the address. The name defaults to the URL.
Create text: “Paste text the agent can use to answer questions.”
Name (up to 120 characters); Content (placeholder “Paste your policy, FAQ, product details…”)
Content required (“Enter some text.”). If you leave the name empty, the document is called “Text document”.
Add file: “PDF, TXT, DOCX, HTML or EPUB, up to 21MB.”
Name (optional); File
A file is required (“Choose a file.”). Accepted: .pdf, .txt, .docx, .html, .epub. Larger than 21 MB is refused (“File exceeds the 21MB limit.”). The name defaults to the file name.
Click Add document (“Adding…”) to create it, or Cancel. A new document belongs to your account and is
attached to the active agent in Prompt mode: “Document added.” On failure you see the reason, or “Could not add
the document.” (“Could not upload the file.” for files).
Configure RAG
The RAG configuration panel.
RAG (Retrieval-Augmented Generation) lets the agent pull only the relevant parts of large documents into each
answer, instead of loading whole documents. Click Configure RAG to open RAG configuration. It is available
only to owners, on an agent at Full control.
Field
What it does
Values
Default
Enable RAG
”Retrieval-Augmented Generation (RAG) increases the agent’s maximum Knowledge Base size. The agent will have access to relevant pieces of attached Knowledge Base during answer generation.”
On or off
The agent’s current setting (off if never set)
Embedding model
How text is matched to the question
English optimized or Multilingual optimized
English optimized
Character limit
”Limit the total number of characters retrieved per query.”
A whole number, 0 or more
50000
Chunk limit
”Limit the number of document chunks retrieved per query.”
A whole number, 1 or more
20
Vector distance limit
”Document chunks with a vector distance higher than this value (i.e., less similar) will not be retrieved.” A slider from More similar to Less similar.
0 to 2, in steps of 0.01
0.6
Number of candidates
”Number of candidates evaluated in ANN vector search. Higher number means better results, but higher latency. Minimum recommended value is 100. If disabled, the default value is used.”
A switch, then a number of 100 or more
Off; 100 when switched on
Query rewrite prompt override
”Override the default prompt used for rewriting user queries before retrieving documents. The conversation history will be automatically appended at the end.”
A switch, then a text box filled with the default prompt
Off
While Enable RAG is off, only the switch is shown.Click Save (“Saving…”):
With RAG on, your settings are saved, then every one of your documents attached to this agent in Auto
mode is prepared for look-up. You see “RAG enabled, indexing … document(s) for retrieval.” or “RAG settings
saved.” Documents under about 500 bytes, and any that fail, are skipped.
With RAG off, only RAG is switched off; the other values are not saved.
On failure you see the reason, or “Could not save RAG settings.” On your main agent below Full control: “This
agent is managed, RAG can only be configured on your own agents.”
What you might see
Message
What it means
”Knowledge base isn’t enabled on your plan. …”
Knowledge is not switched on for your account. Contact RuleInside.
”This workspace is not linked to a store yet.”
Your workspace is not connected to your store yet.
”Couldn’t load your knowledge base. Refresh to try again.”
The page failed to load. Refresh it.
”No documents found” / “This agent has no attached documents yet.”
The agent has no documents. Owners also see Add document.
”No documents match your search.”
Nothing matches your search or filter.
”You do not have permission to manage knowledge.”
You are a member; ask an owner.
Document controls are greyed out while a change or delete is running.
Common questions
What is the difference between Prompt and Auto?
Prompt documents are always given to the agent. Auto documents are looked up when relevant; for large
documents this needs RAG switched on and saved.
I set a document to Auto but the agent does not use it
Open Configure RAG, make sure Enable RAG is on, and click Save. That prepares your Auto documents.
Very small documents (under about 500 bytes) cannot be prepared; keep those in Prompt mode.
Remove or Delete?
Remove takes the document off this agent only. Delete (the trash button) erases it from every agent, and
cannot be undone.
Why can't I change the knowledge base?
Either the active agent is below Full control (often your main agent) or you are not an owner.
Can I change RuleInside's knowledge base?
No. Documents marked Managed are kept by RuleInside.
Which file types can I upload?
PDF, TXT, DOCX, HTML and EPUB, up to 21 MB each.
Can I use the same document on two agents?
Yes. Choose the second agent in the selector, click Add document, and pick the document from the list at the
top of the menu.
My URL is refused
It must be a public https:// address, with a domain name rather than an IP address, and no user name or
password in it.
Can I edit a document after adding it?
There is no edit button. Add the new version as a new document, then delete or remove the old one.
Can I add documents from the agent editor?
No. The Knowledge base card in the agent editor only lists the documents; on an agent you can change it links
here (Manage knowledge). Add and manage documents on this Knowledge page.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"RuleInside","colors":{"primary":"#191970","light":"#4A4AC9","dark":"#191970"},"logo":{"light":"https://mintcdn.com/ruleinside/efSwO0f11_KLE2Zf/logo/ruleinside_blue.png?fit=max\u0026auto=format\u0026n=efSwO0f11_KLE2Zf\u0026q=85\u0026s=b1e811424c09c684863eef536051e4f7","dark":"https://mintcdn.com/ruleinside/efSwO0f11_KLE2Zf/logo/ruleinside_white.png?fit=max\u0026auto=format\u0026n=efSwO0f11_KLE2Zf\u0026q=85\u0026s=b762ca2f1d037d2aae60a3873b00543b"},"favicon":"https://mintcdn.com/ruleinside/efSwO0f11_KLE2Zf/logo/ruleinside_icon.png?fit=max\u0026auto=format\u0026n=efSwO0f11_KLE2Zf\u0026q=85\u0026s=89916bd809efc475adffa2e7decd672c","navbar":{"links":[{"href":"mailto:info@ruleinside.com","label":"Support"}],"primary":{"type":"button","label":"Visit RuleInside","href":"https://ruleinside.com"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ruleinside","hasAudioNarration":false,"actualSubdomain":"ruleinside","customDomains":["docs.ruleinside.com"],"gitSource":{"type":"github","owner":"ruleinside-com","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ac207f2daf2982856449e64","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"default","tag":"Documentation","count":37},{"language":"default","tag":"Your agents","count":5},{"language":"default","tag":"Reaching your customers","count":5},{"language":"default","tag":"Calls and messages","count":5},{"language":"default","tag":"Getting started","count":5},{"language":"default","tag":"Your team and account","count":4},{"language":"default","tag":"Rules and consent","count":3},{"language":"default","tag":"Help","count":3},{"language":"default","tag":"Developers","count":2},{"language":"default","tag":"Store and integrations","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"knowledge","slug":"/knowledge","pageMetadata":{"title":"Knowledge","description":"The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.","href":"/knowledge"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Frame,Heading,Note,OptimizedImage,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Knowledge`}),` to manage what the agent chosen in the `,_jsx(_components.strong,{children:`Agent`}),` selector can refer to during a conversation:\nweb pages, files and text such as your policies, FAQs and product details. Everything on this page applies to that\nagent; to work on another agent, choose it in the selector.`]}),`\n`,_jsx(Frame,{caption:`The Knowledge Base page, with the documents attached to the agent.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05-knowledge.webp?fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=6270aeea30281346ef053e2c7197796a`,alt:`The Knowledge Base page in the portal`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`940`,height:`940`,\"data-path\":`images/portal/05-knowledge.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05-knowledge.webp?w=280\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=8956d7422abdaa8e86172ac10a16c8d4 280w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05-knowledge.webp?w=560\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=1d2fc147dcc677ffc9cc28f785b03f46 560w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05-knowledge.webp?w=840\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=5f1c5499ca9b2bcf201e0d8cc2a0599c 840w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05-knowledge.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=5ae07357c80e112ce8168537456a41f8 1100w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05-knowledge.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=43cdea96bf14a3c0d8ca74a99f08da57 1650w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05-knowledge.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=4ffc14eebc193c0b6115c2c59e3067c2 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`who-can-change-knowledge`,children:`Who can change knowledge`}),`\n`,_jsxs(_components.p,{children:[`Any member can see this page. To change anything you need `,_jsx(_components.strong,{children:`both`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`to be an `,_jsx(_components.strong,{children:`owner`}),` of the account, and`]}),`\n`,_jsxs(_components.li,{children:[`the active agent to be at `,_jsx(_components.strong,{children:`Full control`}),` (see `,_jsx(_components.a,{href:`/agent-settings#edit-levels`,children:`Edit levels`}),`). Agents you create\nare always at Full control; your main agent often is not.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Otherwise the page is read-only. The header says “This agent is managed, its knowledge is configured by\nRuleInside.” (agent below Full control) or “Only account owners can change knowledge, ask an owner of your team.”\n(member), and each document shows its mode as plain text.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-document-list`,children:`The document list`}),`\n`,_jsxs(_components.p,{children:[`The page title is `,_jsx(_components.strong,{children:`Knowledge Base`}),`, with “What … can reference during a conversation.” and your agent’s name.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configure RAG`}),` and `,_jsx(_components.strong,{children:`Add document`}),` (only when you can change knowledge).`]}),`\n`,_jsxs(_components.li,{children:[`A search box, `,_jsx(_components.strong,{children:`Search Knowledge Base…`}),`, which matches document names.`]}),`\n`,_jsxs(_components.li,{children:[`Filters: `,_jsx(_components.strong,{children:`All`}),`, `,_jsx(_components.strong,{children:`File`}),`, `,_jsx(_components.strong,{children:`URL`}),`, `,_jsx(_components.strong,{children:`Text`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The search and filters appear once the agent has documents. The list shows:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`RuleInside’s documents`}),`, marked `,_jsx(_components.strong,{children:`Managed`}),`. You cannot change or remove them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your documents attached to this agent`}),`, each with a type badge and, when you can change knowledge:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`a mode menu, `,_jsx(_components.strong,{children:`Prompt`}),` or `,_jsx(_components.strong,{children:`Auto`}),` (see below),`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Remove`}),`, to take it off this agent only,`]}),`\n`,_jsx(_components.li,{children:`a trash button, to delete it everywhere.`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-the-agent-uses-a-document`,children:`How the agent uses a document`}),`\n`,_jsx(_components.p,{children:`Each of your documents has a mode on each agent:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Prompt`}),`: always given to the agent.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Auto`}),`: looked up when it is relevant to the question.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The page footer reads: “Documents in Prompt mode are always included; in Auto mode they’re retrieved when relevant\n(enable RAG for large documents). Small documents (under ~500 bytes) can’t be RAG-indexed.”`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Switching a document to `,_jsx(_components.strong,{children:`Auto`}),` does not prepare it for look-up on its own. Open `,_jsx(_components.strong,{children:`Configure RAG`}),`, make sure\n`,_jsx(_components.strong,{children:`Enable RAG`}),` is on, and click `,_jsx(_components.strong,{children:`Save`}),`: that prepares every one of your `,_jsx(_components.strong,{children:`Auto`}),` documents on this agent.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`buttons-on-a-document`,children:`Buttons on a document`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Button`}),_jsx(_components.th,{children:`What happens`}),_jsx(_components.th,{children:`Can it be undone?`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Mode menu (`,_jsx(_components.strong,{children:`Prompt`}),` / `,_jsx(_components.strong,{children:`Auto`}),`)`]}),_jsx(_components.td,{children:`Changes how this agent uses the document. Saves straight away.`}),_jsx(_components.td,{children:`Yes, change it back.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Remove`})}),_jsx(_components.td,{children:`Takes the document off this agent only. It stays on your other agents and in your documents. Saves straight away.`}),_jsxs(_components.td,{children:[`Yes: attach it again with `,_jsx(_components.strong,{children:`Add document`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Trash (`,_jsx(_components.strong,{children:`Delete`}),`)`]}),_jsx(_components.td,{children:`Deletes the document for good and removes it from every agent that uses it. Asks for confirmation first.`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`No.`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Deleting asks “Delete this document?”: ”’…’ will be permanently deleted and removed from every agent that uses it.\nTo take it off only this agent, use Remove instead. This can’t be undone.” Click `,_jsx(_components.strong,{children:`Delete document`}),`\n(“Deleting…”) to confirm, or `,_jsx(_components.strong,{children:`Cancel`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Deleting a document cannot be undone, and it removes the document from every agent at once. To take it off one\nagent only, use `,_jsx(_components.strong,{children:`Remove`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Messages you may see:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Mode or Remove failed: “Could not update documents.” (or the reason), and the page reloads.`}),`\n`,_jsx(_components.li,{children:`On your main agent below Full control: “This agent is managed, documents can only be attached to your own\nagents.”`}),`\n`,_jsx(_components.li,{children:`Delete: “Document deleted.” or “Could not delete the document.”`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`adding-a-document`,children:`Adding a document`}),`\n`,_jsx(Frame,{caption:`The Add document menu: reuse one of your documents, or add a URL, a file or text.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05b-knowledge-add.webp?fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=e90d2a970abf3ebf87df99f2eede882d`,alt:`The Add document menu`,\"data-og-width\":`320`,width:`320`,\"data-og-height\":`169`,height:`169`,\"data-path\":`images/portal/05b-knowledge-add.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05b-knowledge-add.webp?w=280\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=04b88d2e73a4ccc9c790d5f6e1682d5d 280w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05b-knowledge-add.webp?w=560\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=f1d8e098fa32be9d83ce1df57fcc9931 560w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05b-knowledge-add.webp?w=840\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=0aa66ef05c48fb25d1f348211b8c654c 840w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05b-knowledge-add.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=b22eed59cce93aea4f62ac1e07870fa3 1100w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05b-knowledge-add.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=b6436c9661b4a5239894166556889ffc 1650w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05b-knowledge-add.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=3ea3c602cf4a7069a351b21f24a658b9 2500w`})}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add document`}),`. A menu opens with two ways to add one.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reuse a document you already have.`}),` Search with “Search documents…” among your documents that are not on this\nagent (each shows its name and ID), and click one to attach it in `,_jsx(_components.strong,{children:`Prompt`}),` mode. “No existing documents. Create\none below.” means you have none to reuse; “No matches.” means your search found nothing.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Create a new document`}),` with `,_jsx(_components.strong,{children:`URL`}),`, `,_jsx(_components.strong,{children:`Files`}),` or `,_jsx(_components.strong,{children:`Text`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Dialog`}),_jsx(_components.th,{children:`Fields`}),_jsx(_components.th,{children:`Rules`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Add URL`}),`: “The agent will read this page as a knowledge source.”`]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Name (optional)`}),` (placeholder “e.g. Return policy”, up to 120 characters); `,_jsx(_components.strong,{children:`URL`}),` (placeholder “`,_jsx(_components.a,{href:`https://yourstore.com/faq`,children:`https://yourstore.com/faq`}),`”)`]}),_jsxs(_components.td,{children:[`URL required (“Enter a URL.”). “Must be a public https URL, internal/private addresses are blocked.” No IP addresses, `,_jsx(_components.code,{children:`localhost`}),` or user names in the address. The name defaults to the URL.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Create text`}),`: “Paste text the agent can use to answer questions.”`]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Name`}),` (up to 120 characters); `,_jsx(_components.strong,{children:`Content`}),` (placeholder “Paste your policy, FAQ, product details…”)`]}),_jsx(_components.td,{children:`Content required (“Enter some text.”). If you leave the name empty, the document is called “Text document”.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Add file`}),`: “PDF, TXT, DOCX, HTML or EPUB, up to 21MB.”`]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Name (optional)`}),`; `,_jsx(_components.strong,{children:`File`})]}),_jsx(_components.td,{children:`A file is required (“Choose a file.”). Accepted: .pdf, .txt, .docx, .html, .epub. Larger than 21 MB is refused (“File exceeds the 21MB limit.”). The name defaults to the file name.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add document`}),` (“Adding…”) to create it, or `,_jsx(_components.strong,{children:`Cancel`}),`. A new document belongs to your account and is\nattached to the active agent in `,_jsx(_components.strong,{children:`Prompt`}),` mode: “Document added.” On failure you see the reason, or “Could not add\nthe document.” (“Could not upload the file.” for files).`]}),`\n`,_jsx(Heading,{level:`2`,id:`configure-rag`,children:`Configure RAG`}),`\n`,_jsx(Frame,{caption:`The RAG configuration panel.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05a-knowledge-rag.webp?fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=959d22cd4bd17efc15098e9085918510`,alt:`The RAG configuration panel`,\"data-og-width\":`576`,width:`576`,\"data-og-height\":`959`,height:`959`,\"data-path\":`images/portal/05a-knowledge-rag.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05a-knowledge-rag.webp?w=280\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=ac8d1b221bce42b79a4c2b83df874576 280w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05a-knowledge-rag.webp?w=560\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=bccb7bc4516296009fc4f3d0ee4b9dd7 560w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05a-knowledge-rag.webp?w=840\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=44373b1bc932c8a6b19a01b404101c73 840w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05a-knowledge-rag.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=7ee1b05fa24915a934d2259c7a91fd1e 1100w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05a-knowledge-rag.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=583d8b02998a2479126193e756d4a6e4 1650w, https://mintcdn.com/ruleinside/KY_HxF97SL5TB96U/images/portal/05a-knowledge-rag.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=KY_HxF97SL5TB96U\u0026q=85\u0026s=59d4060cc57c697a6d1976bdf26c79e1 2500w`})}),`\n`,_jsxs(_components.p,{children:[`RAG (Retrieval-Augmented Generation) lets the agent pull only the relevant parts of large documents into each\nanswer, instead of loading whole documents. Click `,_jsx(_components.strong,{children:`Configure RAG`}),` to open `,_jsx(_components.strong,{children:`RAG configuration`}),`. It is available\nonly to owners, on an agent at `,_jsx(_components.strong,{children:`Full control`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`What it does`}),_jsx(_components.th,{children:`Values`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Enable RAG`})}),_jsx(_components.td,{children:`”Retrieval-Augmented Generation (RAG) increases the agent’s maximum Knowledge Base size. The agent will have access to relevant pieces of attached Knowledge Base during answer generation.”`}),_jsx(_components.td,{children:`On or off`}),_jsx(_components.td,{children:`The agent’s current setting (off if never set)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Embedding model`})}),_jsx(_components.td,{children:`How text is matched to the question`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`English optimized`}),` or `,_jsx(_components.strong,{children:`Multilingual optimized`})]}),_jsx(_components.td,{children:`English optimized`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Character limit`})}),_jsx(_components.td,{children:`”Limit the total number of characters retrieved per query.”`}),_jsx(_components.td,{children:`A whole number, 0 or more`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`50000`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Chunk limit`})}),_jsx(_components.td,{children:`”Limit the number of document chunks retrieved per query.”`}),_jsx(_components.td,{children:`A whole number, 1 or more`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`20`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Vector distance limit`})}),_jsxs(_components.td,{children:[`”Document chunks with a vector distance higher than this value (i.e., less similar) will not be retrieved.” A slider from `,_jsx(_components.strong,{children:`More similar`}),` to `,_jsx(_components.strong,{children:`Less similar`}),`.`]}),_jsx(_components.td,{children:`0 to 2, in steps of 0.01`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.6`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Number of candidates`})}),_jsx(_components.td,{children:`”Number of candidates evaluated in ANN vector search. Higher number means better results, but higher latency. Minimum recommended value is 100. If disabled, the default value is used.”`}),_jsx(_components.td,{children:`A switch, then a number of 100 or more`}),_jsx(_components.td,{children:`Off; 100 when switched on`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Query rewrite prompt override`})}),_jsx(_components.td,{children:`”Override the default prompt used for rewriting user queries before retrieving documents. The conversation history will be automatically appended at the end.”`}),_jsx(_components.td,{children:`A switch, then a text box filled with the default prompt`}),_jsx(_components.td,{children:`Off`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`While `,_jsx(_components.strong,{children:`Enable RAG`}),` is off, only the switch is shown.`]}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),` (“Saving…”):`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`With RAG on`}),`, your settings are saved, then every one of your documents attached to this agent in `,_jsx(_components.strong,{children:`Auto`}),`\nmode is prepared for look-up. You see “RAG enabled, indexing … document(s) for retrieval.” or “RAG settings\nsaved.” Documents under about 500 bytes, and any that fail, are skipped.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`With RAG off`}),`, only RAG is switched off; the other values are not saved.`]}),`\n`,_jsx(_components.li,{children:`On failure you see the reason, or “Could not save RAG settings.” On your main agent below Full control: “This\nagent is managed, RAG can only be configured on your own agents.”`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-might-see`,children:`What you might see`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`What it means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”Knowledge base isn’t enabled on your plan. …”`}),_jsx(_components.td,{children:`Knowledge is not switched on for your account. Contact RuleInside.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”This workspace is not linked to a store yet.”`}),_jsx(_components.td,{children:`Your workspace is not connected to your store yet.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”Couldn’t load your knowledge base. Refresh to try again.”`}),_jsx(_components.td,{children:`The page failed to load. Refresh it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”No documents found” / “This agent has no attached documents yet.”`}),_jsxs(_components.td,{children:[`The agent has no documents. Owners also see `,_jsx(_components.strong,{children:`Add document`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”No documents match your search.”`}),_jsx(_components.td,{children:`Nothing matches your search or filter.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”You do not have permission to manage knowledge.”`}),_jsx(_components.td,{children:`You are a member; ask an owner.`})]})]})]}),`\n`,_jsx(_components.p,{children:`Document controls are greyed out while a change or delete is running.`}),`\n`,_jsx(Heading,{level:`2`,id:`common-questions`,children:`Common questions`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`What is the difference between Prompt and Auto?`,id:`what-is-the-difference-between-prompt-and-auto`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Prompt`}),` documents are always given to the agent. `,_jsx(_components.strong,{children:`Auto`}),` documents are looked up when relevant; for large\ndocuments this needs RAG switched on and saved.`]})}),_jsx(Accordion,{title:`I set a document to Auto but the agent does not use it`,id:`i-set-a-document-to-auto-but-the-agent-does-not-use-it`,children:_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Configure RAG`}),`, make sure `,_jsx(_components.strong,{children:`Enable RAG`}),` is on, and click `,_jsx(_components.strong,{children:`Save`}),`. That prepares your Auto documents.\nVery small documents (under about 500 bytes) cannot be prepared; keep those in `,_jsx(_components.strong,{children:`Prompt`}),` mode.`]})}),_jsx(Accordion,{title:`Remove or Delete?`,id:`remove-or-delete`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Remove`}),` takes the document off this agent only. Delete (the trash button) erases it from every agent, and\ncannot be undone.`]})}),_jsx(Accordion,{title:`Why can't I change the knowledge base?`,id:`why-cant-i-change-the-knowledge-base`,children:_jsxs(_components.p,{children:[`Either the active agent is below `,_jsx(_components.strong,{children:`Full control`}),` (often your main agent) or you are not an owner.`]})}),_jsx(Accordion,{title:`Can I change RuleInside's knowledge base?`,id:`can-i-change-ruleinsides-knowledge-base`,children:_jsxs(_components.p,{children:[`No. Documents marked `,_jsx(_components.strong,{children:`Managed`}),` are kept by RuleInside.`]})}),_jsx(Accordion,{title:`Which file types can I upload?`,id:`which-file-types-can-i-upload`,children:_jsx(_components.p,{children:`PDF, TXT, DOCX, HTML and EPUB, up to 21 MB each.`})}),_jsx(Accordion,{title:`Can I use the same document on two agents?`,id:`can-i-use-the-same-document-on-two-agents`,children:_jsxs(_components.p,{children:[`Yes. Choose the second agent in the selector, click `,_jsx(_components.strong,{children:`Add document`}),`, and pick the document from the list at the\ntop of the menu.`]})}),_jsx(Accordion,{title:`My URL is refused`,id:`my-url-is-refused`,children:_jsxs(_components.p,{children:[`It must be a public `,_jsx(_components.code,{children:`https://`}),` address, with a domain name rather than an IP address, and no user name or\npassword in it.`]})}),_jsx(Accordion,{title:`Can I edit a document after adding it?`,id:`can-i-edit-a-document-after-adding-it`,children:_jsx(_components.p,{children:`There is no edit button. Add the new version as a new document, then delete or remove the old one.`})}),_jsx(Accordion,{title:`Can I add documents from the agent editor?`,id:`can-i-add-documents-from-the-agent-editor`,children:_jsxs(_components.p,{children:[`No. The `,_jsx(_components.strong,{children:`Knowledge base`}),` card in the agent editor only lists the documents; on an agent you can change it links\nhere (`,_jsx(_components.strong,{children:`Manage knowledge`}),`). Add and manage documents on this Knowledge page.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Knowledge","description":"The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.","href":"/knowledge"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Who can change knowledge","slug":"who-can-change-knowledge","depth":2,"children":[]},{"title":"The document list","slug":"the-document-list","depth":2,"children":[]},{"title":"How the agent uses a document","slug":"how-the-agent-uses-a-document","depth":2,"children":[]},{"title":"Buttons on a document","slug":"buttons-on-a-document","depth":2,"children":[]},{"title":"Adding a document","slug":"adding-a-document","depth":2,"children":[]},{"title":"Configure RAG","slug":"configure-rag","depth":2,"children":[]},{"title":"What you might see","slug":"what-you-might-see","depth":2,"children":[]},{"title":"Common questions","slug":"common-questions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ruleinside","siteName":"RuleInside","title":"Knowledge - RuleInside","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-02T22:02:54.358Z","originalFileLocation":"knowledge.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.\">\u003cmeta data-mint-head name=\"application-name\" content=\"RuleInside\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Knowledge - RuleInside\">\u003cmeta data-mint-head property=\"og:description\" content=\"The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RuleInside\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ruleinside.com/knowledge\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ruleinside.mintlify.site/_mintlify/api/og/v2?division=Your+agents\u0026amp;title=Knowledge\u0026amp;description=The+documents+your+agent+answers+from%3A+adding+them%2C+how+the+agent+uses+them%2C+and+RAG+settings+for+large+documents.\u0026amp;theme=cbf81043d877f44c3b609e4c\u0026amp;signature=c162494a06a38f19469d7231b562f425fd49a8823b6dc9198ee3c990eba083fc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Knowledge - RuleInside\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ruleinside.mintlify.site/_mintlify/api/og/v2?division=Your+agents\u0026amp;title=Knowledge\u0026amp;description=The+documents+your+agent+answers+from%3A+adding+them%2C+how+the+agent+uses+them%2C+and+RAG+settings+for+large+documents.\u0026amp;theme=cbf81043d877f44c3b609e4c\u0026amp;signature=c162494a06a38f19469d7231b562f425fd49a8823b6dc9198ee3c990eba083fc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ruleinside/tPYFhPrO1FF1L84_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RuleInside\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#191970\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ruleinside.com/knowledge\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/knowledge.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ruleinside.com/#organization\",\"name\":\"RuleInside\",\"url\":\"https://docs.ruleinside.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ruleinside/efSwO0f11_KLE2Zf/logo/ruleinside_blue.png?fit=max\u0026auto=format\u0026n=efSwO0f11_KLE2Zf\u0026q=85\u0026s=b1e811424c09c684863eef536051e4f7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ruleinside.com#website\",\"name\":\"RuleInside\",\"url\":\"https://docs.ruleinside.com\",\"publisher\":{\"@id\":\"https://docs.ruleinside.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ruleinside.com/knowledge#webpage\",\"url\":\"https://docs.ruleinside.com/knowledge\",\"name\":\"Knowledge\",\"description\":\"The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.\",\"dateModified\":\"2026-10-02T22:02:54.358Z\",\"isPartOf\":{\"@id\":\"https://docs.ruleinside.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ruleinside.com/knowledge#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ruleinside.com/knowledge#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Your agents\",\"item\":\"https://docs.ruleinside.com/managing-agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge\",\"item\":\"https://docs.ruleinside.com/knowledge\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ruleinside.com/knowledge#article\",\"headline\":\"Knowledge\",\"name\":\"Knowledge\",\"description\":\"The documents your agent answers from: adding them, how the agent uses them, and RAG settings for large documents.\",\"url\":\"https://docs.ruleinside.com/knowledge\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ruleinside.com/knowledge#webpage\"},\"dateModified\":\"2026-10-02T22:02:54.358Z\",\"publisher\":{\"@id\":\"https://docs.ruleinside.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ruleinside.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"RuleInside\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"RuleInside\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/knowledge.md","siteName":"RuleInside","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting started","pages":[{"title":"Welcome to RuleInside","href":""},{"title":"How it works","href":"/how-it-works"},{"title":"Your first agent","href":"/your-first-agent"},{"title":"Testing before you go live","href":"/testing"},{"title":"Dashboard","href":"/dashboard"}]},{"group":"Your agents","pages":[{"title":"Managing your agents","href":"/managing-agents"},{"title":"Agent settings","href":"/agent-settings"},{"title":"Writing your agent's greeting and instructions","description":"How to write a first message and instructions that work on a call: what to include, what to leave to RuleInside, examples you can copy, and how to test each change.","href":"/writing-instructions"},{"title":"Knowledge","href":"/knowledge"},{"title":"Tools","description":"What your agent can do during a conversation, how to add your own tools, and the built-in system tools.","href":"/tools"}]},{"group":"Your website","pages":[{"title":"Website assistant","href":"/website-assistant"},{"title":"WordPress plugin","href":"/plugin"}]},{"group":"Calls and messages","pages":[{"title":"Calls","href":"/conversations"},{"title":"Phone numbers","href":"/phone-numbers"},{"title":"WhatsApp","href":"/whatsapp"},{"title":"WhatsApp templates","href":"/whatsapp-templates"},{"title":"Sending a WhatsApp message","href":"/whatsapp-send"}]},{"group":"Reaching your customers","pages":[{"title":"Contacts","href":"/contacts"},{"title":"Importing contacts","href":"/importing-contacts"},{"title":"Campaigns","href":"/campaigns"},{"title":"The campaign page and its results","href":"/campaign-results"},{"title":"Automations","href":"/automations"}]},{"group":"Rules and consent","pages":[{"title":"How calling rules protect your customers","href":"/outbound-rules"},{"title":"Calling consent and calling hours","href":"/calling-hours"},{"title":"Plans, limits and what happens at the limit","href":"/limits"}]},{"group":"Store and integrations","pages":[{"title":"Connections","href":"/connections"},{"title":"Refund requests","href":"/refunds"}]},{"group":"Developers","pages":[{"title":"API keys","href":"/api-keys"},{"title":"Webhooks","href":"/webhooks"}]},{"group":"Your team and account","pages":[{"title":"Members","href":"/members"},{"title":"Who can do what","href":"/roles"},{"title":"Organization settings","href":"/organization-settings"},{"title":"Your account","href":"/your-account"}]},{"group":"Billing","pages":[{"title":"Plans \u0026 billing","href":"/billing"}]},{"group":"Help","pages":[{"title":"Troubleshooting","href":"/troubleshooting"},{"title":"FAQ","href":"/faq"},{"title":"Glossary","href":"/glossary"}]}]}]},"basePath":"","title":"Knowledge - RuleInside","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BAWZma9N.js","DynamicMarkdown-DpB7I7uN.js","zoom-image-lightbox-CB5cBw1h.js","lightbox-handle-r17bVUz3.js"]}