Class DualShotRagServiceSearchTools

  • All Implemented Interfaces:

    
    public final class DualShotRagServiceSearchTools
    
                        

    Expose a RagService as tools. Once the tools instance is created, options such as similarity cutoff are immutable and will be used consistently in all calls. The LLM needs to provide only the search query.

    • Method Detail

      • search

        @Tool(description = "Search for information relating to this query. Returns summary results") final String search(@ToolParam(description = "Standalone query to search for. Include sufficient context") String query)
      • searchDetails

        @Tool(description = "Drill deep into the details of the last search result") final String searchDetails(@ToolParam(description = "Standalone query to search for. Include sufficient context") String query)