Object RAGService

  • All Implemented Interfaces:

    
    public class RAGService
    
                        

    Service that manage the retrieval augmented generation (RAG) with Large Language Model (LLM) functionality

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static RAGService INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final BotRAGConfiguration getRAGConfiguration(String namespace, String botId) Get the RAG configuration
      final BotRAGConfiguration saveRag(BotRAGConfigurationDTO ragConfig) Save RAG configuration and filter errors
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • saveRag

         final BotRAGConfiguration saveRag(BotRAGConfigurationDTO ragConfig)

        Save RAG configuration and filter errors

        Parameters:
        ragConfig - : the rag configuration to create or update