DefaultMultiLLMPromptExecutor
class DefaultMultiLLMPromptExecutor(openAIClient: OpenAILLMClient, anthropicClient: AnthropicLLMClient, googleClient: GoogleLLMClient) : MultiLLMPromptExecutor(source)
Implementation of MultiLLMPromptExecutor that supports OpenAI, Anthropic, and Google providers.
Parameters
openAIClient
The OpenAI client
anthropicClient
The Anthropic client
googleClient
The Google client
Constructors
Link copied to clipboard
constructor(openAIClient: OpenAILLMClient, anthropicClient: AnthropicLLMClient, googleClient: GoogleLLMClient)
Functions
Link copied to clipboard
open suspend override fun execute(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): List<Message.Response>
Link copied to clipboard
open suspend override fun executeMultipleChoices(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): List<LLMChoice>
Link copied to clipboard
Link copied to clipboard