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

Attributes

local_id
str
App ID
name
str
Name of the app
config
BaseConfig
Configuration of the app
llm
BaseLlm
Configured LLM for the RAG app
db
BaseVectorDB
Configured vector database for the RAG app
embedding_model
BaseEmbedder
Configured embedding model for the RAG app
chunker
ChunkerConfig
Chunker configuration
client
Client
Client object (used to deploy an app to Embedchain platform)
logger
logging.Logger
Logger object

Usage

You can create an app instance using the following methods:

Default setting

Code Example

Python Dict

Code Example

YAML Config

JSON Config