Integrating OpenAI Assistant into Your Node.js Project This code sets up a basic web server with Express, integrates OpenAI's API, and provides endpoints to create and interact with an AI assistant. It's important to add the actual OPENAI_API_KEY to the .env file.
How to run :
- clone the repository
- add the .env file with your OPENAI_API_KEY = "sk_11111111111"
- install npm packages: npm i
- run the application: npm run test