Closed YaWK closed 4 months ago
Added JSON API interaction in PHP: Set up API communication via cURL for OpenAI completions. The script includes JSON handling (encode/decode), dynamic token and temperature settings, and error handling for cURL and JSON processing. Uses YAWK settings for API configuration.
Will be called by the JS code within: includes/page-edit.php
done.
Add Class that serves methods to communicate with the API and return results.