Package-level declarations
Types
Link copied to clipboard
annotation class ExperimentalRoutingApi
Marks an API as part of the experimental routing and load balancing layer for LLM clients.
Link copied to clipboard
interface LLMClientRouter
Routes requests to available LLM clients.
Link copied to clipboard
open class MultiLLMPromptExecutor @JvmOverloads constructor(llmClients: Map<LLMProvider, LLMClient>, fallback: MultiLLMPromptExecutor.FallbackPromptExecutorSettings? = null) : PromptExecutor
MultiLLMPromptExecutor is a class responsible for executing prompts across multiple Large Language Models (LLMs). This implementation supports direct execution with specific LLM clients or utilizes a fallback strategy if no primary LLM client is available for the requested provider.
Link copied to clipboard
Distributes requests across clients in sequential rotation, ensuring even load distribution.
Link copied to clipboard
open class RoutingLLMPromptExecutor @JvmOverloads constructor(clientRouter: LLMClientRouter, fallback: RoutingLLMPromptExecutor.FallbackPromptExecutorSettings? = null) : PromptExecutor
Executes prompts with load balancing across multiple LLM clients.
Link copied to clipboard
Executes prompts using a direct client for communication with large language model (LLM) providers.