AI LLMs Features for XWiki
Features description
The goal is to propose a first set of features allowing to benefit from AI capabilities in XWiki.
In terms of UI, as AI have the capacity to improve content based on user feedback in conversation mode, the goal would be to provide these capacities using a conversational user interface.
Generation of Content
These features would be integrated in the editor or in the page menu (adding content at the end of the current page)
Content Completion based on different Prompts
- Description: The Content Completion feature leverages AI LLMs to provide intelligent suggestions and completions while users are writing or editing content in XWiki.
- Benefits:
- Enhanced productivity: Users can leverage AI-powered suggestions to accelerate content creation and reduce the time spent on manual writing.
- Improved accuracy: Completion suggestions help users maintain consistent style, grammar, and formatting throughout their content.
- Reduced writer's block: AI-powered completions provide inspiration and assist users in overcoming writer's block by offering creative ideas and prompts.
Some specialized functions could be created.
Translation
- Description: The Language Translation feature leverages AI LLMs to provide automatic translation capabilities within XWiki, allowing users to translate content between different languages. Note that there is an existing XWiki extensions using deepL
- Benefits:
- Domain-specific translations: Users can fine-tune translation models to cater to specific industries, jargon, or terminologies used within their organization.
- Translation quality control: Custom models enable users to ensure translation accuracy and consistency according to their specific requirements.
This feature could be linked in the future to creating translated documents in XWiki
Summarize Content
- Description: The Summarize Content feature utilizes AI LLMs to generate concise summaries of XWiki content. This could include articles, documents, or pages.
- Benefits:
- Time-saving: Users can quickly get an overview of lengthy content without having to read the entire document.
- Improved accessibility: Summaries make information more accessible to users who prefer or require concise information.
- Efficient knowledge consumption: Users can easily identify relevant content and decide whether to explore further.
This feature could be enhancing the Blog application to provide "summary" fields or connected to Chat tools to allow to summarize chat into wiki pages
Search using Natural Language
A more advanced capacity will be to be able to interact with the XWiki content in Natural language. The goal in the first phase of this project is to study the architecture of such a capacity and create some prototypes.
- Description: The Natural Language Query feature enables users to perform searches in XWiki using everyday language and receive accurate results based on the intent behind their query.
- Benefits:
- Enhanced user experience: Users can search XWiki using natural language queries, making the search process more intuitive and user-friendly.
- Improved search accuracy: Natural Language Processing (NLP) techniques ensure that search results align with the user's intended meaning, even with complex queries
This features would be provided as a "Chat UI" in XWiki or could also be integrated in a ChatBot on popular Chat systems (such as Matrix).
A first implementation of this capacity could be to provide the XWiki User Guide in Natural Language in the XWiki UI.
Future capacity
We are listing here some future capacities that should be taken into account but that will probably not be provided in the first version of the LLM integration.
Automatic Tag Generation
- Description: The Automatic Tag Generation feature utilizes AI LLMs to automatically generate relevant tags for XWiki content, such as articles, documents, or pages. Benefits:
- Benefits
- Efficient categorization: AI-generated tags assist in organizing content and improving its discoverability within XWiki.
- Time-saving: Users can rely on automatic tag generation instead of manually assigning tags to each piece of content.
- Consistency: AI-generated tags ensure consistency in tagging practices and reduce human error.
This feature could be integrated either when saving by proposing tags automatically or as a action button next to the tags button.
Perform an XWiki Task
- Description: some content management tasks in XWiki would be possible by asking XWiki to perform them. This would enhance the conversational UI (Search using Natural Language) with specific tasks, such as "create a page", "move a page", "copy a page", "add tag to page", "add the following content to page:", "update property <name> of page <page> to <value>", "install extension <name>", "split this page in a subpage"
XWiki would need to be able to recognize some tasks and propose some actions by asking some questions before performing the action. A confirmation should be proposed before performing the action.
- Benefits:
- Enhanced user experience: user would be able to discover some tasks
- Increase quality of the organization in the wiki: allow to manage the xwiki content more easily
Chat Bot in Matrix
Description: Allow to interact with XWiki from Matrix, providing multiple features:
- Search using Natural Language
- Find relevant pages from the xwiki with the recent messages
- Provide a summary of the last "n" messages from the conversation and propose to create or add to a wiki page
- Integreate the "perform an xwiki task" in the chatbot