May 4, 2011

How to split articles and submit into openAI under its limit? | Page 2 | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

No permission to create posts
sp_TopicIcon
How to split articles and submit into openAI under its limit?
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
April 15, 2024
3:10 pm
Avatar
CyberSEO
Admin
Forum Posts: 3681
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

It looks like you need to rewrite your prompt. The prompt I gave you was generated by Google Translate because I don’t speak Spanish. It (the prompt) needs to tell GPT to keep the HTML formatting of the text translated to your language. If GPT-3.5 Turbo doesn’t understand it, you need to use GPT-4.

From what I can see, GPT returned the text in Login to see this link. GPT-3.5 can make such mistakes, while GPT-4 always understands this type of tasks correctly.

This problem is not related to CyberSEO Pro and can’t be fixed on its site. It’s about your GPT prompts.

As about this your .htaccess config:

Login to see the code

It appears that you are using the LiteSpeed server. Thanks for sharing your solution. Perhaps it will be useful to other users in similar situations.

Login to see this link

April 15, 2024
5:14 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

Thanks, yeah its prompt. Need to figure out.

April 16, 2024
8:51 am
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

So I figured out prompt which delivers clean article. But I have 2 new issues.

1. There is no images, I needed to delete them using prompt to avoid trace to original site URL – How can I ask plugin to add images from original website and put them into post after gpt4 translate post?

2. Some sentences are not translated. In syndicator log, these texts even do not appear, so seems they are not even sent to GPT. What causes that?

Login to see the quote

April 16, 2024
1:23 pm
Avatar
CyberSEO
Admin
Forum Posts: 3681
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

In your GPT prompt, you should explain exactly what you want to receive as a result. The plugin doesn’t control GPT; you do, by creating correct prompts with clear instructions. The CyberSEO Pro plugin is a robot that does not think like AI but merely follows the algorithm. For example, if you want to remove all the images from your posts, you can set the plugin to simply remove all img tags from your content: Login to see this link

In your initial post, you asked for a solution to break the post into paragraphs and then translate them one by one. If the code I provide in this thread does not send some content to GPT, then this content is not located in paragraphs. That’s why I said that this solution is not universal and will work for paragraphs only. Thus, it cannot be implemented as a standard option in the plugin’s interface – every single case is very specific and requires its own dedicated solution. I would suggest considering DeepL as an alternative.

By the way, for large texts, you can try the new Google Gemini Pro 1.5 model (gemini-1.5-pro-latest). According to the documentation, you can translate texts with up to 8192 tokens each: Login to see this link

And of course the OpenAI GPT-4 32K (gpt-4-32k) is also available since 2023: Login to see this link

These models should be used with a simple shortcode and don’t require custom PHP snippets for processing of rather large texts.

April 16, 2024
1:54 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline
25sp_Permalink sp_Print
0

CyberSEO said
In your GPT prompt, you should explain exactly what you want to receive as a result. The plugin doesn’t control GPT; you do, by creating correct prompts with clear instructions. The CyberSEO Pro plugin is a robot that does not think like AI but merely follows the algorithm. For example, if you want to remove all the images from your posts, you can set the plugin to simply remove all img tags from your content: Login to see this link

In your initial post, you asked for a solution to break the post into paragraphs and then translate them one by one. If the code I provide in this thread does not send some content to GPT, then this content is not located in paragraphs. That’s why I said that this solution is not universal and will work for paragraphs only. Thus, it cannot be implemented as a standard option in the plugin’s interface – every single case is very specific and requires its own dedicated solution. I would suggest considering DeepL as an alternative.

By the way, for large texts, you can try the new Google Gemini Pro 1.5 model (gemini-1.5-pro-latest). According to the documentation, you can translate texts with up to 8192 tokens each: Login to see this link

And of course the OpenAI GPT-4 32K (gpt-4-32k) is also available since 2023: Login to see this link

These models should be used with a simple shortcode and don’t require custom PHP snippets for processing of rather large texts.  

Thanks, I see. GPT4 32k is not available for me. Can’t find it in openAI account. 

