psy Posted May 24 Posted May 24 Now available in the Modules directory at https://processwire.com/modules/chat-ai/ and on gitHub at https://github.com/clipmagic/ChatAI What is it? ChatAI is a native ProcessWire AI chatbot module designed to answer questions about your site content, with a focus on: ProcessWire-first workflows Site-aware answers using RAG (Retrieval Augmented Generation) Respect for ProcessWire access control rule Admin visibility into usage and performance Keeping content ownership within ProcessWire Features include AI chat widget for frontend use RAG indexing of ProcessWire content Multi-role message support (system / assistant / user) Admin dashboard with metrics and observations Configurable prompts and behaviour Integration with AgentTools for model selection Role-aware retrieval (users only see content they can access) Frontend page restrictions Dictionary / weighting support for retrieval tuning Quick Start Ensure prereqs are installed, ie: PHP>=8.0, ProcessWire>=3.0.255, AgentTools>=0.1.1, TextformatterEntities, TextformatterNewlineBR Configure your chat LLM in AgentTools Configure your textembedder LLM in AgentTools Configure ChatAI module config with both the above Go to Setup->ChatAI and index your site pages (turn off Dry Run when you're ready). Add the CSS, Script and Widget to your template(s). After that, tweak to your heart's content, including adding languages, widget theming and prompts. Current status: Alpha Test thoroughly before using on live sites. Feedback welcome. 11 4
HMCB Posted Tuesday at 05:20 PM Posted Tuesday at 05:20 PM @psy This is awesome. Question: Seeing that it can be used on the front-end, are we able to control what content the chat has access to? For instance, depending on the logged-in user, I may only want the chatbot to access certain pages (and sub pages) in a given site. 2
HMCB Posted Tuesday at 05:22 PM Posted Tuesday at 05:22 PM @psy One thing I’d love to see with modules that are AI oriented, is the ability to restrict how much usage a given user has, so I can cap their use. It may not be applicable to this module, but just thinking out loud.
psy Posted Tuesday at 09:26 PM Author Posted Tuesday at 09:26 PM 3 hours ago, HMCB said: depending on the logged-in user, I may only want the chatbot to access certain pages (and sub pages) in a given site. @HMCB ChatAI will only suggest pages the user can access by role. Additional limits can be by template and/or a checkbox on a page template. 2
psy Posted Tuesday at 09:32 PM Author Posted Tuesday at 09:32 PM 4 hours ago, HMCB said: the ability to restrict how much usage a given user has, so I can cap their use @HMCB Not sure how you'd implement this? You can cap the number of messages sent per conversation. The default is 20. The user will be warned when they have one question left. After that question is answered, the chat widget removes the input form. The user can continue in another chat by resetting the session. 1 1
HMCB Posted Tuesday at 09:36 PM Posted Tuesday at 09:36 PM @psy nice! Thank you for creating it and chiming in. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now