LLMAgentRoutingSpecsResolver

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

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.