Skip to contents

Main function that creates an OpenAI processor and handles the request. This maintains backward compatibility with the existing API.

Usage

process_openai(prompt, model, api_key, base_url = NULL)

process_openai(prompt, model, api_key, base_url = NULL)