Class Tool

java.lang.Object
dev.langchain4j.model.zhipu.chat.Tool

public final class Tool extends Object
  • Constructor Details

  • Method Details

    • from

      public static Tool from(Function function)
    • getType

      public ToolType getType()
    • setType

      public void setType(ToolType type)
    • getFunction

      public Function getFunction()
    • setFunction

      public void setFunction(Function function)
    • getRetrieval

      public Retrieval getRetrieval()
    • setRetrieval

      public void setRetrieval(Retrieval retrieval)
    • getWebSearch

      public WebSearch getWebSearch()
    • setWebSearch

      public void setWebSearch(WebSearch webSearch)