feat: add SitemapLoader (#68)

This commit is contained in:
aaishikdutta
2023-07-12 12:13:30 +05:30
committed by GitHub
parent 6fbf45498a
commit d2e8f796ca
6 changed files with 37 additions and 1 deletions

View File

@@ -294,6 +294,13 @@ To supply your own QnA pair, use the data_type as `qna_pair` and enter a tuple.
```python
app.add_local('qna_pair', ("Question", "Answer"))
```
### Sitemap
To add a XML site map containing list of all urls, use the data_type as `sitemap` and enter the sitemap url. Eg:
```python
app.add('sitemap', 'a_valid_sitemap_url/sitemap.xml')
```
### Reusing a Vector DB