simpleOpenAIExecutor

Creates a SingleLLMPromptExecutor instance configured to use the OpenAI client.

This method simplifies the setup process by creating an OpenAILLMClient with the provided API token and wrapping it in a SingleLLMPromptExecutor to allow prompt execution with the OpenAI service.

Return

A new instance of SingleLLMPromptExecutor configured with the OpenAILLMClient.

Parameters

apiToken

The API token used for authentication with the OpenAI API.