A SIMPLE DAD JOKES GENERATOR USING OPEN AI API
Dad Jokes Generator This repository contains a Python script that generates dad jokes using the OpenAI GPT-3 API.
Getting Started: These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
"IM USING JUPYTER NOTEBOOK TO RUN THE CODE"
Prerequisites:
- You will need an OpenAI API key to use the GPT-3 API. You can get a free API key from the OpenAI website (https://openai.com/).
- Python 3.6 or later version
- openai
To install open ai run the command: '!pip install openai'
Step by step to create or get API KEY: 1.Go to the OpenAI website (https://openai.com/) and click on the "Get API Key" button in the top right corner.
2.Sign up for an OpenAI account by providing your email address and creating a password.
3.Once you have signed up, you will be taken to your API key management page. Here, you can create a new API key by clicking on the "Create API Key" button.
4.Give your key a name and select the scopes you want to use (for example, GPT-3).
5.Click on the "Create" button to create the key.
6.The key will be displayed on the screen and can also be found on the API key management page.
"It is important to keep your API key secure and not share it with anyone."
Built With
1.Python
2.OpenAI
Author
Barani - BaraniVA
Acknowledgments
Inspiration from OpenAI