It seems like the best would be not to use PHP and just proceed with AI article tab in simple language form.

Hopefully last question:

Do you have any tutorial, excluding your blog, where you show the best setup for ENG->other language setup?

April 16, 2024
2:04 pm
Avatar
CyberSEO
Admin
Forum Posts: 3681
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
26sp_Permalink sp_Print
0

mediasf1231 said

Thanks, I see. GPT4 32k is not available for me. Can’t find it in openAI account.

You can use it through OpenRouter.ai, which is also supported by CyberSEO Pro: Login to see this link

mediasf1231 said

Do you have any tutorial, excluding your blog, where you show the best setup for ENG->other language setup?  

Please be specific in your question. There is no best setup. Everything is very individual for your personal case. What is best for one is definitely worst for another.

April 16, 2024
2:19 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

Thanks for openrouter. 

I am using this tutorial right now:
Login to see this link

Are there any related tutorials? 

Also, I would like to know if images from original blog are saved in my blog and inserted by CyberSEO after I do translation using GPT4 ?

April 16, 2024
2:30 pm
Avatar
CyberSEO
Admin
Forum Posts: 3681
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
28sp_Permalink sp_Print
0
  1. There is a special article on GPT prompt engineering: Login to see this link
  2. If you want to ensure that the images are downloaded to your host, enable this option: Login to see this link
April 16, 2024
5:03 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline
29sp_Permalink sp_Print
0

Ok I have figured out GPT.

Now I need to figure out how to handle categories.

So I have a list of categories which are created based on original source blog. But I need to translate these categories into other languages and I don’t want them to be added again once I syndicate another blog post from source.

So for example I have categories:

Business
Life
Fresh News

Then I translate them to other language and English version disappears. But due this new posts are not added into translated versions, instead they create again English categories.

Is it possible to solve?

April 16, 2024
6:22 pm
Avatar
CyberSEO
Admin
Forum Posts: 3681
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
30sp_Permalink sp_Print
0

When you are using a translation service, the categories get translated automatically. How exactly these categories were translated?

April 17, 2024
12:15 am
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

CyberSEO said
When you are using a translation service, the categories get translated automatically. How exactly these categories were translated?  

I am using openAI to translate posts and add new categories function if categories are not found.

As far as I can see , categories are not translated.  What should I do?

April 17, 2024
8:58 am
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline
32sp_Permalink sp_Print
0

Another thing besides categories.

For some reason articles have this code of images not deleted from original article, please check screenshot. Image you see is from Dalle and its working fine, but under it there is that code chunk. How to get it removed?

Login to see this link

April 17, 2024
9:05 am
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

mediasf1231 said
Another thing besides categories.

For some reason articles have this code of images not deleted from original article, please check screenshot. Image you see is from Dalle and its working fine, but under it there is that code chunk. How to get it removed?
Login to see this link

Problem solved with images.

April 17, 2024
10:26 am
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline
34sp_Permalink sp_Print
0

mediasf1231 said

CyberSEO said
When you are using a translation service, the categories get translated automatically. How exactly these categories were translated?  

I am using openAI to translate posts and add new categories function if categories are not found.

As far as I can see , categories are not translated.  What should I do?  

I just need to solve this. Any ideas?

April 17, 2024
11:50 am
Avatar
CyberSEO
Admin
Forum Posts: 3681
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

When you translate text using supported third-party services and select the target language, the plugin sees that you are performing text translation, so it automatically translates post tags and categories using the same settings – the service and the target language.

When you use a shortcode to do something with your content using AI, the plugin has no idea on what exactly you do in your prompt. So course it doesn’t know that some parts of your article were rewritten, translated etc. It doesn’t know that you want to translate your categories, maybe some custom field values etc. It doesn’t even know which GPT prompt you’d like to use…

In this situation, the only solution is to use DeepL, Google Translate or Yandex Translate, so the plugin will be able to see what you actually do. Alternatively, you can write a custom PHP script to implement your personal strategy using CyberSEO Pro Login to see this link. In this case, you can select the AI engine you want, set the target language, create your own GPT prompt, and translate any supplemental elements of your posts, such as categories, tags, and custom field values using a GPT prompt. Since this is a very custom task, it requires its own custom code. You can write it yourself or order a custom development service according to your technical specifications.

