11:27 am
March 7, 2023
I'm having a problem where often the content coming from OpenAI has <p> and </p> tags in the middle of sentences, so content split over many new lines that should not be.
I'm finding that this generally happens more often if I'm asking more from it, so longer prompts or asking for longer pieces of content. It seems to get to a certain stage and then things go funky. It also often has other errors like missing full stops, if the prompt or content length are too long.
But even if I'm keeping the requests quite small, I'm still getting occasional paragraphs that are split up with those paragraph tags, so does anyone know how to avoid this?
I had the idea of trying to use the Synonymizer/Rewriter to remove the paragraph tags, so I tried this:
|a </p><p>|a
|b </p><p>|b
|c </p><p>|c
etc
But it does not work, I assume because the <p> tag is on a new line, so when finding and replacing it won't find it because of that being on a new line. So for another question, is there a way to do a find and replace like the above that will work to strip out these unwanted paragraph tags?
According to your log, you are using the Davinci GPT model and giving it an HTML code. The model is not that smart to handle this (please see Login to see this link.
Also consider using the GPT-3.5 Turbo or GPT-4 model instead of Davinci.
A line break control characters that being converted to HTML paragraphs on post addition. So you can’t replace any <p> tags in the generated text, because they don’t exist there.
2:15 pm
March 7, 2023
OK cool thanks for checking.
I don't think it's giving it HTML code that is causing this issue, it seems to be dealing with that perfectly well, although I understand what you are saying.
I tried the Turbo model but it did very badly so cannot use that, I've not got access to the GPT-4 model yet but think it's available now, so need to check that out.
It's a shame it's not possible to fix it with search and replace, I'm assuming there's no other way of doing it? It happens rarely if I keep the amount of words lower, so I might just have to live with it.
Most Users Ever Online: 541
Currently Online:
10 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
MediFormatica: 49
B8europe: 48
Member Stats:
Guest Posters: 337
Members: 2852
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1640
Posts: 8352
Newest Members:
torontomark48, info.ckmedianetwork, contact.mybeautystar, samuelbodde, john.prush, creightonnick0Administrators: CyberSEO: 3947