Uses of Class
com.hw.langchain.agents.toolkits.spark.sql.toolkit.SparkSqlToolkit
-
Uses of SparkSqlToolkit in com.hw.langchain.agents.toolkits.spark.sql.base
Modifier and TypeMethodDescriptionstatic AgentExecutor
SparkSqlAgent.createSparkSqlAgent
(BaseLanguageModel llm, SparkSqlToolkit toolkit) Construct a Spark SQL agent from an LLM and tools.static AgentExecutor
SparkSqlAgent.createSparkSqlAgent
(BaseLanguageModel llm, SparkSqlToolkit toolkit, String prefix, String suffix, String formatInstructions, List<String> inputVariables, int topK, Integer maxIterations, Float maxExecutionTime, String earlyStoppingMethod) Construct a Spark SQL agent from an LLM and tools.