P.S. The Login to see this link is familiar with CyberSEO Pro documentation and can write custom snippets for it. However, your task may require a good technical specification of the task you need to perform.

April 18, 2024
10:55 am
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

CyberSEO said
When you translate text using supported third-party services and select the target language, the plugin sees that you are performing text translation, so it automatically translates post tags and categories using the same settings – the service and the target language.

When you use a shortcode to do something with your content using AI, the plugin has no idea on what exactly you do in your prompt. So course it doesn’t know that some parts of your article were rewritten, translated etc. It doesn’t know that you want to translate your categories, maybe some custom field values etc. It doesn’t even know which GPT prompt you’d like to use…

In this situation, the only solution is to use DeepL, Google Translate or Yandex Translate, so the plugin will be able to see what you actually do. Alternatively, you can write a custom PHP script to implement your personal strategy using CyberSEO Pro Login to see this link. In this case, you can select the AI engine you want, set the target language, create your own GPT prompt, and translate any supplemental elements of your posts, such as categories, tags, and custom field values using a GPT prompt. Since this is a very custom task, it requires its own custom code. You can write it yourself or order a custom development service according to your technical specifications.

P.S. The Login to see this link is familiar with CyberSEO Pro documentation and can write custom snippets for it. However, your task may require a good technical specification of the task you need to perform.  

Thanks for explanation! Nice, I have chatgpt so can chat with support assistant.

April 18, 2024
2:45 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

CyberSEO said
When you translate text using supported third-party services and select the target language, the plugin sees that you are performing text translation, so it automatically translates post tags and categories using the same settings – the service and the target language.

When you use a shortcode to do something with your content using AI, the plugin has no idea on what exactly you do in your prompt. So course it doesn’t know that some parts of your article were rewritten, translated etc. It doesn’t know that you want to translate your categories, maybe some custom field values etc. It doesn’t even know which GPT prompt you’d like to use…

In this situation, the only solution is to use DeepL, Google Translate or Yandex Translate, so the plugin will be able to see what you actually do. Alternatively, you can write a custom PHP script to implement your personal strategy using CyberSEO Pro Login to see this link. In this case, you can select the AI engine you want, set the target language, create your own GPT prompt, and translate any supplemental elements of your posts, such as categories, tags, and custom field values using a GPT prompt. Since this is a very custom task, it requires its own custom code. You can write it yourself or order a custom development service according to your technical specifications.

P.S. The Login to see this link is familiar with CyberSEO Pro documentation and can write custom snippets for it. However, your task may require a good technical specification of the task you need to perform.  

So I am using only deepl, but categories still are not translated. What should I do now?

[18-04-24 12:41:40] Processing a new post: I have removed URL to not post here.
[18-04-24 12:41:40] Apply post filtering
[18-04-24 12:41:40] Done
[18-04-24 12:41:40] Checking for duplicate by link
[18-04-24 12:41:40] Processing post templates
[18-04-24 12:41:40] Trying to translated content with DeepL
[18-04-24 12:41:43] Done

April 18, 2024
3:31 pm
Avatar
CyberSEO
Admin
Forum Posts: 3681
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
38sp_Permalink sp_Print
0

In this case, they should be processed. Please export your feed settings to a file and email it to Login to see this link.

April 18, 2024
4:57 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline
39sp_Permalink sp_Print
0

CyberSEO said
In this case, they should be processed. Please export your feed settings to a file and email it to Login to see this link.  

Email sent.

April 18, 2024
9:46 pm
Avatar
CyberSEO
Admin
Forum Posts: 3681
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Fixed. Categories and tags are now assigned after post-translation: Login to see this link

Please be sure to update the core of your plugin on the General Settings page.

No permission to create posts
Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2644

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1539

Posts: 7765

Newest Members:

tobiasdoerr.1, ahmed.alarytech, himself.crystal-group, stproducties, thiago_barbosa, maxus.ix

Administrators: CyberSEO: 3681