Llm Decision Services Auto Configuration
Supplies the LlmDecisionServiceFactory bean applications inject, with retry settings bound from embabel.agent.platform.decisions.llm, and registers a decision service bean for each entry under embabel.agent.platform.decisions.llm.services, named after the entry's key.
embabel:
agent:
platform:
decisions:
llm:
max-attempts: 5
services:
triage:
llm: small-chat-model
Content copied to clipboard
Functions
Link copied to clipboard
open fun llmDecisionServiceFactory(llmOperations: LlmOperations, modelProvider: ModelProvider, observationRegistry: ObjectProvider<ObservationRegistry>, retry: LlmDecisionRetryProperties): LlmDecisionServiceFactory
Configured services are built by this bean too, so an application that supplies its own factory changes them as well.
Link copied to clipboard
open fun llmDecisionServicesRegistrar(environment: Environment, beanFactory: BeanFactory): LlmDecisionServicesRegistrar
Static, so Spring creates it before any ordinary bean and the service definitions exist before anything that injects them by name.