Package io.micronaut.langchain4j.rag
@NullMarked
package io.micronaut.langchain4j.rag
Retrieval augmented generation (RAG) configured with Micronaut configuration.
- Since:
- 2.4.0
-
ClassesClassDescriptionConfigures a
EmbeddingStoreContentRetrieverthat retrieves the segments of an embedding store relevant to the user message.Configures the ingestion of documents into an embedding store: the documents are loaded from the sources, split into segments, embedded with the embedding model and stored.Configures aDefaultRetrievalAugmentorthat retrieves content from one or more content retrievers and, with a scoring model, re-ranks it.