Basics of Generative AI | Build Your Own ChatGPT

share link

by kandikits dot icon Updated: Aug 17, 2023

technology logo
technology logo

1-Click Kit 1-Click Kit  



ChatGPT is a computer program that can talk like humans. It uses deep learning to generate natural language responses to text-based inputs. It is based on the transformer architecture and has been trained on a massive amount of text data to produce human-like responses to a wide range of queries and conversation topics.

Deployment Information

This repository helps you build your own AI chatbot with chatGPT API & Gradio


Getting the secret key to use OPENAI API

  1. Get your OpenAI API key
  2. Signup on the OpenAI platform if not done
  3. Replace that key in the app.ipynb code
  4. Must keep that api key to highly private and not share with anyone.
  5. If you face any access errors with regards to the ChatGPT kit, please visit here to check for the usage limits of your account, check the API keys limit and create another API key if possible. If not, try creating another account, create a new API key and utilize it.



For Windows OS,

  1. Download, extract the zip file and run. Do ensure to extract the zip file before running it.
  2. After successful installation of the kit, press 'Y' to run the kit and execute cells in the notebook.
  3. To run the kit manually, press 'N' and follow the below steps. To run the solution anytime manually after installation, follow the below steps:
  4. Navigate to the 'build-your-own-chatgpt'.folder located in C:\kandikits
  5. Open command prompt inside the extracted directory 'build-your-own-chatgpt'
  6. Run this command - "chatgpt-env\Scripts\activate.bat" to activate the virtual environment
  7. Run the command - "cd build-your-own-chatgpt"
  8. Run the command 'jupyter notebook' which would start a Jupyter notebook instance.
  9. Locate and open the 'app.ipynb' notebook from the Jupyter Notebook browser window.
  10. Execute cells in the notebook.


For Linux distros and macOS,

  1. Follow the instructions to download & install Python3.9 & pip for your respective Linux distros or mac OS.
  2. Click here to download the repository.
  3. Extract the zip file and navigate to the directory build-your-own-chatgpt.zip
  4. Open a terminal in the extracted directory 'build-your-own-chatgpt'
  5. Create and activate virtual environment using this command: 'virtualenv venv & source ./venv/bin/activate'
  6. Install dependencies using the command 'pip3.9 install -r requirements.txt'
  7. Once the dependencies are installed, run the command 'jupyter notebook' to start jupyter notebook (Pls use --allow-root if you're running as root)
  8. Locate and open the 'app.ipynb' notebook from the Jupyter Notebook browser window.
  9. Execute cells in the notebook.



Click on the button below to download the solution and follow the deployment information to begin set-up. This 1-click kit has all the required dependencies and resources you may need to build your own chatGPT App.

Knowledge Resources

HTML doticonstar image 80301 doticonVersion:Currentdoticon
License: Permissive (CC0-1.0)

This repo includes ChatGPT prompt curation to use ChatGPT better.

Support
    Quality
      Security
        License
          Reuse

            awesome-chatgpt-promptsby f

            HTML doticon star image 80301 doticonVersion:Currentdoticon License: Permissive (CC0-1.0)

            This repo includes ChatGPT prompt curation to use ChatGPT better.
            Support
              Quality
                Security
                  License
                    Reuse
                      TypeScript doticonstar image 13137 doticonVersion:v1.16.3doticon
                      License: Strong Copyleft (GPL-3.0)

                      A browser extension that enhance search engines with ChatGPT

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                chatgpt-google-extensionby wong2

                                TypeScript doticon star image 13137 doticonVersion:v1.16.3doticon License: Strong Copyleft (GPL-3.0)

                                A browser extension that enhance search engines with ChatGPT
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          chatgpt-vscodeby mpociot

                                          TypeScript doticonstar image 4692 doticonVersion:Currentdoticon
                                          no licences License: No License (null)

                                          A VSCode extension that allows you to use ChatGPT

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    chatgpt-vscodeby mpociot

                                                    TypeScript doticon star image 4692 doticonVersion:Currentdoticonno licences License: No License

                                                    A VSCode extension that allows you to use ChatGPT
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              chatgpt-telegramby m1guelpf

                                                              Go doticonstar image 3746 doticonVersion:v0.2.5doticon
                                                              License: Permissive (MIT)

                                                              Run your own GPTChat Telegram bot, with a single command!

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        chatgpt-telegramby m1guelpf

                                                                        Go doticon star image 3746 doticonVersion:v0.2.5doticon License: Permissive (MIT)

                                                                        Run your own GPTChat Telegram bot, with a single command!
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  Kit Solution Source

                                                                                  build-your-own-chatgptby kandi1clickkits

                                                                                  Jupyter Notebook doticonstar image 1 doticonVersion:v1.0.0doticon
                                                                                  License: Permissive (Apache-2.0)

                                                                                  Build your own version of chatgpt using OpenAI API

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            build-your-own-chatgptby kandi1clickkits

                                                                                            Jupyter Notebook doticon star image 1 doticonVersion:v1.0.0doticon License: Permissive (Apache-2.0)

                                                                                            Build your own version of chatgpt using OpenAI API
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      Support

                                                                                                      If you need help using this kit, you may reach us at the OpenWeaver Community.

                                                                                                      See similar Kits and Libraries