anthropicExecutor

Creates and initializes a SingleLLMPromptExecutor instance using an AnthropicLLMClient. The executor is configured with a retrying client derived from the provided AnthropicLLMClient.

Return

An instance of SingleLLMPromptExecutor for sending prompts to the Anthropic LLM API.

Parameters

client

An instance of AnthropicLLMClient used to communicate with the Anthropic LLM API.