[METHOD] Make Your Own PAA Site With OpenAI - Complete Tutorial + FREE Python Script

OK - here's my latest results and thoughts:

This works great but it looks like OpenAI gets real busy and sometimes the script fails.
(@warriorsam53 or anyone who knows Python - is there an easy way to tweak the script so it saves as it goes on, so that if it crashes you haven;t lost everything? I tried to do this but evidently don't know enough Python to get it to work.)

I adjusted the prompt to this:
Please write a pithy and insightful tweet of no more than 280 characters about this {row['topic']}. Use this information to help write the tweet: {row['context']}

... now I can get a long list of tweets!
This is such an awesome thread - thank you @warriorsam53
 
Yeah, both chatgpt and openai have been acting funny recently
 
It's the csv file, depends on the number of topics it is processing, it may take a few minutes.
Agreed. I have done around 20-25 topics and full articles takes 5-10 minutes to generate. You will know when it is done when you get the red arrows again in the IDLE window.
 
Nice! You tried different prompts already?
websites aren’t my cup of tea so no not yet
might be a good starter project to get into it tho.
 
So this all comes down to the prompt right for creating the content?

Yes it does. The quality of your output depends only on the prompt.

You can either get some useless generic output or get a really engaging and useful resource just by changing the prompt.
 
For all who are struggling with prompts, try to write a prompt for each task. For example, if you are writing a blog post write separate prompts for title, outline, introduction, conclusion etc.

Use open AI playground to test prompts. Try changing Temp: and Top P parameters for each prompt. Adjust and find the right metrics.

The thing is these prompts and temps can differ as per your needs.

I took the basic script posted here and asked Chat GPT to modify as how I wanted.

Now I'm running it on Google colab. Pretty easy to run and fix problems.
 
For all who are struggling with prompts, try to write a prompt for each task. For example, if you are writing a blog post write separate prompts for title, outline, introduction, conclusion etc.

Use open AI playground to test prompts. Try changing Temp: and Top P parameters for each prompt. Adjust and find the right metrics.

The thing is these prompts and temps can differ as per your needs.

I took the basic script posted here and asked Chat GPT to modify as how I wanted.

Now I'm running it on Google colab. Pretty easy to run and fix problems.

That’s the way to do it. All the best.
 
For all who are struggling with prompts, try to write a prompt for each task. For example, if you are writing a blog post write separate prompts for title, outline, introduction, conclusion etc.

Use open AI playground to test prompts. Try changing Temp: and Top P parameters for each prompt. Adjust and find the right metrics.

The thing is these prompts and temps can differ as per your needs.

I took the basic script posted here and asked Chat GPT to modify as how I wanted.

Now I'm running it on Google colab. Pretty easy to run and fix problems.
That defeats the purpose of the thread. Imagine going through 1000 rows, 1000 times and to try it in playground first.
 
That defeats the purpose of the thread. Imagine going through 1000 rows, 1000 times and to try it in playground first.

That's not entirely true. If you think a bit out of the box, it won't take too long to have unique prompts for each topic and greatly improve the quality of your output. Especially since we can include some context.

Using the same prompt for different topics will result in some similar headings and output.
 
For people who are testing the script out and want to make changes, but don't know enough Python to get the job done...
Try asking ChatGPT to improve your script. It's working for me - I have asked it to reduce the number of requests to the OpenAI server so as to reduce the crashes that keep happening.

Also, my top tip: make sure you're saving your input.csv file in UTF-8 format else you may get errors.
 
Back
Top