Package com.embabel.agent.rag
See: Description
-
Class Summary Class Description AbstractWritableContentElementRepository Convenience base class for WritableRagService implementations. Cluster Cluster of similar things ClusterRetrievalRequest ContextualTool Tool retrieved by a RAG request SimpleEntityData LeafSection Contains content SimpleNamedEntityData DepthExplorationRequest PathsExplorationRequest ContentElementSearch EntitySearch Controls entity search Open to allow specializations TypedEntitySearch CompressionConfig HyDE Hypothetical Document Embedding Used to generate a synthetic document for embedding from the query. RagRequest RAG request. RagResponse Rag response RagResponses can contain results from multiple RAG services. QualityMetrics RAGAS quality metrics RagResponseEnhancement EnhancementEstimate PromptRunnerRagResponseSummarizer RagServiceEnhancerProperties Fact A fact. RagResponseKt -
Interface Summary Interface Description ClusterFinder RetrievableEntity Any retrievable entity, whether mapped or generic. EntityData Generic retrieved entity HierarchicalContentElement ContentElement that exists in a hierarchy, such as a document with sections and subsections. ContentRoot Root of a structured document It must have a non-null URI Section MaterializedSection ContainerSection NamedEntityData Adds a name to the well known entity data. ExplorationRequest NavigableRagService Rag service that supports navigation in a graph of retrievable objects. RetrievalFilters RagRequestRefinement Narrowing of RagRequest RagResponseEnhancer RagResponseFormatter Implemented by classes that can format RagResponse objects into a string for inclusion in tool responses or prompts. RagResponseSummarizer RagService Central interface for Retrieval-Augmented Generation (RAG) services. RagServiceEnhancer Given a RAG service, create an enhanced RAG service for use in a particular operation. Embedded Embedded object instance. Datum Data object instance, whether structural or not. ContentElement Structural content element that may have a parent and children. Embeddable Retrievable A Retrievable object instance is a Datum (normally a chunk or an entity) that can be retrieved by RAG. Source A Source object instance is an input such as a Chunk or a Fact. Sourced Implemented by objects that are from a source. Chunk Traditional RAG. WritableContentElementRepository WritableRagService that also allows us to load and save ContentElements. WritableStore RagService that can accept documents -
Object Summary Object Description Companion SimpleRagResponseFormatter Sensible default RagResponseFormatter Companion Companion -
Enum Summary Enum Description EnhancementType EnhancementRecommendation