LLMAgentRoutingSpecsResolver

constructor(agentRoutingSpecsProvider: AgentRoutingSpecsProvider, modelPromptProvider: ModelPromptProvider = DefaultModelPromptProvider(), modelClient: ModelClient = DefaultModelClient( DefaultModelClientProperties( openAiApiKey = System.getenv( "OPENAI_API_KEY", ), ), ), serializer: Json = Json { ignoreUnknownKeys = true isLenient = true }, modelClientResponseProcessor: ModelClientResponseProcessor = DefaultModelClientResponseProcessor())

Parameters

agentRoutingSpecsProvider

The provider of agent routing specifications.

modelPromptProvider

The provider of model prompts.

modelClient

The client for the language model.

serializer

The JSON serializer.

modelClientResponseProcessor

The processor for the model client response.