Upload your knowledge base
- Go to Automations > AI Agents
- Click on Add data source and add your first data source

Supported knowledge sources
URLs
You can add multiple URLs to Rasayel. The URLs must be publicly accessible. Follow these steps:- Click on “Add”
- Fill in the URL to your data source
- Add as many URLs as you need
- Click on “Create”
Sitemaps
If your website has an XML sitemap, you can provide the sitemap URL to Rasayel, and Rasayel will automatically ingest all URLs present in the sitemap- Click on “Sitemap”
- Fill in the Sitemap URL
- Click on “Create”
Files
Rasayel also supports ingesting files as data sources. We support a variety of file types:- Markdown:
md
- Word Documents:
doc
,docx
- Excel sheets:
csv
,xlsx
- Text:
txt
- PDF:
pdf
- Click on **“Files” **
- Click on “Click or drag files to upload”
- Select the files you want to upload
- Allow some time for the files to finish uploading
- Click on “Create”
URL Scraping
You can provide the entry point to your knowledge base/documentation to Rasayel and we will scrape all the sub-websites for you. URL Scraping will recursively scrape websites from the provided URL up to a depth of 3. **Note: **URL Scraping will not scrape any websites that lie outside of the provided domain, so make sure you provide the main entry point to your help center as the URL. For example: if you providehttps://example.com/help-center
to URL Scraping
then the following website will be scraped https://example.com/help-center/article
The following website will not be scraped https://example.com/different-help-center
To scrape a website:
- Click on “URL Scraping”
- Fill in the URL Scraping entry point
- Click on “Create”
Inspect your knowledge base
Once you add your knowledge source, it will be listed on the page in a **“Training” **state


Token limits
Each data source that you add consumes LLM tokens to train, therefore, it can become expensive for Rasayel to maintain your data sources indefinitely. For this reason, Rasayel imposes a limit of 10 million tokens/month for each workspace. The amount of tokens consumed by a data source depends on how big the source is. You can find the current limit consumption on the bottom left of your data sources screen.Retraining websites
Naturally, your help center websites may change with time, at which case, you will be able to “Retrain” your data sources. Simply, click on “Retrain” next to the updated data source. If you Retrain a Sitemap or a URL Scraping data source, it will also retrain all sub-URLs under it. Beware of token limits: Every data source that you ingest consumes LLM tokens. Retraining data sources also count towards your token limit. So, be careful not to exhaust your token limit by retraining huge data sources.Deleting data sources
If a data source is no longer relevant to your AI Assistant, you can delete it by clicking “Delete”Test your knowledge
After adding your data sources, a good next step is to test the AI Assistant to see how it works with your data. This will help you identify missing knowledge from your knowledge base, allowing you to improve your knowledge incrementally. You can start testing your AI Assistant Knowledge by clicking on “Test my AI”, under which, a test screen will pop up, prompting you to chat with your AI Assistant.
Setting Up Your AI Assistant
The AI Assistant can be set up as part of any Chatbot flow. Within the right sidebar of the Chatbot Builder, you will find the Support AI node.
Quick Start
Having the AI Assistant as a Chatbot node, allows you to create all kinds of automations that fit your workflow. But if you are unsure and want to get started quickly, here is how a very basic AI Assistant Chatbot setup can be:
Failure Handovers
For queries you prefer not to be handled by the AI Assistant, you can add those queries as ‘failure handovers’. Failure handovers are scenarios that the AI will not handle if they occur. For example, you may not want the AI Assistant to handle any Sales or Billing related conversations, and instead, hand them to the corresponding team.
- Name: Sales or Billing
- Description: When the contact asks any questions about sales or has a problem with billing