Attributes
Members list
Type members
Classlikes
Extension method to build from config.
Extension method to build from config.
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Value members
Concrete methods
Build a RAG pipeline from configuration.
Build a RAG pipeline from configuration.
config.embeddingProvider is resolved through the given org.llm4s.llmconnect.spi.ProviderRegistry - by default every provider on the classpath - so an embedding provider that ships in its own module is usable here with nothing in llm4s-rag edited, and one that is absent fails with the registry's "not registered" error.
Value parameters
- resolveEmbeddingProvider
-
supplies the provider config for the resolved, canonical embedding provider id - typically from
Llm4sConfig.embeddings().
Attributes
Create a RAG builder with default configuration.
Create a RAG builder with default configuration.
The result is a RAGConfig, not a RAG: turn it into one with .build, which is an extension supplied by RAGConfigOps and is not found unless import org.llm4s.rag.RAG.RAGConfigOps is in scope. build also needs a ModelRegistryService given (ProviderRegistry.default is a given already), and it takes only a using clause, so it is written .build, not .build().
Attributes
Implicits
Implicits
Extension method to build from config.
Extension method to build from config.