Hello all, I have been brainstorming how AI can be integrated into Kolibri and help students study. Any experts an how this can be done because I got ideas from local schools, and some questions they ask are available on Chat AI online, but what about those in marginalised areas? How or what can we do to help them? I have asked around my community those who have the know-how of creating this AI, but they say one must be connected to the internet. What if we feed the server with all info available and when one canāt find the answer? (Or the server doesnāt have that solution, the administrator can go get the answer and feed it back, so when the students get in a second time can find the answer needed.) Just a wild thought.
I think there are some open LLMs that could be used, but I donāt have the knowledge about how they can be integrated. Is there any project working on this that I could join?
Hi @myce and @victortiz,
We have been doing experimentation and prototyping on this, mostly focusing on locally hostable models from model families such as Phi, Gemma, and Llama, in order to stick to our offline-first functionality and principles. We donāt have anything that is more broadly testable just yet, but we will be sure to let you know when there is something that you could experiment with in your implementations.
Kind Regards,
Richard
Integrating the AI with the package would be great. I run a couple of local AI ChatBots using Ollama and WebUI via Docker.
Would it be possible to get the local LLMs to access the locally running Kolibri via the API?
@nativebreed - I think the easiest way to handle this would be to expose an MCP via OpenSearch: https://opensearch.org/blog/introducing-mcp-in-opensearch/ then use the Kolibri OpenSearch plugin to have it connected to the OpenSearch server: GitHub - learningequality/kolibri-opensearch-plugin
Note that we have not tested this plugin with recent versions of Kolibri, but we would be happy to update it if it does not work as expected.
Thanks for the information. I tried installing the plugin but I just couldnāt. I think might be because I am using an old docker image treehouses/kolibri:latest - which is installs āKolibri 0.12.8ā.
The command āpip install kolibri_opensearch_pluginā - installs the plugin - no errors.
I couldnāt get pass the command ākolibri plugin kolibri_opensearch_plugin enableā. Always end up with the same error ākolibri.plugins.utils.PluginDoesNotExist: Plugin ākolibri_opensearch_pluginā does not seem to exist. Is it on the PYTHONPATH?ā
There may be something missing from the open search plugin - but 0.12.8 is also an incredibly old version, we are not able to support such an old version at this juncture.