Package rocks.imsofa.ai.puppychatter.rag
Class TravilyRagHandler
java.lang.Object
rocks.imsofa.ai.puppychatter.rag.AbstractTextRagHandler
rocks.imsofa.ai.puppychatter.rag.TravilyRagHandler
- All Implemented Interfaces:
RagHandler
a rag handler that use travily to extract chunks from the conversation
-
Constructor Summary
ConstructorsConstructorDescriptionTravilyRagHandler(String travilyAPIKey) TravilyRagHandler(String travilyAPIKey, TravilyRagHandlerCallback callback) -
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
-
TravilyRagHandler
-
TravilyRagHandler
-
-
Method Details
-
getChunks
public List<Chunk> getChunks(String sessionId, PromptParameters parameters, List<Conversation> messages)
-