LLMAgent Routing Specs Resolver
constructor(agentRoutingSpecsProvider: AgentRoutingSpecsProvider, modelPromptProvider: ModelPromptProvider = DefaultModelPromptProvider(), modelClient: ModelClient = DefaultModelClient(
DefaultModelClientProperties(
openAiApiKey =
System.getenv(
"OPENAI_API_KEY",
),
),
), serializer: Json = Json {
ignoreUnknownKeys = true
isLenient = true
})
Parameters
agent Routing Specs Provider
The provider of agent routing specifications.
model Prompt Provider
The provider of model prompts.
model Client
The client for the language model.
serializer
The JSON serializer.