RAGApplication methods
π addLoader
The addLoader()
method is used to load the data sources from different data sources to a RAG pipeline. You can find the signature below:
Parameters
loaderParam
string
requiredThe data to embed, can be a URL, local file or raw content, depending on the data type.. You can find the full list of supported data sources here.
Usage
Load data from webpage
Code example
Load data from sitemap
Code example
You can find complete list of supported data sources here.
Was this page helpful?