Class WebSearchTool

java.lang.Object
dev.langchain4j.adaptiverag.WebSearchTool
All Implemented Interfaces:
Function<String,List<dev.langchain4j.rag.content.Content>>

public class WebSearchTool extends Object implements Function<String,List<dev.langchain4j.rag.content.Content>>
  • Constructor Details

    • WebSearchTool

      public WebSearchTool()
  • Method Details

    • apply

      public List<dev.langchain4j.rag.content.Content> apply(String query)
      Specified by:
      apply in interface Function<String,List<dev.langchain4j.rag.content.Content>>