AI Agent Management
Train your AI agent on your website, files, and data
Add websites, documents, text, Q&A pairs and support tickets to train your QwryAI agent, choose what it learns, and keep it in sync
Data sources are the content your QwryAI agent learns from and answers with: website pages, documents, plain text, Q&A pairs, and closed support tickets from Zendesk or Salesforce. You manage them on Build › Data sources. You choose what to add, check the pages or content QwryAI found, and train it. Your agent answers from trained content only.
Which source type should I use?
| You have | Add it as | Why |
|---|---|---|
| A public website or help center | Website, with Crawl website or Sitemap | QwryAI finds the pages for you, and Resync or Auto-resync picks up later changes. |
| Pages that need a login | Website with Website login | QwryAI signs in before it reads the pages. Growth plan and up. |
| A Shopify store | Website, with Sitemap and your /sitemap.xml | Lists your store's pages without crawling duplicates of products and collections. |
| PDFs, manuals or Word documents | Documents | Accepts PDF, DOC, DOCX, TXT and CSV files up to 20 MB each. |
| A policy or note that isn't published anywhere | Plain text | Quick to write and edit in the dashboard. |
| Questions that need one exact, consistent answer, such as pricing | Q&A pairs | Your approved answer, with alternate wordings of the question. |
| Past resolved conversations in Zendesk or Salesforce | Tickets | The agent learns from how your team already solved customer issues. Paid plans. |
The Data sources page
Open Build › Data sources. Under Add a source, a card for each type opens its editor: Website, Documents, Plain text, Q&A pairs and Tickets.
Everything you add appears in the sources list below, with its Name, Type, Status, Pages, Size and Last crawled date. Use these controls to work with the list:
- All, Websites, Files, Text and Q&A filter the list by type, and Search sources… narrows it by name.
- Sort changes the order.
- Tick sources to act on several at once, such as deleting them together.
- Total size shows how much of your plan's training data your sources use, such as 40 MB on the Growth plan.
- The ⋯ button on a row opens its actions, such as Resync and Delete.
How training works
You decide when content trains. A new website lists its pages first, a document is uploaded first, and text and Q&A are saved first; then you select Train. Each source and page shows its own status:
- Queued, Processing or Training while it's being read and trained.
- Trained once the agent uses it.
- Not trained or Changed when there's content the agent doesn't use yet.
- Excluded, Over limit, Not found, Fetch failed or Error when a page or file isn't used, with the reason.
When sources wait to be trained and nothing else is training, Retrain agent appears above the list. It trains every new, changed or failed source in one go, and removes the sources you deleted.
Prepare your content
The agent can only answer as well as the text in its data sources. A few habits make a big difference:
- Add support content. Help articles, product guides and knowledge base pages work best. Leave out marketing pages, product listings, ad-heavy content and pages with complex layouts.
- Give each topic a clear heading. Short paragraphs or lists under a heading per topic are easiest for the agent to use.
- State facts explicitly. Write "Shipping: delivery within 1 to 2 weeks, ships worldwide" rather than "delivery times vary". Vague text leads to vague answers.
- Keep one current version of each fact. If a return policy appears in an old PDF and on your website, update or delete the old copy, so the agent doesn't find two different answers.
- Leave out pages that don't help customers. Skip sections such as
/blogor/careerswith Exclude paths. - Use Q&A for answers that must not vary. Add alternate wordings of the question, so the agent recognizes it however customers ask.
Adding sources
Documents
- Open Documents
Select the Documents card, then click the upload area or drag files into it. QwryAI accepts PDF, DOC, DOCX, TXT and CSV files up to 20 MB each.
Drop files or click to choose them. - Review and train
Each file is read and listed with its Size and Status. Use View content to check the extracted text, untick files you don't want, and select Finish & submit to train the rest.
Plain text
Select Plain text to add content that doesn't belong in a document, such as a policy, a product note or an internal FAQ. Give it a Source title so you can find it, paste the Content (up to 1 MB), and select Process text. On the next screen, select Train.
Website
Select Website to train the agent on web pages. Choose how QwryAI finds them:
- Crawl website. Enter your homepage and QwryAI follows links to find public pages.
- Sitemap. Enter the address of an XML sitemap to list exactly the pages in it.
- Single page. Enter one page; QwryAI reads it and trains it straight away.
Enter the address and select Fetch pages. For a crawl or sitemap, QwryAI lists the pages it finds; nothing trains yet. Untick any page you don't want, then select Train. View limits shows your plan's limits, such as pages per crawl or sitemap and pages across all sources.
Website options
Before you fetch, expand Advanced options under the address to control what QwryAI reads:
- Only include paths reads only pages under the paths you add, such as
/docs. - Exclude paths skips pages under the paths you add, such as
/blog. Each rule matches with Starts with, Ends with, Contains, Exact match or Wildcard. - Slow scraping spreads out requests to avoid overwhelming websites with limited resources.
- Include query parameters treats addresses that differ only by parameters, such as
?page=1, as separate pages. - Scraping location runs scraping from the country you pick, for geo-restricted or localized sites. The default is the United States.
Website login
For pages behind a password, use Website login at the end of Advanced options. It's None by default; choose one method:
- Headers. Add the HTTP headers a signed-in browser sends, usually a
Cookieheader. Values are hidden until you select Show value. - Login steps. Describe the login in plain words. QwryAI follows the steps before it reads the pages.
Example login steps:
Click "Log in", type docs-bot@example.com as the email and the password,
then click "Sign in".Reviewing the pages of a website
Select a website in the sources list to open it. Its header shows how many pages are trained and waiting, with Settings and, while pages wait, a Train button such as Train 1 page. Search pages, turn on Group by folder to group them by path, and change the sort, such as Alphabetical. Once nothing waits to be chosen, pages are split into tabs:
- All: every page QwryAI found.
- Trained: pages the agent learns from.
- Over limit: pages that didn't fit in your plan's training data.
- Discarded: pages QwryAI skipped, such as pages that couldn't be read. Hover a reason for the detail.
- Excluded: pages you excluded. They're not trained and don't count toward your training data.
Excluding and including pages
Tick a page, or tick a folder to select every page in it. Each row also has buttons to re-scrape, view and exclude that page. Then:
- Select Exclude to stop the agent from using those pages.
- In Excluded, select Include and train to bring pages back.
- For a page that failed, select Retry and train.
View content shows the text QwryAI saved for a page, and Re-scrape fetches it again and retrains it.
To skip a whole section on every crawl, such as /blog, add it to Exclude paths in the source's Settings.
Resyncing a website
To read a website again when its content has changed, open the ⋯ menu on its row in the sources list and select Resync. Resync fetches every included page again and retrains it, which replaces any page edits you saved, so QwryAI asks you to confirm.
Source settings
Open a website and select Settings to open Source settings, where you can change the same options as when you added it and turn on Auto-resync. Restart discovery finds pages again with the new options. More actions in the header has Delete source, and Add page once the website is trained.
Q&A pairs
Select Q&A pairs to open Q&A training and teach the agent questions and answers. Use them for questions that need a precise, consistent answer, such as pricing, policies or business-specific details.
- Add a training pair
Under New training pair, enter a Source title, such as "Store policies", the User question, and the Bot answer, which supports formatting. Each answer can be up to 1 MB.
- Add other wordings
Select Add alternate question for other ways customers ask the same thing. Each question must be unique.
- Activate
Select Activate to train new and edited pairs.
To add many pairs at once, download the Template, fill it in, and select Import Excel to import it as an
.xlsxworkbook of up to 1 MB.A question, other wordings and one answer.
Tickets
Select Tickets to train the agent on closed support tickets from Salesforce or Zendesk. You need a paid plan and a connected integration first.
- Pick the platform
Under Platform, choose Salesforce or Zendesk. If it isn't connected yet, QwryAI shows Not connected and a button to connect it from Integrations.
- Turn on syncing
Switch on Sync tickets into your agent.
- Save
The sync starts by itself, and the Tickets row updates when it finishes.
A platform must be connected before it can sync.
Managing sources
Preview and edit
Select a document, text or Q&A source to see its content. Text and Q&A can be edited in the same view; after an edit, select Train (text) or Activate (Q&A) so the agent learns the new version.
Deleting sources
- One source. Select Delete in its row's ⋯ menu. The agent stops using it right away.
- Several at once. Tick the sources, then delete them from the bar that appears.
- Website pages. Exclude a page or folder instead of deleting the whole website.
Deleting is permanent: to undo it, add the source again.
Exporting sources
Tick document or text sources and select Export to download their text: one file as .txt, or several in a .zip. Export all Q&A downloads every Q&A pair in one workbook that you can edit and import again. Websites and tickets can't be exported.
Auto-resync
Documents, text and Q&A only change when you edit them in QwryAI. Websites change on their own, so Auto-resync reads a website again every week and checks for the latest updates.
To turn it on, open the website, select Settings and switch on Auto-resync.
Frequently asked questions
What file types and sizes can I upload?
Documents can be PDF, DOC, DOCX, TXT or CSV, up to 20 MB each. Plain text and each Q&A answer can be up to 1 MB, and a Q&A import workbook up to 1 MB. All sources together count toward your plan's training data, shown as Total size on the Data sources page.
Do I need to retrain my agent after adding or changing a source?
Yes. New and edited content trains when you select Train or Activate in its editor, or Retrain agent on the Data sources page. Until then its status is Not trained or Changed. Trained content goes live without being published.
How often does QwryAI resync my website?
With Auto-resync on, every week. On any plan, select Resync on the website to read it again right away.
Why are some of my website's pages missing or excluded?
Open the website and check its tabs. Discarded lists pages QwryAI skipped, with the reason. Over limit lists pages beyond your plan's training data. Excluded lists pages you excluded. Also check Only include paths and Exclude paths in its Settings.
Can my agent answer in a different language from my data sources?
Yes. Your agent replies in the customer's language, so you can train it on content in one language and answer in another. See Multilingual support.
Can the agent read images, charts or videos in my content?
No. The agent learns from text. Put important information from an image or chart into text, for example in a plain text source.