Package rocks.imsofa.ai.puppychatter.rag
Class SimpleRagHandler
java.lang.Object
rocks.imsofa.ai.puppychatter.rag.AbstractTextRagHandler
rocks.imsofa.ai.puppychatter.rag.SimpleRagHandler
- All Implemented Interfaces:
RagHandler
a simple rag handler that just return a predefined list of chunks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChunks(String sessionId, PromptParameters parameters, List<Conversation> messages) Methods inherited from class rocks.imsofa.ai.puppychatter.rag.AbstractTextRagHandler
transformLastPrompt
-
Constructor Details
-
SimpleRagHandler
-
-
Method Details
-
getChunks
public List<Chunk> getChunks(String sessionId, PromptParameters parameters, List<Conversation> messages) throws Exception - Throws:
Exception
-