JohannLai/openai-function-calling-nodejs
This is a simple example of using OpenAI's API to call a function in Nodejs. The function is a simple calculator that takes two numbers and an operator and returns the result. The function is called using the OpenAI API and the result is returned to the user.
JavaScript