AI Chat bot knowledgebase articles

Hi. I am not able to select any knowledgebase article. Nothing happens on input on Joomla 5. Also you explain that there can be articles selected. Is it possible to load several articles as knowledge base?




Looks like the field type is wrong in config.xml
<field name="kb_articles" type="ModalArticle" label="COM_AICHATBOT_CONFIG_KB_ARTICLE_LABEL" description="COM_AICHATBOT_CONFIG_KB_ARTICLE_DESC" addfieldprefix="TemplatePlazza\Component\Aichatbot\Administrator\Field" />

Should be modal_article but then only one article is selectable. And from your code AIHelper.php you only want to load a single article
$articleId = (int) $params->get('kb_articles', 0);

But the component shop information clearly says

Smart knowledge base integrated with Joomla articles and a built-in product/service catalog with image support

And after some usage with Google Gemini I do now always get

Communication error. Please try again.

the key is added to an invoice account and not limited. I also tried another key from another project and added a new one. I am not able to use it anymore. (Knowledgebase is empty)
1 day 4 hours ago - 1 day 4 hours ago #1 by Gee
Attachments:
Last edit: 1 day 4 hours ago by Gee.

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5406) Offline
Hi Gee,
the article selection will appear after you start typing something in the input field and when there is a matching article available.
Please refer to this video : www.dropbox.com/scl/fi/8ymxmf82ff2ou1u4e...mh&st=3wipmezw&raw=1

But the component shop information clearly says

Smart knowledge base integrated with Joomla articles and a built-in product/service catalog with image support

Apologies for the typo regarding the word “articles”.  Initially, I was indeed allowing loading multiple articles as a knowledge base. However, after some testings and real usage, I found that this could lead to users unintentionally assign too many articles and this may significantly increase : token consumption, negatively impact performance due to an overly large knowledge base, and also can consume free-tier (free) tokens more quickly, causing users to hit their limits sooner.
For that reason, I thought it would be more efficient and reliable to limit it to a single article. In practice, if multiple pieces of information are needed, they can simply be combined into one article without any issue.

Regarding the message “Communication error. can you tell me what model are you using? this is usually caused by an incorrect API key or an incompatible model selection. 
1 day 3 hours ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5406) Offline
Wait, I think I’ve identified the issue with the article picker. Please stay tuned
1 day 2 hours ago #3 by TemplatePlazza

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5406) Offline
Hi Gee, done, I’ve fixed the issue with the article picker. Please re-download/re-install the updated version (v1.0.1)
1 day 1 hour ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Thank you. The selection now works. But I bought this to combine multiple articles as a knowledge base as presented. There is a description to warn users to now use too many articles and you even count the chars. So I'd be thankful if you would add a multiple option. 

The error is solved. It was a conflict with a spam plugin that I need to load later.
25 minutes ago - 12 minutes ago #5 by Gee
Last edit: 12 minutes ago by Gee.

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5406) Offline
Have you followed the steps in the documentation file on how to obtain the API key?
If possible, could you please create and send the API key to me for testing via email at This email address is being protected from spambots. You need JavaScript enabled to view it.? You may delete the API key after it has been used. 
18 minutes ago #6 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum