Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.
A knowledge base is a set of files and web pages that an agent looks up during a conversation, so it answers from your data instead of from its prompt alone. Use one for policies, price lists, FAQs or per-customer records such as orders; keep short facts the agent needs on every call in the prompt.In the dashboard: Sidebar → Inventory → Knowledge base.These pages connect an agent to your data and your systems:
Page
What you do
Create a knowledge base (this page)
Build one from files and website URLs, configure CSV columns, test it in chat
This short video creates a knowledge base from a CSV and a web page, waits for it to finish training, and asks the test chat a question.
Creating and testing a knowledge base
1
Start
Click Create (on an empty page, under “Create your first Knowledge base”). The editor opens as Create knowledge base.
2
Name it
Enter a Name, for example Loan FAQs; it is saved as loan_faqs (“Saved as lowercase with underscores in place of spaces.”). You cannot rename it later.
3
Upload files
On the Upload files tab, drag files onto the box or click it to pick them. A CSV, TSV or PDF opens in a preview on the right; other file types upload without a preview.
A staged CSV in the preview, with Column Configuration below
4
Add web pages (optional)
On the Add URLs tab, add pages in either of two ways:
Crawl: enter a site address, such as https://example.com, and click Fetch Links. Ringg lists the pages under that address (files on the site are skipped), 20 at a time; click Load more links for the next batch.
Under Include Links, enter one page and click Add New URL.
Fetched pages appear under New URLs, each ticked already (up to the 50-URL limit); untick the ones you don’t want. Only ticked pages are added. Click a URL to preview the text Ringg extracts from it. An address without https:// gets it added.
5
Check CSV columns
For a CSV or TSV, review Column Configuration under the preview. See Structured data.
6
Save
Click Save. You see “Knowledge base creation started” and the editor reloads on the new knowledge base while it trains. Clear all removes everything you staged.
In the editor, each file’s chip goes from Processing to Indexed. On the Knowledge Base list, the knowledge base shows Training, then Ready (see Statuses). The editor opens on the uploaded file’s contents; click the back arrow to reach the test chat.
The upload tab notes: “Structured data (like CSV with clear columns) helps the AI find and match answers faster and more accurately than unstructured text.” Put records such as orders, branches or plans in a CSV with one header row, for example order_id,customer_name,mobile_number,status.When you stage a CSV or TSV, Column Configuration lists every header (“Columns are imported from your file. To change them, edit the file and re-upload.”):
Field
What you can do
Column name
Read-only, taken from the header row.
Type
String, Number, True/False or Date. Ringg pre-fills a guess from the column’s values; change it before you save.
Exact match
”Agent will look up exact keywords. Use this for specific details like Order ID or mobile numbers.” Off by default.
The settings are “Applied when you upload”. After upload, Type is fixed; only Exact match can change. Saving a change shows “Columns updated” and “Re-embedding started — the knowledge base will re-train.” ( puts it back in Training.)
Open a Ready knowledge base. With no source selected, the right panel is a test chat: “Test results will be based on processed data from uploaded files”. Type a question in Ask a question about your data… and press Enter (Shift+Enter adds a line). Each answer lists the files it came from. To hear it in a real conversation, attach it and test the agent. Click a CSV, TSV or PDF file, or an added URL, to see its contents; the back arrow returns to the chat with the conversation kept.
The list shows each knowledge base’s Name (with “Last trained: 2h ago” or “Not trained yet”), Sources and Status. Statuses update on their own while training.
The Knowledge Base list
Knowledge base status
Meaning
Training
Files are being processed, or it is re-training after a change. You cannot add sources or edit rows yet.
Ready
Processed and usable.
Partial failure
Some sources failed to process. Check each file’s status.
Failed
Processing failed.
File or URL status
Meaning
Pending upload
Staged in the editor, not saved yet.
Pending
Saved, waiting to be processed.
Processing
Being processed.
Indexed
Processed and searchable.
Failed
Could not be processed. Delete it and upload it again.
Click a row to open it. Changes need the Ready status; while it trains, Save shows “Knowledge base is still training”.
Add sources: upload files or add URLs, then Save (“Added to knowledge base”, “Processing started.”).
Replace a file: upload a file with the same name. “Replace File?” warns that “Replacing will overwrite the content.”; the old file is removed when you save.
Download or delete a file: open the ⋮ menu on its row. Deleting removes “This file and its indexed content”. Remove an added URL with its ×.
Edit rows (CSV and TSV): select the file to open its rows, 25 per page. Search them, Add row, click a row to Edit row, or select several and Delete n records. Values are validated against the column’s type.
On the list, click the trash icon on its row and confirm. Deleting removes the knowledge base with all its files, rows and column settings, and can’t be undone. It is detached from every agent automatically; remove any @ mentions of it from their prompts (Attach or detach a knowledge base).
Keep each knowledge base to one topic, such as loan_faqs or branch_locations. A focused set is easier to test, and you can attach several to one agent.
Remove outdated or conflicting documents before you upload. The agent can’t tell which version is current.
Upload text-based PDFs. A scanned PDF without searchable text gives the agent nothing to read.
Ask the test chat the questions your customers actually ask before you attach it.
.pdf, .docx, .txt, .csv (one chunk per row) and .json; anything else is read as plain text, with no column configuration
File size
20 MB per file
2 MB per file, 5 MB in total
Files
8 per knowledge base (URLs don’t count)
10 per request
URLs
50 per knowledge base
20 per request
FAQs
Not available
faqs: a JSON array of { "question", "answer" }
The dashboard rejects other file types (including JSON) with “Unsupported file”, and larger files with “File too large”. A workspace can have up to 100 knowledge bases and upload up to 1 GB a day.API rate limits per workspace: create 10 per hour, edit 20 per hour, get one or list all 60 per hour, delete 10 per minute.
Create Knowledge Base (POST /external/kb) takes multipart/form-data with kb_name and any of files, urls (a JSON array string) and faqs. You need an API key (Authentication).
A knowledge base created by API doesn’t appear on the Knowledge Base page, but it is listed in the agent editor’s knowledge base picker and works on calls. Knowledge bases created in the dashboard do appear in the API.The other dashboard actions map to these endpoints:
Dashboard action
Endpoint
Add or remove sources
Edit Knowledge Base: PATCH /external/kb with kb_id and new_files, new_urls, new_faqs, files_to_remove, urls_to_remove or faqs_to_remove (plus optional new_files_metadata), as multipart/form-data
The knowledge base already holds 8 files (“Knowledge base can hold at most 8 files.”). Delete a file, or create a second knowledge base and attach both to the agent.
"No links found" after Fetch Links
The crawler found no pages under that address. Add the pages one by one with Add New URL.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ringg AI","description":"Build AI agents that make and answer phone calls, talk on your website and chat on WhatsApp, then run them from the Ringg AI dashboard or REST API.","colors":{"primary":"#0A0A0B","light":"#FFFFFF","dark":"#0A0A0B"},"logo":{"light":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/logo/light.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=053f22dbaf5140cd8e5dadb1d4d057cd","dark":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=cf9075384ec572e1a19b939d5a8674af","href":"https://www.ringg.ai"},"favicon":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/favicon.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=e612fcf76df43d6468baa340dc3fde50","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]},"mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://prod-api.ringg.ai/ca/api/v0"}},"appearance":{"default":"dark"},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"/resources/learn/all-lessons","label":"Learn"},{"href":"mailto:admin@ringg.ai","label":"Contact us"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.ringg.ai/dashboard"}},"footer":{"socials":{"x":"https://x.com/ringg_ai","linkedin":"https://www.linkedin.com/company/ringg","youtube":"https://www.youtube.com/@RinggAI","instagram":"https://www.instagram.com/ringg_ai","discord":"https://discord.gg/YuEnb8Vsca"},"links":[{"header":"For AI agents","items":[{"label":"llms.txt","href":"https://docs.ringg.ai/llms.txt"},{"label":"skill.md","href":"https://docs.ringg.ai/skill.md"},{"label":"OpenAPI spec","href":"https://docs.ringg.ai/api-reference/openapi.json"},{"label":"MCP server","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]}]},"search":{"prompt":"Search the docs"},"seo":{"metatags":{"canonical":"https://docs.ringg.ai","og:site_name":"Ringg AI Docs","twitter:site":"@ringg_ai"},"organization":{"id":"https://www.ringg.ai/#organization","legalName":"Stoic AI Private Limited","url":"https://www.ringg.ai","logo":"https://assets.ringg.ai/images/logo/logo.svg","sameAs":["https://x.com/ringg_ai","https://www.linkedin.com/company/ringg","https://www.youtube.com/@RinggAI","https://www.instagram.com/ringg_ai","https://discord.gg/YuEnb8Vsca"]}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"errors":{"404":{"redirect":false,"title":"This page doesn't exist","description":"It may have moved in the docs rebuild. The suggestions below usually have it; otherwise start from [the introduction](/get-started/ringg-ai) or search above."}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","download-spec"],"display":"header"},"markdown":{"instructions":["To search or read these docs, connect the Ringg docs MCP server at https://docs.ringg.ai/mcp (no key needed; tools search_ringg_ai and query_docs_filesystem_ringg_ai) instead of browsing pages one by one. Setup for each client: https://docs.ringg.ai/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants.md","The dashboard labels agents \"Assistants\"; these docs say \"agent\". Both mean the same object, identified by agent_id.","API base URL: https://prod-api.ringg.ai/ca/api/v0. Send the workspace API key in the X-API-KEY header, from server-side code only.","Placing a call dials a real phone number and spends credits. Confirm the number with the user before calling.","To act on a Ringg workspace (place calls, edit agents, read transcripts), use the separate Ringg workspace MCP server at https://mcp.ringg.ai/mcp: https://docs.ringg.ai/resources/mcp-server/workspace-mcp-server/overview.md"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ringgai-0da73d20","hasAudioNarration":false,"actualSubdomain":"ringgai-0da73d20","customDomains":["docs.ringg.ai"],"gitSource":{"type":"github","owner":"stonkr","repo":"ringg-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6adb52e21a579503f2299e23","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Documentation","count":90},{"language":"default","tag":"API reference","count":52},{"language":"default","tag":"Build agents","count":37},{"language":"default","tag":"Resources","count":34},{"language":"default","tag":"Learn","count":27},{"language":"default","tag":"Inventory","count":23},{"language":"default","tag":"Deploy","count":22},{"language":"default","tag":"Customize agent behaviour","count":19},{"language":"default","tag":"Agents","count":17},{"language":"default","tag":"Calling","count":15}],"searchSettings":{"showContentSnippets":true,"maxResults":8}},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:1.375rem!important;width:auto!important}.figure-card{display:flex;flex-direction:column;margin:0.5rem 0;overflow:hidden;border:1px solid rgb(10 10 11 / 0.08);border-radius:1rem;background:#ffffff;text-decoration:none!important;transition:border-color 150ms}.figure-card:hover{border-color:rgb(10 10 11 / 0.2)}.dark .figure-card{border-color:rgb(255 255 255 / 0.08);background:rgb(var(--background-dark))}.dark .figure-card:hover{border-color:rgb(255 255 255 / 0.2)}.figure-card-panel{display:flex;justify-content:center;height:12rem;margin:0.375rem 0.375rem 0;border-radius:0.75rem;-webkit-mask-image:linear-gradient(to bottom, #000 62%, transparent);mask-image:linear-gradient(to bottom, #000 62%, transparent);background:#f6f6f7 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='256' fill='none' stroke='%230a0a0b' stroke-opacity='0.03' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='25'/%3E%3Ccircle cx='96' cy='32' r='25'/%3E%3Crect x='135' y='7' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='32' r='25'/%3E%3Ccircle cx='288' cy='32' r='25'/%3E%3Ccircle cx='352' cy='32' r='25'/%3E%3Ccircle cx='32' cy='96' r='25'/%3E%3Ccircle cx='96' cy='96' r='25'/%3E%3Ccircle cx='160' cy='96' r='25'/%3E%3Ccircle cx='224' cy='96' r='25'/%3E%3Ccircle cx='288' cy='96' r='25'/%3E%3Ccircle cx='352' cy='96' r='25'/%3E%3Ccircle cx='32' cy='160' r='25'/%3E%3Crect x='71' y='135' width='50' height='50' rx='8'/%3E%3Ccircle cx='160' cy='160' r='25'/%3E%3Ccircle cx='224' cy='160' r='25'/%3E%3Crect x='263' y='135' width='50' height='50' rx='8'/%3E%3Crect x='327' y='135' width='50' height='50' rx='8'/%3E%3Crect x='7' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='96' cy='224' r='25'/%3E%3Crect x='135' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='224' r='25'/%3E%3Crect x='263' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='352' cy='224' r='25'/%3E%3C/svg%3E\") center / 192px 128px}.dark .figure-card-panel{background:#0f0f11 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='256' fill='none' stroke='%23ffffff' stroke-opacity='0.025' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='25'/%3E%3Ccircle cx='96' cy='32' r='25'/%3E%3Crect x='135' y='7' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='32' r='25'/%3E%3Ccircle cx='288' cy='32' r='25'/%3E%3Ccircle cx='352' cy='32' r='25'/%3E%3Ccircle cx='32' cy='96' r='25'/%3E%3Ccircle cx='96' cy='96' r='25'/%3E%3Ccircle cx='160' cy='96' r='25'/%3E%3Ccircle cx='224' cy='96' r='25'/%3E%3Ccircle cx='288' cy='96' r='25'/%3E%3Ccircle cx='352' cy='96' r='25'/%3E%3Ccircle cx='32' cy='160' r='25'/%3E%3Crect x='71' y='135' width='50' height='50' rx='8'/%3E%3Ccircle cx='160' cy='160' r='25'/%3E%3Ccircle cx='224' cy='160' r='25'/%3E%3Crect x='263' y='135' width='50' height='50' rx='8'/%3E%3Crect x='327' y='135' width='50' height='50' rx='8'/%3E%3Crect x='7' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='96' cy='224' r='25'/%3E%3Crect x='135' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='224' r='25'/%3E%3Crect x='263' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='352' cy='224' r='25'/%3E%3C/svg%3E\") center / 192px 128px}.figure-card-panel{--hairline-plate: #f6f6f7}.dark .figure-card-panel{--hairline-plate: #0f0f11}.figure-card-panel>[data-hairline]{width:13.75rem}.figure-card-text{flex:1;padding:0.25rem 1.25rem 1.25rem}.figure-card-title{font-weight:600;color:rgb(17 24 39)}.dark .figure-card-title{color:rgb(255 255 255)}.figure-card-body{margin-top:0.25rem;font-size:0.9375rem;line-height:1.6;color:rgb(75 85 99)}.dark .figure-card-body{color:rgb(161 161 170)}"}],"page":{"pagePath":"documentation/inventory/knowledge-base","slug":"/documentation/inventory/knowledge-base","pageMetadata":{"title":"Knowledge base","sidebarTitle":"Knowledge base","description":"Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.","og:title":"Create and manage a knowledge base for your agents","href":"/documentation/inventory/knowledge-base"},"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: \"Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,Check,CodeBlock,CodeGroup,Columns,Frame,Heading,OptimizedImage,ResponseField,Step,Steps,Table,Tooltip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!Check)_missingMdxReference(`Check`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A knowledge base is a set of files and web pages that an `,_jsx(_components.a,{href:`/documentation/build-agents/agents/agent-types`,children:`agent`}),` looks up during a conversation, so it answers from your data instead of from its prompt alone. Use one for policies, price lists, FAQs or per-customer records such as orders; keep short facts the agent needs on every call in the `,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/agent-prompt`,children:`prompt`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`In the dashboard: `,_jsx(_components.strong,{children:`Sidebar → Inventory → Knowledge base`}),`.`]}),`\n`,_jsx(_components.p,{children:`These pages connect an agent to your data and your systems:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Page`}),_jsx(_components.th,{children:`What you do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create a knowledge base (this page)`}),_jsx(_components.td,{children:`Build one from files and website URLs, configure CSV columns, test it in chat`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/attach-a-knowledge-base`,children:`Attach a knowledge base`})}),_jsx(_components.td,{children:`Attach it to an agent, mention it in the prompt, add query phrases`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/tools/overview`,children:`Tools`})}),_jsx(_components.td,{children:`Fetch data before a call, act during it, send results after it ends`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/inventory/tools-integrations/connect-an-app`,children:`Connect an app`})}),_jsx(_components.td,{children:`Connect Google Sheets, Slack, calendars and other apps once per workspace for Integration tools`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`Knowledge Base permission`,icon:`shield`,href:`/documentation/manage-account/members#roles-and-permissions`,horizontal:true,children:_jsxs(_components.p,{children:[`Members need the `,_jsx(_components.strong,{children:`Knowledge Base`}),` edit permission to create or change one.`]})}),_jsx(Card,{title:`An agent to use it`,icon:`bot`,href:`/documentation/build-agents/agents/create-an-agent`,horizontal:true,children:_jsxs(_components.p,{children:[`Optional now: you attach the knowledge base to an agent once it is `,_jsx(_components.strong,{children:`Ready`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-knowledge-base`,children:`Create a knowledge base`}),`\n`,_jsx(_components.p,{children:`This short video creates a knowledge base from a CSV and a web page, waits for it to finish training, and asks the test chat a question.`}),`\n`,_jsx(Frame,{caption:`Creating and testing a knowledge base`,children:_jsx(`video`,{alt:`Creating and testing a knowledge base`,\"aria-label\":`Creating and testing a knowledge base`,controls:true,muted:true,playsInline:true,className:`mint-w-full mint-rounded-xl`,style:{aspectRatio:`16 / 10`},preload:`metadata`,controlsList:`nodownload noremoteplayback`,poster:`/media/knowledge-base/poster.webp`,children:_jsx(`source`,{src:`https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/video.webm?fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=74580fbb58e7c8dde5d5e7850d65d26d`,type:`video/webm; codecs=\"av01.0.09M.08\"`,\"data-path\":`media/knowledge-base/video.webm`})})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Start`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create`}),` (on an empty page, under “Create your first Knowledge base”). The editor opens as `,_jsx(_components.strong,{children:`Create knowledge base`}),`.`]})}),_jsx(Step,{title:`Name it`,children:_jsxs(_components.p,{children:[`Enter a `,_jsx(_components.strong,{children:`Name`}),`, for example `,_jsx(_components.code,{children:`Loan FAQs`}),`; it is saved as `,_jsx(_components.code,{children:`loan_faqs`}),` (“Saved as lowercase with underscores in place of spaces.”). You cannot rename it later.`]})}),_jsxs(Step,{title:`Upload files`,children:[_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Upload files`}),` tab, drag files onto the box or click it to pick them. A CSV, TSV or PDF opens in a preview on the right; other file types upload without a preview.`]}),_jsx(Frame,{caption:`A staged CSV in the preview, with Column Configuration below`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/csv-preview.webp?fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=8bfc8b9e458ffc6ca26daa6e4b2bd39a`,alt:`Preview of acme-lending-faq.csv with columns question, answer, category and updated_on and eight FAQ rows, above the Column Configuration card showing the question column as String with Exact match off`,\"data-og-width\":`1392`,width:`1392`,\"data-og-height\":`1388`,height:`1388`,\"data-path\":`media/knowledge-base/csv-preview.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/csv-preview.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=5da9d6b08a77a0d8677b3317073a6454 280w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/csv-preview.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=0e95aa850d69361983410f5c2ccef958 560w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/csv-preview.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=078e11dc3a5cc34ba1ee2dd62fb2f707 840w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/csv-preview.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=4294c4cbd1ad3196ead4b5495a8b1c01 1100w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/csv-preview.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=e122145bbf14c73014763e4df2930dbc 1650w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/csv-preview.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=73aadaa168467787f162163ec735ba46 2500w`})})]}),_jsxs(Step,{title:`Add web pages (optional)`,children:[_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Add URLs`}),` tab, add pages in either of two ways:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Crawl`}),`: enter a site address, such as `,_jsx(_components.code,{children:`https://example.com`}),`, and click `,_jsx(_components.strong,{children:`Fetch Links`}),`. Ringg lists the pages under that address (files on the site are skipped), 20 at a time; click `,_jsx(_components.strong,{children:`Load more links`}),` for the next batch.`]}),`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Include Links`}),`, enter one page and click `,_jsx(_components.strong,{children:`Add New URL`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`Fetched pages appear under `,_jsx(_components.strong,{children:`New URLs`}),`, each ticked already (up to the 50-URL limit); untick the ones you don’t want. Only ticked pages are added. Click a URL to preview the text Ringg extracts from it. An address without `,_jsx(_components.code,{children:`https://`}),` gets it added.`]})]}),_jsx(Step,{title:`Check CSV columns`,children:_jsxs(_components.p,{children:[`For a CSV or TSV, review `,_jsx(_components.strong,{children:`Column Configuration`}),` under the preview. See `,_jsx(_components.a,{href:`#structured-data-and-column-configuration`,children:`Structured data`}),`.`]})}),_jsxs(Step,{title:`Save`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),`. You see “Knowledge base creation started” and the editor reloads on the new knowledge base while it trains. `,_jsx(_components.strong,{children:`Clear all`}),` removes everything you staged.`]}),_jsx(Check,{children:_jsxs(_components.p,{children:[`In the editor, each file’s chip goes from `,_jsx(_components.strong,{children:`Processing`}),` to `,_jsx(_components.strong,{children:`Indexed`}),`. On the Knowledge Base list, the knowledge base shows `,_jsx(_components.strong,{children:`Training`}),`, then `,_jsx(_components.strong,{children:`Ready`}),` (see `,_jsx(_components.a,{href:`#statuses`,children:`Statuses`}),`). The editor opens on the uploaded file’s contents; click the back arrow to reach the `,_jsx(_components.a,{href:`#test-it-in-chat`,children:`test chat`}),`.`]})})]})]}),`\n`,_jsxs(_components.p,{children:[`To create one from code instead, see `,_jsx(_components.a,{href:`#do-this-with-the-api`,children:`Do this with the API`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`structured-data-and-column-configuration`,children:`Structured data and column configuration`}),`\n`,_jsxs(_components.p,{children:[`The upload tab notes: “Structured data (like CSV with clear columns) helps the AI find and match answers faster and more accurately than unstructured text.” Put records such as orders, branches or plans in a CSV with one header row, for example `,_jsx(_components.code,{children:`order_id,customer_name,mobile_number,status`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`When you stage a CSV or TSV, `,_jsx(_components.strong,{children:`Column Configuration`}),` lists every header (“Columns are imported from your file. To change them, edit the file and re-upload.”):`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`What you can do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Column name`})}),_jsx(_components.td,{children:`Read-only, taken from the header row.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Type`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`String`}),`, `,_jsx(_components.strong,{children:`Number`}),`, `,_jsx(_components.strong,{children:`True/False`}),` or `,_jsx(_components.strong,{children:`Date`}),`. Ringg pre-fills a guess from the column’s values; change it before you save.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Exact match`})}),_jsx(_components.td,{children:`”Agent will look up exact keywords. Use this for specific details like Order ID or mobile numbers.” Off by default.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The settings are “Applied when you upload”. After upload, `,_jsx(_components.strong,{children:`Type`}),` is fixed; only `,_jsx(_components.strong,{children:`Exact match`}),` can change. Saving a change shows “Columns updated” and “Re-embedding started — the knowledge base will re-train.” (`,_jsx(Tooltip,{tip:`Re-processing the data so the agent can search it again.`,children:`Re-embedding`}),` puts it back in `,_jsx(_components.strong,{children:`Training`}),`.)`]}),`\n`,_jsx(Heading,{level:`2`,id:`test-it-in-chat`,children:`Test it in chat`}),`\n`,_jsxs(_components.p,{children:[`Open a `,_jsx(_components.strong,{children:`Ready`}),` knowledge base. With no source selected, the right panel is a test chat: “Test results will be based on processed data from uploaded files”. Type a question in `,_jsx(_components.strong,{children:`Ask a question about your data…`}),` and press Enter (Shift+Enter adds a line). Each answer lists the files it came from. To hear it in a real conversation, attach it and `,_jsx(_components.a,{href:`/documentation/build-agents/test-and-improve/test-an-agent`,children:`test the agent`}),`. Click a CSV, TSV or PDF file, or an added URL, to see its contents; the back arrow returns to the chat with the conversation kept.`]}),`\n`,_jsx(Frame,{caption:`The test chat answering from the uploaded CSV`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/test-chat.webp?fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=71000e57eb750db5e3686b882d44520e`,alt:`Knowledge base loan_faqs with acme-lending-faq.csv Indexed; the test chat answers What credit score do I need for a personal loan? with a CIBIL score of 700 or above, citing acme-lending-faq.csv row 1`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`media/knowledge-base/test-chat.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/test-chat.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=7c3c607766200fa56e93c470e11a1c63 280w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/test-chat.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=aaa72bb691d015c25df6f7e7810b6330 560w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/test-chat.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=b7dea28d8014a1f205d5eedb4d2bb772 840w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/test-chat.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=bd914f0d30c3ede9bef26321e4fad9d5 1100w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/test-chat.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=f13d243a6243e10c09fad711e88c4bba 1650w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/test-chat.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=035347be2224a87d232283594c2db3df 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`statuses`,children:`Statuses`}),`\n`,_jsxs(_components.p,{children:[`The list shows each knowledge base’s `,_jsx(_components.strong,{children:`Name`}),` (with “Last trained: 2h ago” or “Not trained yet”), `,_jsx(_components.strong,{children:`Sources`}),` and `,_jsx(_components.strong,{children:`Status`}),`. Statuses update on their own while training.`]}),`\n`,_jsx(Frame,{caption:`The Knowledge Base list`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/kb-list.webp?fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=6f222ad77bec8e799f9e2186b40d56c6`,alt:`Knowledge Base page listing loan_faqs (2 sources, Last trained: just now), branch_locations (1 source) and loan_policies (3 sources), all with status Ready`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`media/knowledge-base/kb-list.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/kb-list.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=195338bc4959090f83512c4bf48e676e 280w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/kb-list.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=41124d9d7365e069214e6471f2c26b56 560w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/kb-list.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=121249d8e84ebb88be42cf0c83ded75d 840w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/kb-list.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=cb1870d7d1d1b4bfb4f6c2cd9d3f92ef 1100w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/kb-list.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=091a502e5e3d80466ee71995b5f0b76a 1650w, https://mintcdn.com/ringgai-0da73d20/XUOcNie5hfK3q--Y/media/knowledge-base/kb-list.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XUOcNie5hfK3q--Y\u0026q=85\u0026s=c6901a0b3140f9e0630461af40f19f49 2500w`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Knowledge base status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Training`})}),_jsx(_components.td,{children:`Files are being processed, or it is re-training after a change. You cannot add sources or edit rows yet.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Ready`})}),_jsx(_components.td,{children:`Processed and usable.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Partial failure`})}),_jsx(_components.td,{children:`Some sources failed to process. Check each file’s status.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Failed`})}),_jsx(_components.td,{children:`Processing failed.`})]})]})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`File or URL status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Pending upload`})}),_jsx(_components.td,{children:`Staged in the editor, not saved yet.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Pending`})}),_jsx(_components.td,{children:`Saved, waiting to be processed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Processing`})}),_jsx(_components.td,{children:`Being processed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Indexed`})}),_jsx(_components.td,{children:`Processed and searchable.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Failed`})}),_jsx(_components.td,{children:`Could not be processed. Delete it and upload it again.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`edit-a-knowledge-base`,children:`Edit a knowledge base`}),`\n`,_jsxs(_components.p,{children:[`Click a row to open it. Changes need the `,_jsx(_components.strong,{children:`Ready`}),` status; while it trains, `,_jsx(_components.strong,{children:`Save`}),` shows “Knowledge base is still training”.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add sources`}),`: upload files or add URLs, then `,_jsx(_components.strong,{children:`Save`}),` (“Added to knowledge base”, “Processing started.”).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Replace a file`}),`: upload a file with the same name. “Replace File?” warns that “Replacing will overwrite the content.”; the old file is removed when you save.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Download or delete a file`}),`: open the `,_jsx(_components.strong,{children:`⋮`}),` menu on its row. Deleting removes “This file and its indexed content”. Remove an added URL with its `,_jsx(_components.strong,{children:`×`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Edit rows`}),` (CSV and TSV): select the file to open its rows, 25 per page. `,_jsx(_components.strong,{children:`Search`}),` them, `,_jsx(_components.strong,{children:`Add row`}),`, click a row to `,_jsx(_components.strong,{children:`Edit row`}),`, or select several and `,_jsx(_components.strong,{children:`Delete n records`}),`. Values are validated against the column’s type.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`delete-a-knowledge-base`,children:`Delete a knowledge base`}),`\n`,_jsxs(_components.p,{children:[`On the list, click the trash icon on its row and confirm. Deleting removes the knowledge base with all its files, rows and column settings, and can’t be undone. It is detached from every agent automatically; remove any `,_jsx(_components.code,{children:`@`}),` mentions of it from their prompts (`,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/attach-a-knowledge-base#attach-or-detach-a-knowledge-base`,children:`Attach or detach a knowledge base`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-better-answers`,children:`Get better answers`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Keep each knowledge base to one topic, such as `,_jsx(_components.code,{children:`loan_faqs`}),` or `,_jsx(_components.code,{children:`branch_locations`}),`. A focused set is easier to test, and you can attach several to one agent.`]}),`\n`,_jsx(_components.li,{children:`Remove outdated or conflicting documents before you upload. The agent can’t tell which version is current.`}),`\n`,_jsx(_components.li,{children:`Upload text-based PDFs. A scanned PDF without searchable text gives the agent nothing to read.`}),`\n`,_jsxs(_components.li,{children:[`Ask the `,_jsx(_components.a,{href:`#test-it-in-chat`,children:`test chat`}),` the questions your customers actually ask before you attach it.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`limits`,children:`Limits`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Limit`}),_jsx(_components.th,{children:`Dashboard`}),_jsx(_components.th,{children:`API (per request)`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`File types`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`.csv`}),`, `,_jsx(_components.code,{children:`.tsv`}),`, `,_jsx(_components.code,{children:`.pdf`}),`, `,_jsx(_components.code,{children:`.docx`}),`, `,_jsx(_components.code,{children:`.md`}),`, `,_jsx(_components.code,{children:`.txt`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`.pdf`}),`, `,_jsx(_components.code,{children:`.docx`}),`, `,_jsx(_components.code,{children:`.txt`}),`, `,_jsx(_components.code,{children:`.csv`}),` (one chunk per row) and `,_jsx(_components.code,{children:`.json`}),`; anything else is read as plain text, with no column configuration`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`File size`}),_jsx(_components.td,{children:`20 MB per file`}),_jsx(_components.td,{children:`2 MB per file, 5 MB in total`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Files`}),_jsx(_components.td,{children:`8 per knowledge base (URLs don’t count)`}),_jsx(_components.td,{children:`10 per request`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URLs`}),_jsx(_components.td,{children:`50 per knowledge base`}),_jsx(_components.td,{children:`20 per request`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`FAQs`}),_jsx(_components.td,{children:`Not available`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`faqs`}),`: a JSON array of `,_jsx(_components.code,{children:`{ \"question\", \"answer\" }`})]})]})]})]}),`\n`,_jsx(_components.p,{children:`The dashboard rejects other file types (including JSON) with “Unsupported file”, and larger files with “File too large”. A workspace can have up to 100 knowledge bases and upload up to 1 GB a day.`}),`\n`,_jsx(_components.p,{children:`API rate limits per workspace: create 10 per hour, edit 20 per hour, get one or list all 60 per hour, delete 10 per minute.`}),`\n`,_jsx(Heading,{level:`2`,id:`do-this-with-the-api`,children:`Do this with the API`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/api-reference/inventory/knowledge-bases/create-knowledge-base`,children:`Create Knowledge Base`}),` (`,_jsx(_components.code,{children:`POST /external/kb`}),`) takes `,_jsx(_components.code,{children:`multipart/form-data`}),` with `,_jsx(_components.code,{children:`kb_name`}),` and any of `,_jsx(_components.code,{children:`files`}),`, `,_jsx(_components.code,{children:`urls`}),` (a JSON array string) and `,_jsx(_components.code,{children:`faqs`}),`. You need an `,_jsx(_components.a,{href:`/documentation/manage-account/api-key`,children:`API key`}),` (`,_jsx(_components.a,{href:`/api-reference/introduction/authentication`,children:`Authentication`}),`).`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/external/kb\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RINGG_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"kb_name=loan_faqs\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"files=@loan-policy.pdf\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'urls=[\"https://example.com/loans/faq\"]'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`13`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`openAsBlob`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node:fs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` form`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FormData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`form`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`append`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"kb_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan_faqs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`form`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`append`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"files\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` openAsBlob`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan-policy.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan-policy.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`form`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`append`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/loans/faq\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]));`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://prod-api.ringg.ai/ca/api/v0/external/kb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`RINGG_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` form`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`());`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`15`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`with`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` open`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan-policy.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` f:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/external/kb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RINGG_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"kb_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan_faqs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: json.dumps([`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/loans/faq\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` files`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"files\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan-policy.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, f)},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:`The response returns:`}),`\n`,_jsx(ResponseField,{name:`kb_id`,type:`string`,id:`param-kb-id`,children:`The new knowledge base’s ID. Use it to poll, edit or delete.`}),`\n`,_jsxs(ResponseField,{name:`processing_status`,type:`string`,id:`param-processing-status`,children:[_jsx(_components.code,{children:`pending`}),` at first.`]}),`\n`,_jsx(ResponseField,{name:`files_queued`,type:`integer`,id:`param-files-queued`,children:`How many files were queued for processing.`}),`\n`,_jsx(_components.p,{children:`A knowledge base created by API doesn’t appear on the Knowledge Base page, but it is listed in the agent editor’s knowledge base picker and works on calls. Knowledge bases created in the dashboard do appear in the API.`}),`\n`,_jsx(_components.p,{children:`The other dashboard actions map to these endpoints:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Dashboard action`}),_jsx(_components.th,{children:`Endpoint`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Add or remove sources`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/api-reference/inventory/knowledge-bases/edit-knowledge-base`,children:`Edit Knowledge Base`}),`: `,_jsx(_components.code,{children:`PATCH /external/kb`}),` with `,_jsx(_components.code,{children:`kb_id`}),` and `,_jsx(_components.code,{children:`new_files`}),`, `,_jsx(_components.code,{children:`new_urls`}),`, `,_jsx(_components.code,{children:`new_faqs`}),`, `,_jsx(_components.code,{children:`files_to_remove`}),`, `,_jsx(_components.code,{children:`urls_to_remove`}),` or `,_jsx(_components.code,{children:`faqs_to_remove`}),` (plus optional `,_jsx(_components.code,{children:`new_files_metadata`}),`), as `,_jsx(_components.code,{children:`multipart/form-data`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The list`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/api-reference/inventory/knowledge-bases/get-all-knowledge-bases`,children:`Get All Knowledge Bases`}),`: `,_jsx(_components.code,{children:`GET /external/kb/all`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Open one`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/api-reference/inventory/knowledge-bases/get-knowledge-base-by-id`,children:`Get Knowledge Base by ID`}),`: `,_jsx(_components.code,{children:`GET /external/kb/{kb_id}`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Delete`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/api-reference/inventory/knowledge-bases/delete-knowledge-base`,children:`Delete Knowledge Base`}),`: `,_jsx(_components.code,{children:`DELETE /external/kb/{kb_id}`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Poll Get Knowledge Base by ID until its `,_jsx(_components.code,{children:`status`}),` shows processing has finished:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/external/kb/550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RINGG_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`5`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/external/kb/550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`RINGG_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`());`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/external/kb/550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RINGG_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`The Upload button is disabled`,id:`the-upload-button-is-disabled`,children:_jsx(_components.p,{children:`The knowledge base already holds 8 files (“Knowledge base can hold at most 8 files.”). Delete a file, or create a second knowledge base and attach both to the agent.`})}),_jsx(Accordion,{title:`\"No links found\" after Fetch Links`,id:`no-links-found-after-fetch-links`,children:_jsxs(_components.p,{children:[`The crawler found no pages under that address. Add the pages one by one with `,_jsx(_components.strong,{children:`Add New URL`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`Attach it to an agent`,icon:`bot`,href:`/documentation/build-agents/customize-agent-behaviour/attach-a-knowledge-base`,children:_jsxs(_components.p,{children:[`Attach it once it is `,_jsx(_components.strong,{children:`Ready`}),`, by dashboard or API, and mention it in the prompt.`]})}),_jsx(Card,{title:`Test the agent`,icon:`play`,href:`/documentation/build-agents/test-and-improve/test-an-agent`,children:_jsx(_components.p,{children:`Ask real questions on a test call.`})})]})]})}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 base","sidebarTitle":"Knowledge base","description":"Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.","og:title":"Create and manage a knowledge base for your agents","href":"/documentation/inventory/knowledge-base"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Create a knowledge base","slug":"create-a-knowledge-base","depth":2,"children":[]},{"title":"Structured data and column configuration","slug":"structured-data-and-column-configuration","depth":2,"children":[]},{"title":"Test it in chat","slug":"test-it-in-chat","depth":2,"children":[]},{"title":"Statuses","slug":"statuses","depth":2,"children":[]},{"title":"Edit a knowledge base","slug":"edit-a-knowledge-base","depth":2,"children":[]},{"title":"Delete a knowledge base","slug":"delete-a-knowledge-base","depth":2,"children":[]},{"title":"Get better answers","slug":"get-better-answers","depth":2,"children":[]},{"title":"Limits","slug":"limits","depth":2,"children":[]},{"title":"Do this with the API","slug":"do-this-with-the-api","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ringgai-0da73d20/45c33e65ef05fabf/hairline.js"],"dynamicCss":".mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"ringgai-0da73d20","siteName":"Ringg AI","title":"Create and manage a knowledge base for your agents","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-13T11:53:22.490Z","originalFileLocation":"documentation/inventory/knowledge-base.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=\"dark\"}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=\"Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ringg AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create and manage a knowledge base for your agents\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ringg AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ringg.ai/documentation/inventory/knowledge-base\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ringgai-0da73d20.mintlify.site/_mintlify/api/og/v2?division=Inventory\u0026amp;title=Knowledge+base\u0026amp;description=Create+a+Ringg+AI+knowledge+base+from+files+and+website+URLs%2C+configure+CSV+columns%2C+test+it+in+chat%2C+track+training+status%2C+and+manage+it+by+API.\u0026amp;theme=737b8671029ef070100737b1\u0026amp;signature=3ff72683663302c365b7379586bda52d9e3cd18a5b1932cf26cdb19569eb9027\">\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=\"Create and manage a knowledge base for your agents\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ringgai-0da73d20.mintlify.site/_mintlify/api/og/v2?division=Inventory\u0026amp;title=Knowledge+base\u0026amp;description=Create+a+Ringg+AI+knowledge+base+from+files+and+website+URLs%2C+configure+CSV+columns%2C+test+it+in+chat%2C+track+training+status%2C+and+manage+it+by+API.\u0026amp;theme=737b8671029ef070100737b1\u0026amp;signature=3ff72683663302c365b7379586bda52d9e3cd18a5b1932cf26cdb19569eb9027\">\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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ringg AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A0A0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ringg.ai/documentation/inventory/knowledge-base\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentation/inventory/knowledge-base.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ringg.ai/#organization\",\"name\":\"Ringg AI\",\"legalName\":\"Stoic AI Private Limited\",\"url\":\"https://www.ringg.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.ringg.ai/images/logo/logo.svg\"},\"sameAs\":[\"https://x.com/ringg_ai\",\"https://www.linkedin.com/company/ringg\",\"https://www.youtube.com/@RinggAI\",\"https://www.instagram.com/ringg_ai\",\"https://discord.gg/YuEnb8Vsca\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ringg.ai#website\",\"name\":\"Ringg AI\",\"url\":\"https://docs.ringg.ai\",\"publisher\":{\"@id\":\"https://www.ringg.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ringg.ai/documentation/inventory/knowledge-base#webpage\",\"url\":\"https://docs.ringg.ai/documentation/inventory/knowledge-base\",\"name\":\"Knowledge base\",\"description\":\"Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.\",\"dateModified\":\"2026-10-13T11:53:22.490Z\",\"isPartOf\":{\"@id\":\"https://docs.ringg.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ringg.ai/documentation/inventory/knowledge-base#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ringg.ai/documentation/inventory/knowledge-base#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ringg AI\",\"item\":\"https://docs.ringg.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge base\",\"item\":\"https://docs.ringg.ai/documentation/inventory/knowledge-base\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ringg.ai/documentation/inventory/knowledge-base#article\",\"headline\":\"Knowledge base\",\"name\":\"Knowledge base\",\"description\":\"Create a Ringg AI knowledge base from files and website URLs, configure CSV columns, test it in chat, track training status, and manage it by API.\",\"url\":\"https://docs.ringg.ai/documentation/inventory/knowledge-base\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ringg.ai/documentation/inventory/knowledge-base#webpage\"},\"dateModified\":\"2026-10-13T11:53:22.490Z\",\"publisher\":{\"@id\":\"https://www.ringg.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ringg.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ringg AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ringg AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/documentation/inventory/knowledge-base.md","siteName":"Ringg AI","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":"/get-started/introduction"}]},{"tab":"Documentation","pages":[{"title":"Ringg AI documentation","sidebarTitle":"Introduction","icon":"book-open","href":"/documentation/introduction"},{"group":"Build agents","icon":"bot","pages":[{"group":"Agents","pages":[{"title":"Agent types","sidebarTitle":"Agent types","href":"/documentation/build-agents/agents/agent-types"},{"title":"Create an agent","sidebarTitle":"Create an agent","href":"/documentation/build-agents/agents/create-an-agent"},{"group":"Multi-prompt agents","pages":[{"title":"Multi-prompt agents","sidebarTitle":"Overview","href":"/documentation/build-agents/agents/multi-prompt-agents/overview"},{"title":"Node types and connections","sidebarTitle":"Node types and connections","href":"/documentation/build-agents/agents/multi-prompt-agents/node-types-and-connections"},{"title":"Multi-prompt global settings","sidebarTitle":"Global settings","href":"/documentation/build-agents/agents/multi-prompt-agents/global-settings"},{"title":"Test and convert multi-prompt agents","sidebarTitle":"Test and convert","href":"/documentation/build-agents/agents/multi-prompt-agents/test-and-convert"}]},{"group":"WhatsApp agents","tag":"NEW","pages":[{"title":"WhatsApp agents","sidebarTitle":"Overview","href":"/documentation/build-agents/agents/whatsapp-agents/overview"},{"title":"Create a WhatsApp agent","sidebarTitle":"Create an agent","href":"/documentation/build-agents/agents/whatsapp-agents/create-an-agent"},{"title":"WhatsApp Flows","sidebarTitle":"Flows","href":"/documentation/build-agents/agents/whatsapp-agents/flows"},{"title":"Build WhatsApp Flows in Ringg","sidebarTitle":"Flow builder","href":"/documentation/build-agents/agents/whatsapp-agents/flow-builder"},{"title":"WhatsApp Flows with live data","sidebarTitle":"Flows with live data","href":"/documentation/build-agents/agents/whatsapp-agents/flows-live-data"},{"title":"Live data from your server","sidebarTitle":"Live data from your server","href":"/documentation/build-agents/agents/whatsapp-agents/flows-your-server"}]}]},{"group":"Customize agent behaviour","pages":[{"title":"Agent prompt","sidebarTitle":"Agent prompt","href":"/documentation/build-agents/customize-agent-behaviour/agent-prompt"},{"title":"Voice and language","sidebarTitle":"Voice and language","href":"/documentation/build-agents/customize-agent-behaviour/voice-and-language"},{"title":"Custom variables","sidebarTitle":"Custom variables","href":"/documentation/build-agents/customize-agent-behaviour/custom-variables"},{"title":"Attach a knowledge base","sidebarTitle":"Attach a knowledge base","href":"/documentation/build-agents/customize-agent-behaviour/attach-a-knowledge-base"},{"group":"Tools","pages":[{"title":"Tools","sidebarTitle":"Overview","href":"/documentation/build-agents/customize-agent-behaviour/tools/overview"},{"title":"API tools","sidebarTitle":"API tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/api-tools"},{"title":"Integration tools","sidebarTitle":"Integration tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/integration-tools"},{"title":"System tools","sidebarTitle":"System tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/system-tools"},{"title":"Function tools and conditions","sidebarTitle":"Function tools and conditions","href":"/documentation/build-agents/customize-agent-behaviour/tools/function-tools-and-conditions"},{"title":"Post-call tools","sidebarTitle":"Post-call tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/post-call-tools"},{"title":"Workspace tools","sidebarTitle":"Workspace tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/workspace-tools"},{"title":"WhatsApp tools","sidebarTitle":"WhatsApp tools","tag":"NEW","href":"/documentation/build-agents/customize-agent-behaviour/tools/whatsapp-tools"}]},{"title":"Call settings","sidebarTitle":"Call settings","href":"/documentation/build-agents/customize-agent-behaviour/call-settings"},{"title":"Advanced Analysis","sidebarTitle":"Advanced Analysis","href":"/documentation/build-agents/customize-agent-behaviour/advanced-analysis"},{"title":"Event Subscription","sidebarTitle":"Event Subscription","href":"/documentation/build-agents/customize-agent-behaviour/event-subscription"},{"group":"Webhooks","pages":[{"title":"Webhook setup and errors","sidebarTitle":"Setup and errors","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/setup-and-errors"},{"title":"Call events","sidebarTitle":"Call events","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/call-events"},{"title":"WhatsApp chat events","sidebarTitle":"WhatsApp chat events","tag":"NEW","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/whatsapp-chat-events"},{"title":"Webhook field reference","sidebarTitle":"Field reference","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/field-reference"}]}]},{"group":"Test and improve","pages":[{"title":"Test an agent","sidebarTitle":"Test an agent","href":"/documentation/build-agents/test-and-improve/test-an-agent"},{"title":"Drafts and versions","sidebarTitle":"Drafts and versions","href":"/documentation/build-agents/test-and-improve/drafts-and-versions"}]},{"group":"Workflows","pages":[{"title":"Workflows","sidebarTitle":"Overview","href":"/documentation/build-agents/workflows/overview"},{"title":"Build a workflow","sidebarTitle":"Build a workflow","href":"/documentation/build-agents/workflows/build-a-workflow"},{"title":"Test and publish a workflow","sidebarTitle":"Test and publish","href":"/documentation/build-agents/workflows/test-and-publish"},{"title":"Workflow block reference","sidebarTitle":"Block reference","description":"Every Ringg AI workflow block and its settings: Agent in call or chat mode (WhatsApp, SMS, email), Conditional, Await and Action, with what each passes to later steps.","href":"/documentation/build-agents/workflows/block-reference"}]}]},{"group":"Inventory","icon":"package","pages":[{"title":"Knowledge base","sidebarTitle":"Knowledge base","href":"/documentation/inventory/knowledge-base"},{"group":"Tools (integrations)","pages":[{"title":"Connect an app","sidebarTitle":"Connect an app","description":"Connect Google Sheets, Slack, calendars and other apps on the Ringg AI Tools page once per workspace, then give any agent an Integration tool on that account.","href":"/documentation/inventory/tools-integrations/connect-an-app"},{"title":"Connect WhatsApp","sidebarTitle":"Connect WhatsApp","tag":"NEW","href":"/documentation/inventory/tools-integrations/connect-whatsapp"}]},{"group":"Phone numbers","pages":[{"title":"Phone numbers","sidebarTitle":"Overview","href":"/documentation/inventory/phone-numbers/overview"},{"title":"Buy or import a number","sidebarTitle":"Buy or import a number","href":"/documentation/inventory/phone-numbers/buy-or-import-a-number"},{"group":"Your own telephony","pages":[{"title":"Bring your own telephony","sidebarTitle":"BYOT overview","href":"/documentation/inventory/phone-numbers/your-own-telephony/byot-overview"},{"title":"SIP trunking","sidebarTitle":"SIP trunking","href":"/documentation/inventory/phone-numbers/your-own-telephony/sip-trunking"},{"title":"Plivo","sidebarTitle":"Plivo","href":"/documentation/inventory/phone-numbers/your-own-telephony/plivo"},{"title":"Exotel","sidebarTitle":"Exotel","href":"/documentation/inventory/phone-numbers/your-own-telephony/exotel"},{"title":"Twilio","sidebarTitle":"Twilio","href":"/documentation/inventory/phone-numbers/your-own-telephony/twilio"},{"title":"Telnyx","sidebarTitle":"Telnyx","href":"/documentation/inventory/phone-numbers/your-own-telephony/telnyx"},{"title":"InTalk","sidebarTitle":"InTalk","href":"/documentation/inventory/phone-numbers/your-own-telephony/intalk"},{"title":"Ameyo","sidebarTitle":"Ameyo","href":"/documentation/inventory/phone-numbers/your-own-telephony/ameyo"},{"title":"Ozonetel","sidebarTitle":"Ozonetel","href":"/documentation/inventory/phone-numbers/your-own-telephony/ozonetel"},{"title":"New provider requirements","sidebarTitle":"New provider requirements","href":"/documentation/inventory/phone-numbers/your-own-telephony/new-provider-requirements"}]},{"title":"Number pools","sidebarTitle":"Number pools","href":"/documentation/inventory/phone-numbers/number-pools"},{"title":"Inbound agent number","sidebarTitle":"Inbound agent number","href":"/documentation/inventory/phone-numbers/inbound-agent-number"}]}]},{"group":"Deploy","icon":"rocket","pages":[{"group":"Campaigns","pages":[{"title":"Campaigns","sidebarTitle":"Overview","href":"/documentation/deploy/campaigns/overview"},{"title":"Create a campaign","sidebarTitle":"Create a campaign","href":"/documentation/deploy/campaigns/create-a-campaign"},{"title":"Workflow campaign","sidebarTitle":"Workflow campaign","href":"/documentation/deploy/campaigns/workflow-campaign"},{"title":"Campaigns by API","sidebarTitle":"Campaigns by API","href":"/documentation/deploy/campaigns/campaigns-by-api"},{"title":"Calling list","sidebarTitle":"Calling list","href":"/documentation/deploy/campaigns/calling-list"},{"title":"Manage a campaign","sidebarTitle":"Manage a campaign","href":"/documentation/deploy/campaigns/manage-a-campaign"}]},{"group":"Web and apps","pages":[{"group":"Web widget","pages":[{"title":"Web widget","sidebarTitle":"Overview","href":"/documentation/deploy/web-and-apps/web-widget/overview"},{"title":"Web widget configuration","sidebarTitle":"Configuration","href":"/documentation/deploy/web-and-apps/web-widget/configuration"},{"title":"Web widget events","sidebarTitle":"Events","href":"/documentation/deploy/web-and-apps/web-widget/events"},{"title":"Chat mode","sidebarTitle":"Chat mode","href":"/documentation/deploy/web-and-apps/web-widget/chat-mode"},{"title":"Chat components","sidebarTitle":"Components","href":"/documentation/deploy/web-and-apps/web-widget/components"},{"title":"Chat component data","sidebarTitle":"Data","href":"/documentation/deploy/web-and-apps/web-widget/data"},{"title":"Chat component recipes","sidebarTitle":"Recipes","href":"/documentation/deploy/web-and-apps/web-widget/recipes"},{"title":"Web widget styling","sidebarTitle":"Styling","href":"/documentation/deploy/web-and-apps/web-widget/styling"},{"title":"Web widget launch checklist","sidebarTitle":"Launch checklist","href":"/documentation/deploy/web-and-apps/web-widget/launch-checklist"}]},{"group":"Mobile apps","pages":[{"title":"Mobile app install","sidebarTitle":"Install","href":"/documentation/deploy/web-and-apps/mobile-apps/install"},{"title":"Mobile widget configuration","sidebarTitle":"Configuration","href":"/documentation/deploy/web-and-apps/mobile-apps/configuration"},{"title":"Mobile widget events","sidebarTitle":"Events","href":"/documentation/deploy/web-and-apps/mobile-apps/events"}]}]},{"group":"WhatsApp","tag":"NEW","pages":[{"title":"Start a conversation","sidebarTitle":"Start a conversation","href":"/documentation/deploy/whatsapp/start-a-conversation"},{"title":"WhatsApp Relay","sidebarTitle":"Relay overview","href":"/documentation/deploy/whatsapp/relay-overview"},{"title":"WhatsApp Relay integration guide","sidebarTitle":"Relay integration guide","href":"/documentation/deploy/whatsapp/relay-integration-guide"},{"title":"WhatsApp Relay troubleshooting","sidebarTitle":"Relay troubleshooting","href":"/documentation/deploy/whatsapp/relay-troubleshooting"}]}]},{"group":"Monitor","icon":"chart-line","pages":[{"title":"Logs","sidebarTitle":"Logs","href":"/documentation/monitor/logs"},{"title":"Analytics","sidebarTitle":"Analytics","href":"/documentation/monitor/analytics"},{"title":"Evals","sidebarTitle":"Evals","href":"/documentation/monitor/evals"},{"title":"Alerts","sidebarTitle":"Alerts","href":"/documentation/monitor/alerts"}]},{"group":"Manage account","icon":"settings","pages":[{"title":"Members","sidebarTitle":"Members","href":"/documentation/manage-account/members"},{"title":"API key","sidebarTitle":"API key","href":"/documentation/manage-account/api-key"},{"title":"Billing","sidebarTitle":"Billing","href":"/documentation/manage-account/billing"},{"title":"Call limits","sidebarTitle":"Call limits","href":"/documentation/manage-account/call-limits"},{"group":"Ringg Spaces","pages":[{"title":"Ringg Spaces","sidebarTitle":"Overview","href":"/documentation/manage-account/ringg-spaces/overview"},{"title":"Create and manage Ringg Spaces","sidebarTitle":"Create and manage","href":"/documentation/manage-account/ringg-spaces/create-and-manage"},{"title":"Ringg Spaces by API","sidebarTitle":"Ringg Spaces by API","href":"/documentation/manage-account/ringg-spaces/ringg-spaces-by-api"}]}]},{"group":"Ringg Labs","icon":"flask-conical","pages":[{"group":"Parrot STT","pages":[{"title":"Parrot STT Python SDK","sidebarTitle":"Python SDK","href":"/documentation/ringg-labs/parrot-stt/python-sdk"},{"title":"Parrot STT on TrueFoundry","sidebarTitle":"TrueFoundry","href":"/documentation/ringg-labs/parrot-stt/truefoundry"}]}]}]},{"tab":"Analytics platform","pages":[{"title":"Analytics platform","href":"/analytics-platform/introduction"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction/quickstart"}]},{"tab":"Resources","menu":[{"item":"MCP server","description":"Let Claude, ChatGPT or Cursor work in your workspace, or search these docs","pages":[{"title":"MCP server","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]},{"item":"Learn","description":"Lessons that build a payment-reminder system end to end","pages":[{"title":"Learn","href":"/resources/learn/all-lessons"}]},{"item":"Security","description":"How Ringg protects your data, and what to do on your side","pages":[{"title":"Security","href":"/resources/security/security"}]},{"item":"Changelog","description":"New features, API changes and new guides","pages":[{"title":"Changelog","href":"/resources/changelog/changelog"}]}],"pages":[{"title":"Resources","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]}]},"basePath":"","title":"Create and manage a knowledge base for your agents","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BXrZabKK.js","DynamicMarkdown-CtasenyM.js","zoom-image-lightbox-C5F0mVLH.js","lightbox-handle-r17bVUz3.js"]}