๐ add
add()
method is used to load the data sources from different data sources to a RAG pipeline. You can find the signature below:
Parameters
The 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.
Type of data source. It can be automatically detected but user can force what data type to load as.
Any metadata that you want to store with the data source. Metadata is generally really useful for doing metadata filtering on top of semantic search to yield faster search and better results.
This parameter instructs Embedchain to retrieve all the context and information from the specified link, as well as from any reference links on the page.
Usage
Load data from webpage
Load data from sitemap
You can find complete list of supported data sources here.