Giter Site home page Giter Site logo

chat-gpt-project's Introduction

chat-gpt-project

This project is an experiment to see how far I can get with using just ChatGPT to generate both code and ideas to create a project.

Prompts

These are the prompts I used to generate the code for this project.

  1. Create a python program where I can chat with a demonic doll. Answer
  2. What are some reactions that a demonic doll would have when chatting with a human? Answer
  3. Make a python function which returns a random choice from a list of strings. Answer
  4. Create a JSON file of the doll answers that you provided. Answer
  5. How would I make the script know if a question had been asked? Answer
  6. Create some new responses for the demon doll to provide when a question is posed. The answers should be creepy and some of them should reference hell, Satan, or the Apocalypse. Answer
  7. Structure your previous response in a JSON format Answer

The raw answers to these prompts will be listed in the answers/ folder in this repo.

Rules

Some of the rules I'm setting for myself here:

  1. Only include ideas that are provided as answers from prompts.
  2. Correcting code to make it workable is fine, with comments.
  3. Adding to the requirements.txt file to make imports work is fine, without comments.
  4. Correcting code for formatting, (i.e. flake8) is also fine, no comments needed in that case.
  5. All answers will be provided in the answers/ folder, but maybe not used.

Installation and runnning

Requirements can be installed via requirements.txt. Only requirements specified by imports suggested by ChatGPT, with the exception of Flake8, will be added. Activate a virtual environment and install:

pip install -r requirements.txt

For nltk, you'll need to download some additional content, not part of the package. Run this command to download the current version (in the same virtual environment you installed the requirements):

python3 -c "import nltk; nltk.download('averaged_perceptron_tagger'); nltk.download('punkt')"

Finally, run the script and chat with Annabelle:

python3 demonchat.py

chat-gpt-project's People

Contributors

numbertheory avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.