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

Thanks OP for this method, it looks very promising.

For everyone who has already built a PAA website, which Wordpress template would you suggest?

Thanks a lot!
 
Thanks OP for this method, it looks very promising.

For everyone who has already built a PAA website, which Wordpress template would you suggest?

Thanks a lot!

It doesn’t really matter. No reader really cares about the theme if the content is easy to read.

If you’re not happy with the default WP theme, you can use a free theme like GeneratePress.
 
With the new Chat GPT API (and the better writing that it offers) I changed my python script to use that instead. However I am getting this error when I run the script: “AttributeError: module ‘openai’ has no attribute ‘ChatCompletion’”

Anyone who is smarter than me have any idea what I need to do to fix that? I tried Chatgpt but it didn't know lol
 
I'm afraid I tried to generate a few articles. (Actually 50)
But I don't see a luck with the script I tried.
(PyCharm 22 with Python 3.10)
Here is what I'm getting.

Python:
0%|          | 0/50 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "C:\Python\Lib\site-packages\pandas\core\indexes\base.py", line 3802, in get_loc
    return self._engine.get_loc(casted_key)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pandas\_libs\index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
  File "pandas\_libs\index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
  File "pandas\_libs\hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas\_libs\hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'output'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\OpenAI\script.py", line 14, in <module>
    if not pd.isna(row['output']):
                   ~~~^^^^^^^^^^
  File "C:\Python\Lib\site-packages\pandas\core\series.py", line 981, in __getitem__
    return self._get_value(key)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\Python\Lib\site-packages\pandas\core\series.py", line 1089, in _get_value
    loc = self.index.get_loc(label)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python\Lib\site-packages\pandas\core\indexes\base.py", line 3804, in get_loc
    raise KeyError(key) from err
KeyError: 'output'

Process finished with exit code 1


Here's the script, and the file names and path are correct.

I would greatly appreciate it if someone could help me out.

LtvvSuY
 
Should i need to buy a open ai 20$ membership ? or any free solution
" openai.error.RateLimitError: Rate limit reached for default-text-davinci-002 in organization org-djmAuOn9KBIqGf8sW4KFX11T on requests per min. Limit: 60.000000 / min. Current: 70.000000 / min. Contact [email protected] if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method."
 
‘openai’ has no attribute ‘ChatCompletion’”

Anyone who is smarter than me have any idea what I need to do to fix that? I tried Chatgpt but it didn't know lol
Other people reported the same error when using pycharm. Try vscode or just python in terminal.
Should i need to buy a open ai 20$ membership ? or any free solution
" openai.error.RateLimitError: Rate limit reached for default-text-davinci-002 in organization org-djmAuOn9KBIqGf8sW4KFX11T on requests per min. Limit: 60.000000 / min.
Bro, use time delay so you don't send more than 1 request per second.
 
Should i need to buy a open ai 20$ membership ? or any free solution
" openai.error.RateLimitError: Rate limit reached for default-text-davinci-002 in organization org-djmAuOn9KBIqGf8sW4KFX11T on requests per min. Limit: 60.000000 / min. Current: 70.000000 / min. Contact [email protected] if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method."

There's no $20 membership for GPT-3. I think you're confusing it with ChatGPT. A new OpenAI account gives you $18 in trial credits which are free. You have to pay for additional usage or open/buy another trial account for another $18.

The error you're getting is because of their servers. You can either add a delay or try it some other time.
 
Other people reported the same error when using pycharm. Try vscode or just python in terminal.
you need to force pip to update openai module to 0.27, then you need to change a few things in the openai request to make it work as there is no more "prompt" argument but message
 
I'm sure Google will index all these pages in about 12 years :D
I started a website totally fake with 100% chat gpt content, some month ago.
It was indexed the second day after publication :)
Now i have 80%-90% of page indexed in Google.
 
I started a website totally fake with 100% chat gpt content, some month ago.
It was indexed the second day after publication :)
Now i have 80%-90% of page indexed in Google.
good, but what is the actual traffic you are getting? Google could index thousands of pages, but no traffic still...
 
good, but what is the actual traffic you are getting? Google could index thousands of pages, but no traffic still...
and also google is picking up on AI :)
A lot of pages are stucked "discovered but not indexed" even with outputs over 75% human probability
 
Where are my good friends @kismatconnection and @warriorsam53 ? I bet they are busy with that new chatGPT api.

Any case, I have been doing some thinking. Since a lot users have been complaining about openai not returning longer content.

How about we add another script to run another time like in a loop that counts how many words or chars in the [text] field and modify the prompt to expand the text until the amount of words is desired.

I know this will yield some garbage content for some keywords with low results, but it is an option for those that want to try it.

We can set the loop to run x amount of times to prevent infinite looping.
 
Where are my good friends @kismatconnection and @warriorsam53 ? I bet they are busy with that new chatGPT api.

Any case, I have been doing some thinking. Since a lot users have been complaining about openai not returning longer content.

How about we add another script to run another time like in a loop that counts how many words or chars in the [text] field and modify the prompt to expand the text until the amount of words is desired.

I know this will yield some garbage content for some keywords with low results, but it is an option for those that want to try it.

We can set the loop to run x amount of times to prevent infinite looping.

You'd be better off writing each section separately. It'll work especially well if your content can follow some sort of a fixed structure.

You can also use embeddings to summarize what's written, send it back and then ask it to write based on that.
 
Wow, alot of resources in this post. Thank you, man. :D I will work on it ;)
 
Back
Top