NEOSidekick / NEOSidekick.AiAssistant

1 stars 0 forks source link

Error when generating seo title (Neos.Seo:TitleTagMixin) #13

Closed rtp-cgs closed 1 month ago

rtp-cgs commented 1 month ago

When I try to generate the seo title (Title override) using the new "Generate with Sidekick" button, I get the following error in a flash message: An error occurred while asking NEOSidekick: The given data was invalid.

Here is the request and response from the ajax call:

Request & payload: https://api.neosidekick.com/api/v1/chat?language=de

{"module":"seo_title","platform":"neos","user_input":[{"identifier":"url","value":"home"},
{"identifier":"focusKeyword","value":"Websites"},{"identifier":"content","value":"..."}}

Response:

{
    "errors": {
        "module": [
            "The module 'seo_title' is invalid. The available modules are: alt_tag_generator, blogpost_ideas, chameleon_solutions_generator, chat_conversation, content_improver, content_structure, custom_prompt, faq_generator, focus_keyword_generator, free_conversation, free_conversation_with_function_call, full_seo_article_generation, image_alt_text, keyword_research, linked_in_share_message, meta_description, meta_description_three_suggestions, modify_selected_text, online_research, page_conclusion_writer, page_title_writer, paragraph_generation, puls24_article_summarizer, read_the_following, site_briefing, summarize_in_one_paragraph, text_correction, text_improver, translation"
        ]
    },
    "message": "The given data was invalid."
}

Screenshot: CleanShot 2024-05-29 at 16 02 46@2x

Package Versions: neosidekick/ai-assistant: v2.2.1 neos/neos: 8.3.12

rolandschuetz commented 1 month ago

@rtp-cgs Thanks for the great bug report, the issue is fixed on the server. We had changed the module name and forgot to push that to production.