Skip to content

Instantly share code, notes, and snippets.

@benjaminjamesbush
benjaminjamesbush / chatGPT_vs_evolution.md
Last active January 1, 2023 10:06
Table comparing the process of generating slogans with ChatGPT to evolution by natural selection.
Generating slogans with ChatGPT Evolution by Natural Selection
Giving ChatGPT feedback by evaluating previously evaluated slogans. The fitness of organisms within their environments.
Telling ChatGPT to generate alternative versions of a previously generated slogan. Asexual reproduction with mutation.
Telling ChatGPT to combine elements of two different slogans in order to make a new slogan. Sexual reproduction with recombination.
Telling ChatGPT which of the previously generated slogans to mutate or recombine Reproductive selection
Telling ChatGPT to forget about an unwanted slogan. Death
@benjaminjamesbush
benjaminjamesbush / ChatGPT_IEA_prompt.md
Last active January 2, 2023 05:15
A prompt to get ChatGPT to run an interactive evolutionary algorithm.

👤 Human 👤

You will be helping me come up with a list of possible slogans to promote the sale of a newly released laptop. The laptop does not have any particularly attractive features or advantages. I will be directing you via a series of simple commands. These commands are defined as follows:

generate(n): generate n new slogans and append them to the list.
remove(i): remove the slogan with index i from the list.
mutate(i): generate a new slogan using the slogan with index i as a starting point and append the new slogan to the list.
recombine(i,j): generate a new slogan by combining elements from the slogan with index i and the slogan with index j and append the new slogan to the list. Make sure that the length of the new slogan is similar in length to that of the other slogans in the list.
insert(s): append the slogan s to the list of slogans.

Respond to each command by displaying the updated list of slogans.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benjaminjamesbush
benjaminjamesbush / shorten_slogan.md
Last active January 2, 2023 05:03
A ChatGPT conversation in which I ask ChatGPT to shorten a slogan.

🤖 ChatGPT 🤖

  1. "Experience the power of our new laptop!"
  2. "Upgrade your computing with our latest laptop release!"
  3. "Get connected with the newest laptop on the market!"
  4. "Stay ahead of the game with our cutting-edge laptop."
  5. "Elevate your computing with our sleek and stylish laptop."
  6. "Boost your productivity with the latest and greatest laptop."
  7. "New laptop release: upgrade your computing and experience the power!"
  8. "Stay ahead of the game with our cutting-edge laptop release: upgrade your computing and experience the power!"
@benjaminjamesbush
benjaminjamesbush / ChatGPT_IEC_Laptop_Slogans_Full.md
Last active January 16, 2023 12:50
Implementing Interactive Evolutionary Algorithms in ChatGPT

👤 Human 👤

You will be helping me come up with a list of possible slogans to promote the sale of a newly released laptop. The laptop does not have any particularly attractive features or advantages. I will be directing you via a series of simple commands. These commands are defined as follows:

generate(n): generate n new slogans and append them to the list. remove(i): remove the slogan with index i from the list. mutate(i): generate a new slogan using the slogan with index i as a starting point and append the new slogan to the list. recombine(i,j): generate a new slogan by combining elements from the slogan with index i and the slogan with index j and append the new slogan to the list. Make sure that the length of the new slogan is similar in length to that of the other slogans in the list. insert(s): append the slogan s to the list of slogans.

@benjaminjamesbush
benjaminjamesbush / ChatGPT_Online_Knowledge_Embedding.md
Last active January 3, 2023 04:35
Example of Online Knowledge Embedding for Interactive Evolutionary Computation within ChatGPT

🤖 ChatGPT 🤖

  1. "Experience the power of our new laptop!"
  2. "A laptop a day keeps the doctor away"
  3. "Get connected with the newest laptop on the market!"
  4. "Stay ahead of the game with our cutting-edge laptop."
  5. "Elevate your computing with our sleek and stylish laptop."
  6. "Boost your productivity with the latest and greatest laptop."
  7. "New laptop release: upgrade your computing and experience the power!"
  8. "Cutting-edge laptop: upgrade and experience the power!"
  9. "Unleash your full potential with our state-of-the-art laptop."
@benjaminjamesbush
benjaminjamesbush / ChatGPT_IEA_subpopulations.md
Created January 3, 2023 04:38
Splitting the population of a ChatGPT based Interactive Evolutionary Algorithm into sub-populations.

👤 Human 👤

Split the list into two sub-populations, "Gaming" and "Productivity", such that each sub-population contains 5 items. Change the members of the "Productivity" sub-population to be about productivity.

🤖 ChatGPT 🤖

"Gaming" sub-population:

👤 Human 👤

Gaming: generate(1) Productivity: generate(2)

🤖 ChatGPT 🤖

"Gaming" sub-population:

@benjaminjamesbush
benjaminjamesbush / ChatGPT_IEC_recombining_subpopulations.md
Created January 3, 2023 06:57
Recombining slogans from 2 different subpopulations in ChatGPT based IEC

🤖 ChatGPT 🤖

"Gaming" sub-population:

  1. "New gaming laptop release: upgrade your play and experience the power!"
  2. "Transform your gaming experience with our latest laptop release."
  3. "Dominate your games with our high-performance gaming laptop."

"Productivity" sub-population:

  1. "Experience the power of productivity with our latest laptop release."
@benjaminjamesbush
benjaminjamesbush / ChatGPT_IIEA_development_pizza_full.md
Last active January 4, 2023 09:28
Working with ChatGPT to develop an Interactive Evolutionary Algorithm for pizza restaurant slogans

👤 Human 👤

Let's run an Interactive Evolutionary Algorithm within this chat interface!

🤖 ChatGPT 🤖

Sure! An interactive evolutionary algorithm is a type of evolutionary algorithm that allows the user to input parameters or make selections at various points during the optimization process. This can be a fun and interactive way to explore how different parameter choices can affect the performance of the algorithm.