Skip to main content
Create a RAG pipeline object on Embedchain. This is the main entrypoint for a developer to interact with Embedchain APIs. A pipeline configures the llm, vector database, embedding model, and retrieval strategy of your choice.

Attributes

str
Pipeline ID
str
Name of the pipeline
BaseConfig
Configuration of the pipeline
BaseLlm
Configured LLM for the RAG pipeline
BaseVectorDB
Configured vector database for the RAG pipeline
BaseEmbedder
Configured embedding model for the RAG pipeline
ChunkerConfig
Chunker configuration
Client
Client object (used to deploy a pipeline to Embedchain platform)
logging.Logger
Logger object

Usage

You can create an embedchain pipeline instance using the following methods:

Default setting

Code Example

Python Dict

Code Example

YAML Config

JSON Config