Package ai.tock.bot.admin.service
Object RAGService
-
- All Implemented Interfaces:
public class RAGServiceService that manage the retrieval augmented generation (RAG) with Large Language Model (LLM) functionality
-
-
Field Summary
Fields Modifier and Type Field Description public final static RAGServiceINSTANCE
-
Method Summary
Modifier and Type Method Description final BotRAGConfigurationgetRAGConfiguration(String namespace, String botId)Get the RAG configuration final BotRAGConfigurationsaveRag(BotRAGConfigurationDTO ragConfig)Save RAG configuration and filter errors -
-
Method Detail
-
getRAGConfiguration
final BotRAGConfiguration getRAGConfiguration(String namespace, String botId)
Get the RAG configuration
-
saveRag
final BotRAGConfiguration saveRag(BotRAGConfigurationDTO ragConfig)
Save RAG configuration and filter errors
- Parameters:
ragConfig- : the rag configuration to create or update
-
-
-
-