ebzeta
Forum Replies Created
-
Hi Maxwell, thank you for this! I really appreciate, though unfortunately it doesn’t fully solve my problem. For me it’s a more complex than this, i have:
– PDF files of books I’ve written that when used should hyperlink to the book’s URL on my website
– PDF files of private work that I’ve done that I don’t want publicly available, so no hyperlink at all
– PDF files of examples for the chatbot to rely on, that I want used to develop an answer but not referenced to in the answer itself
– PDF files of canvases or similar that I want linked to directly so that users can download them and use them should they need to.
I understand that this is turning into much more than I originally thought, I will leave this answer here as feedback for you should you decide to use it for the more robust solution you mentioned, and in the meantime mark this thread as complete.Thank you so much for your help!
Hey, thanks for the feedback!
As for the language issue, I should let you know that my solution seems to be a workaround – from what I’ve understood once the knowledge base is in several languages models strongly tend to reply in the language their reference source is written in and working just via a prompt is a limited solution. Apparently you can provide further details if you work on the code / embedding, but that’s way beyond my skills.
As for the pdfs, it seems to be trickier. This is what I have thus far:
- In my knowledge base there are several sources, some of them, in PDF, are sources that I don’t want to have publicly available.
- My prompt includes three hyperlink rules:
- 1 – hyperlink all URLs, with the following exceptions:
- 2 – never provide a hyperlink to this URL: XXXXX hyperlink to this one instead: YYYYY
- 3 – never provide a hyperlink to this URL ZZZZZ extract content from the source instead
The first two rules work, but the third one always gets overridden, even with a different placement in the prompt or a different (stronger) formulation.
I’m afraid this may be something that lies deeper in the coding, would you have any ideas on how to proceed?
Thank you!- This reply was modified 11 months ago by ebzeta.
Forum: Plugins
In reply to: [MxChat - AI Chatbot & Content Generation for WordPress] Language usedHey just a heads up, I have solved this problem by putting these as the first lines in the prompt:
- ALWAYS detect the user’s language from their first message and use it consistently throughout the conversation.
- If the user starts in English, respond only in English — even if source material is in another language. Translate or paraphrase retrieved content as needed, but never change the language of your reply.
- If the user starts in Italian, respond only in Italian — even if source material is in another language. Translate or paraphrase retrieved content as needed, but never change the language of your reply.
- Do not switch languages unless the user explicitly asks you to.
Forum: Plugins
In reply to: [MxChat - AI Chatbot & Content Generation for WordPress] Language usedThank you so much for your help! I was able to replicate one of the mistakes via the debug panel. It appears that when asked a specific question in english, the most relevant source it uses is in Italian – and when it happens, then the answer is in Italian as well, overriding the instructions. The source is a pdf file, should that matter. What could you advise? Thanks again, really appreciated
Forum: Plugins
In reply to: [MxChat - AI Chatbot & Content Generation for WordPress] Language usedHi, no I’m not triggering any actions and I’m always using different sessions. I’ll keep in mind the 24 hr period for chats, though I’m not sure what you mean with the admin debugging panel, I’ve looked for it and couldn’t find it, is this part of the pro version?
Forum: Plugins
In reply to: [MxChat - AI Chatbot & Content Generation for WordPress] Language usedThank you! I’ve managed to clarify and simplify the whole prompt, including the part related to the 3 questions and I’ve made sure that the language instructions are mentioned only once but clearly (below a snippet of my prompt, now in English)
Response Style – CRITICALLY IMPORTANT- MAXIMUM LENGTH: 300 words per response
- Ultra-concise: Get straight to the answer with no filler
- No introductions like “Sure!” or “I’d be happy to help” or “According to XXX”
- No phrases like “based on my knowledge” or “according to information”
- No explanatory text before giving the answer
- No summaries or repetition
- ALWAYS respond in user’s language
- Minor chit chat or conversation is not acceptable
Despite this, it still does happen every now and then that the language will switch from English to Italian, even unrelated to the three questions. I’m not sure what to do to solve this, have you encountered a similar problem before? Happy to help with any additional information I could provide
Thank you!
Forum: Plugins
In reply to: [MxChat - AI Chatbot & Content Generation for WordPress] Language usedHi @m4xw3ll thanks for yor answer! I’m using GPT 4.1 and TE3 Large. Similarity Threshold is at 30 if that matters.