ArcAutoConfiguration

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean(value = [AgentFactory::class])
fun agentFactory(beanProvider: BeanProvider): ChatAgentFactory
Link copied to clipboard
@Bean
fun agentLoader(agentFactory: AgentFactory<*>): Agents
Link copied to clipboard
@Bean
@ConditionalOnMissingBean(value = [AgentProvider::class])
fun agentProvider(loaders: List<AgentLoader>, agents: List<Agent<*, *>>): AgentProvider
Link copied to clipboard
@Bean
fun agentScriptEngine(): AgentScriptEngine
Link copied to clipboard
@Bean
@ConditionalOnMissingBean(value = [BeanProvider::class])
fun beanProvider(beanFactory: ConfigurableBeanFactory): BeanProvider
Link copied to clipboard
@Bean
fun eventPublisher(eventHandlers: List<EventHandler<*>>): BasicEventPublisher
Link copied to clipboard
@Bean
fun functionLoader(beanProvider: BeanProvider): Functions
Link copied to clipboard
@Bean
fun functionScriptEngine(): FunctionScriptEngine
Link copied to clipboard
@Bean
fun llmFunctionProvider(loaders: List<LLMFunctionLoader>, functions: List<LLMFunction>): LLMFunctionProvider
Link copied to clipboard
@Bean
fun loggingEventHandler(): LoggingEventHandler
Link copied to clipboard
@Bean
@ConditionalOnMissingBean(value = [Memory::class])
fun memory(): InMemoryMemory
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["arc.scripts.hotReload.enable"], havingValue = "true")
fun scriptHotReload(@Value(value = "${arc.scripts.folder:/agents}") agentsFolders: List<File>, @Value(value = "${arc.scripts.hotReload.delay:PT3M}") hotReloadDelay: Duration, agentLoader: ScriptingAgentLoader, functionLoader: ScriptingLLMFunctionLoader): ScriptHotReload
Link copied to clipboard
@Bean
fun scriptingAgentLoader(agentScriptEngine: AgentScriptEngine, agentFactory: AgentFactory<*>, compiledAgents: List<CompiledAgentLoader>?, @Value(value = "${arc.scripts.folder:/agents}") agentsFolder: File, eventPublisher: EventPublisher): ScriptingAgentLoader
Link copied to clipboard
@Bean
fun scriptingLLMFunctionProvider(functionScriptEngine: FunctionScriptEngine, beanProvider: BeanProvider, @Value(value = "${arc.scripts.folder:/agents}") agentsFolder: File, eventPublisher: EventPublisher): ScriptingLLMFunctionLoader
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["arc.router.enable"], havingValue = "true")
fun semanticRouter(@Value(value = "${arc.router.model}") model: String, textEmbedderProvider: TextEmbedderProvider, agentProvider: AgentProvider, initialRoutes: SemanticRoutes? = null, eventPublisher: EventPublisher): SemanticRouter