RAGApplication
using RAGApplicationBuilder
. RAGApplication
is the main entrypoint for a developer to interact with EmbedJs APIs.
RAGApplicationBuilder
configures the LLM, vector database and embedding model of your choice and return a RAGApplication
at the end.
NO_MODEL
will not load any LLM - in this case, you can only use semantic search and there will be no no LLM powered Q&A.
SIMPLE_MODELS
are predefined models with sane defaults available in EmbedJs.
All predefined models inherit from BaseModel
. You can therefore pass a custom model that extends BaseModel
/ provide a custom set of parameters for a predefined model.
For a list of predefined LLMs, refer the section on LLMs.