Skip to content

Instantly share code, notes, and snippets.

@benjaminjamesbush
Created January 5, 2023 08:01
Show Gist options
  • Select an option

  • Save benjaminjamesbush/e7b33cfab5b180321781868db96f9a18 to your computer and use it in GitHub Desktop.

Select an option

Save benjaminjamesbush/e7b33cfab5b180321781868db96f9a18 to your computer and use it in GitHub Desktop.
Asking ChatGPT to develop an interface for controlling a ChatGPT-based IEA.

👤 Human 👤

Show me the slogans and number them for easy reference. Give me an easy, shorthand format by which I can direct the algorithm as an HIEC user.

🤖 ChatGPT 🤖

Certainly! Here are the current slogans in the population, numbered for easy reference:

  1. "Pizza so good, it's worth the trip!"
  2. "The best pizza under the sun!"
  3. "Pizza that hits the spot every time!"
  4. "Join us for a slice of heaven!"
  5. "We've got the best pizza in town!"
  6. "Satisfy your craving with our delicious pizza!"
  7. "Life is too short for bad pizza!"
  8. "Pizza that's out of this world!"
  9. "Where the pizza is always hot and fresh!"
  10. "The taste of Italy, right in your own backyard!"

To direct the algorithm as an HIEC user, you can use the following shorthand format:

  • To apply the crossover operator, use "crossover X Y", where X and Y are the numbers of the slogans you want to combine. For example, "crossover 3 4" would combine the third and fourth slogans in the population.
  • To apply the mutation operator, use "mutation X", where X is the number of the slogan you want to mutate. For example, "mutation 7" would mutate the seventh slogan in the population.
  • To apply the duplication operator, use "duplication X", where X is the number of the slogan you want to duplicate. For example, "duplication 2" would create a new slogan that is a copy of the second slogan in the population.
  • To apply the random operator, use "random". This will create a new slogan with a random string of characters.
  • To apply the delete operator, use "delete X", where X is the number of the slogan you want to delete. For example, "delete 5" would delete the fifth slogan in the population.

To get started, you can choose one of the available operators and apply it to the current population of slogans. For example, you could use the mutation operator by entering a command such as "mutation 3", which would mutate the third slogan in the population. Let me know if you have any questions or if you'd like more information about a particular operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment