MultiLLMPromptExecutor
Initializes a new instance of the MultiLLMPromptExecutor
class with multiple LLM clients.
Allows specifying a variable number of client-provider pairs, where each pair links a specific LLMProvider
with a corresponding implementation of LLMClient
. All provided pairs are internally converted into a map for efficient access and management of clients by their associated providers.
Parameters
Variable number of pairs, where each pair consists of an LLMProvider
representing the provider and a LLMClient
for communication with that provider.
Constructs an executor instance with a map of LLM providers associated with their respective clients.
Parameters
A map containing LLM providers associated with their respective LLMClients.
Optional settings to configure the fallback mechanism in case a specific provider is not directly available.