Package com.embabel.agent.rag
Interface RagService
-
- All Implemented Interfaces:
-
com.embabel.common.core.types.Described,com.embabel.common.core.types.HasInfoString
public interface RagService implements Described, HasInfoStringCentral interface for Retrieval-Augmented Generation (RAG) services. Returns entities as well as text chunks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRagService.Companion
-
Method Summary
Modifier and Type Method Description abstract RagResponsesearch(RagRequest ragRequest)Make a RAG request abstract StringgetName()Name of the RAG service. -
Methods inherited from class com.embabel.common.core.types.HasInfoString
infoString -
Methods inherited from class com.embabel.common.core.types.Described
getDescription -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
search
abstract RagResponse search(RagRequest ragRequest)
Make a RAG request
-
-
-
-