XXX4Fans
Blazing Zebra from patreon
Blazing Zebra

patreon


Automatically Run Prompt Chains

This is a Google Colab for running a sequence of prompts.  Simply drop this into ChatGPT and ask ChatGPT to update it on your sequence.  

Here are the steps:

Make your own copy of this notebook.

Update your new copy with your OpenAI API key

Copy and paste the script into ChatGPT along with the prompt sequence you want to run and ask ChatGPT to update it accordingly.

Copy that back into the notebook and save it somewhere handy!


Automatically Run Prompt Chains

Comments

Interesting. Might be a use case for a vector database, depending on how big the library of terms is.

Casey Meehan

Roger that! What I am hopeing to do is to have a document (google doc/pdf) that has a bank of terms or formatted text I use often. Id like to include that document in the prompt to GPT in one of the steps to have it pull from that bank of text rather than include it in the prompt. OR maybe there is a way to create a library of those terms/text.

Chris Barnes

Hi Chris! First off, thanks for your support. One of my future enhancements was to be able to upload a sequence of prompts (as a .txt file) to colab and have the script run the prompt sequence that is detailed in the .txt file. This would not get at formatting it into a google doc, however. I have done a little experimenting with getting ChatGPT to generate a google doc (or output a markup that google docs can read). While I still think this is possible, it is not easily done. I don't know of anyone who has done this. If you do, let me know! Otherwise, I will keep chipping away at this :)

Casey Meehan

You mention in the video that you can feed gpt a document to train it for helping refine the response. I would like to use this sequencing function to run a few processes for formatting, editing, and outputting a google doc. Might I be able to do this with the above?

Chris Barnes


Related Creators