Welcome to the OpenAI API Integration repository! This guide shows you how to use the OpenAI API with Python and Node.js, featuring example scripts and detailed instructions to kickstart your journey with OpenAI's powerful language models.
-
- Example script to use OpenAI API with Python
-
- Example script to use OpenAI API with Node.js
- An OpenAI API key from OpenAI
- Python 3.x for Python examples
- Node.js for JavaScript examples
-
Clone the repository:
git clone https://github.com/chiragjoshi12/openai.git cd openai/Python
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Clone the repository:
git clone https://github.com/chiragjoshi12/openai.git cd openai/JS
-
Install the required packages:
npm install
Contributions are welcome! Feel free to submit issues or pull requests to enhance this project.
Happy coding with OpenAI! 🧑💻
Readme made with 💖 using README Generator by Chirag Joshi