Embedchain is a RAG framework to create data pipelines. It loads, indexes, retrieves and syncs all the data. It is available as an open source package and as a hosted platform solution.This notebook shows how to use a retriever that uses
Embedchain.
Installation
First you will need to install theembedchain package.
You can install the package by running
Create New Retriever
EmbedchainRetriever has a static .create() factory method that takes the following arguments:
yaml_path: stringoptional — Path to the YAML configuration file. If not provided, a default configuration is used. You can browse the docs to explore various customization options.
Add Data
In embedchain, you can as many supported data types as possible. You can browse our docs to see the data types supported. Embedchain automatically deduces the types of the data. So you can add a string, URL or local file path.Use Retriever
You can now use the retrieve to find relevant documents given a queryConnect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.