This is a sample project that demonstrates how to use Next.js to develop an Open AI function calling application.
- 
Clone the repository: git clone https://github.com/goodjun/openai-function-calling-sample.git 
- 
Navigate to the project directory: cd openai-function-calling-sample
- 
Install dependencies: npm install # or yarn install
- 
Set up environment variables: - Create a .env.localfile in the root of the project.
- Add your Open AI API key to the .env.localfile:
 TWELVEDATA_API_KEY=your twelvedata api key OPENAI_API_KEY=your open ai api key
- Create a 
- 
Start the development server: npm run dev # or yarn dev
- 
Open your browser and visit http://localhost:3000to see the application.
Contributions are welcome! If you find any issues or have suggestions for improvements, please create a new issue or submit a pull request.
