Porting example OpenAI request node over from here. Includes several improvements to the HTTP client library, such as adding headers and more robust POST request support.
To run this example, you must set the OPENAI_API_KEY env variable to your OpenAI API ket, and the OPENAI_IMG_PATH variable to where your test image resides you want to test (in this case we're asking about a wood table)
Porting example OpenAI request node over from here. Includes several improvements to the HTTP client library, such as adding headers and more robust POST request support.
To run this example, you must set the
OPENAI_API_KEY
env variable to your OpenAI API ket, and theOPENAI_IMG_PATH
variable to where your test image resides you want to test (in this case we're asking about a wood table)