Hi Yannick, I finally had the chance to test 4AI - thank you for the great tool.I have two issues... 1) when I generate a meta description for a german article it creates an english one, so I always have to mention that it should be german, maybe the current language can be included automatically into the prompt? 2) The Meta descriptions are not written like I want, I tried with following additional prompts, but it did not help. They often don't contain the requested form and are way too long. Where can I adjust the initial prompt? a) Create a concise meta description and a message following the A.I.D.A. format within a 155 character limit, including emoticons for added engagement. The message should grab attention, spark interest, create desire, and prompt action in a compelling and succinct way. Make sure it's catchy, informative, and persuasive. Use creative language and ensure the emoticons enhance the message's appeal without overshadowing the text.b) Craft a captivating meta description and message strictly in the AIDA format, limited to 155 characters, with emoticons. Start with a hook to grab attention, then spark interest with a fascinating fact or question. Create a strong desire by highlighting a unique benefit or solution. Conclude with a compelling call to action, all within a concise, emotive narrative. Make sure each AIDA component is distinct and impactful, using emoticons to enhance the emotional appeal. c) Using exactly 155 characters, including emoticons, create a message in the AIDA format. The message must grab attention, build interest, evoke desire, and prompt action. Please ensure the entire message, from start to finish, fits within the strict character limit. d) Using exactly 155 characters, including emoticons, create a message in the AIDA format.
Helpdesk is open from Monday through Friday CET
#10886 – Language is not considered, Meta Description is too long
Hi Elisa
1) when I generate a meta description for a german article it creates an english one, so I always have to mention that it should be german, maybe the current language can be included automatically into the prompt?
The language is not exactly already included in the prompt but it's somewhat there as it includes "Write each description using the same language as the input. ". There's also a warning in the system prompt that instructions are in English but other languages are in use.
I'd rather do it this way as it's more flexible for general use case and has proven to work fine over the past year of so. Not sure why you are having this result.
You can look at the actual prompts and responses in the Joomla site log file under /{joomla logs}/forai-openai/forai.
The language is usually complied with, I get 100% accuracy with French for instance, on an English site, although your result may vary with whether you use GPT 3.5 or 4 and I don't have reports of any issue with this.
2) The Meta descriptions are not written like I want, I tried with following additional prompts, but it did not help. They often don't contain the requested form and are way too long. Where can I adjust the initial prompt?
Using the UI, you can't change the prompt, other than the available input fields, that's not what 4AI is for.
The length is something that's nearly uncontrollable, as with anything done using LLMs (see what I have to use to specify "Shorten text" for instance. The prompt includes a size limit of 100 to 180 characters already and the model generally shoots around that size.
You can use a hook to modify the finalized API request data using forai_api_request_data.. Documentation is here.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Hi
I think it's not considering the content language because germans love to use English words in between
Nah, it's just that they are inconsistent and sometimes just fail, even on basic tasks. This happens less and less as they make progress, whch is why I asked about which model you use. GPT-4 is very different from GPT3-5 in that respect, it complies better with instructions.
Even GPT-4 would not reply consistently at the start, but over the months, they increased the quality and we have gained consistency.
That said, I have made some changes (get the latest dev version from the development versions download area) to include a language instruction when the language can be identified, which means only for com_content articles, and not for "All" languages on multilingual sites.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Hi
It should not. The link is https://weeblr.com/downloads/development-versions. You can access it as well from the user menu, top right corner of the screen.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Hi
Yeah, Joomla access levels... Should be good now.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Hi
You're welcome! I will leave this ticket open in case you need to add something. It will automatically close in 2 weeks if no further comment is made.
Best regards
Yannick Gaultier
weeblr.com / @weeblr