Llm4sAutoConfiguration

org.llm4s.spring.Llm4sAutoConfiguration
See theLlm4sAutoConfiguration companion object
@AutoConfiguration(value = _, before = _, beforeName = _, after = _, afterName = _) @Configuration(value = _, proxyBeanMethods = _, enforceUniqueMethods = _) @ConditionalOnClass(value = _, name = scala.Array.apply[java.lang.String]("org.llm4s.javaapi.Llm4s$")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String]))) @ConditionalOnProperty(value = _, prefix = "llm4s", name = scala.Array.apply[java.lang.String]("enabled")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])), havingValue = "true", matchIfMissing = true) @EnableConfigurationProperties(value = scala.Array.apply[java.lang.Class[_ >: scala.Nothing <: . ]](scala.Predef.classOf[org.llm4s.spring.Llm4sProperties])(scala.reflect.ClassTag.apply[java.lang.Class[_ >: scala.Nothing <: . ]](classOf[java.lang.Class])))

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

@Bean(value = _, name = _, autowireCandidate = _, initMethod = _, destroyMethod = _) @ConditionalOnMissingBean(value = _, type = _, ignored = _, ignoredType = _, annotation = _, name = _, search = _, parameterizedContainer = _) @ConditionalOnProperty(value = _, prefix = "llm4s.agent", name = scala.Array.apply[java.lang.String]("enabled")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])), havingValue = "true", matchIfMissing = true)
def llm4sAgent(client: JLlmClient, tools: Llm4sTools, properties: Llm4sProperties, @Qualifier(value = org.llm4s.spring.Llm4sExecutors.BeanName) executor: ExecutorService): JAgent

An agent over the client and the collected tools, configured by llm4s.agent.* (#2279), its runAsync calls on the llm4sTaskExecutor. A bean of type JAgent replaces it; llm4s.agent.enabled=false registers none.

An agent over the client and the collected tools, configured by llm4s.agent.* (#2279), its runAsync calls on the llm4sTaskExecutor. A bean of type JAgent replaces it; llm4s.agent.enabled=false registers none.

Attributes

@Bean(value = _, name = _, autowireCandidate = _, initMethod = _, destroyMethod = _) @ConditionalOnMissingBean(value = _, type = _, ignored = _, ignoredType = _, annotation = _, name = _, search = _, parameterizedContainer = _)
def llm4sClient(properties: Llm4sProperties, environment: ConfigurableEnvironment, metrics: ObjectProvider[MetricsCollector]): JLlmClient

The client, reporting its calls to every MetricsCollector bean in the context: the Micrometer one LlmMetricsAutoConfiguration registers, any of the application's own, or none.

The client, reporting its calls to every MetricsCollector bean in the context: the Micrometer one LlmMetricsAutoConfiguration registers, any of the application's own, or none.

Attributes

@Bean(value = _, name = _, autowireCandidate = _, initMethod = _, destroyMethod = "shutdownNow") @ConditionalOnMissingBean(value = _, type = _, ignored = _, ignoredType = _, annotation = _, name = scala.Array.apply[java.lang.String](org.llm4s.spring.Llm4sExecutors.BeanName)(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])), search = _, parameterizedContainer = _)
def llm4sTaskExecutor(properties: Llm4sProperties): ExecutorService
@Bean(value = _, name = _, autowireCandidate = _, initMethod = _, destroyMethod = _) @ConditionalOnMissingBean(value = _, type = _, ignored = _, ignoredType = _, annotation = _, name = _, search = _, parameterizedContainer = _)
def llm4sTemplate(client: JLlmClient, @Qualifier(value = org.llm4s.spring.Llm4sExecutors.BeanName) executor: ExecutorService): LLM4STemplate
@Bean(value = _, name = _, autowireCandidate = _, initMethod = _, destroyMethod = _) @ConditionalOnMissingBean(value = _, type = _, ignored = _, ignoredType = _, annotation = _, name = _, search = _, parameterizedContainer = _)
def llm4sTools(beans: ConfigurableListableBeanFactory): Llm4sTools

The @Tool methods of the application's beans (#2279); a bean of type Llm4sTools replaces them.

The @Tool methods of the application's beans (#2279); a bean of type Llm4sTools replaces them.

Attributes