Plugin "Co-Teacher" - coded with Mistral Vibe CLI

Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di Rainer Schaufelberger -
Numero di risposte: 9

Hi,

I have developed an Activity-Plugin for Moodle entirely in Mistral Vibe CLI. I call it "Co-Teacher"

With this activity, you can chat with a Mistral agent that has access to a library containing all the documents from a Moodle course. This creates a RAG (Retrieval-Augmented Generation) system.

I didn’t write a single line of code myself. Since I’m not a professional programmer, I have no idea if the plugin complies with Moodle’s rules.

I would be pleased to discuss that topic at the DevCamp, but unfortunately I am on the waiting-list.

Rainer

In riposta a Rainer Schaufelberger

Re: Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di Julia Lee -
  ***English below***

Hallo Rainer,
vielleicht kannst du es auch auf dem Barcamp vorstellen?
Moodle.nrw entwickelt gerade auch einen RAG-basierten Chatbot. Er funktioniert schon sehr gut, wenn das Quellmaterial gut ist.
Da ich in den vergangenen Jahren mit meinem Team sehr viele Support Materialien zu Moodle erstellt habe, habe ich einen Chatbot für den Moodle-Support erstellt, der schon sehr gut funktioniert in der Testversion. Unten sind ein paar Screencasts.

Es gibt gerade einen Testphase auf moodle.nrw. Wenn du dir einen account anlegst (https://moodlenrw.de), kannst du meinen Chatbot hier testen in der Sandbox.

https://sandbox.moodlenrw.de/course/view.php?id=150

Einschreibeschlüssel: ki-test

Herzliche Grüße
Julia

Hello Rainer,
Perhaps you could present it at the Barcamp too?
Moodle.nrw is currently developing a RAG-based chatbot as well. It already works very well, provided the source material is good.
As my team and I have created a great deal of support material for Moodle over the past few years, I have developed a chatbot for Moodle support, which is already working very well in the test version. Please find below a few screencasts.

There is currently a trial phase on moodle.nrw. If you create an account (https://moodlenrw.de), you can test my chatbot here in the sandbox.

https://sandbox.moodlenrw.de/course/view.php?id=150

Enrolment key:

ki-test

Best regards
Julia
 
Moodle-Chatbot with Plugin moodle-mod_courseaichat
 
How To
 
 
 
In riposta a Julia Lee

Re: Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di Rainer Schaufelberger -
Hallo Julia
Ich habe es mir kurz angeschaut, sieht gut aus. Was habt ihr für Erfahrungen mit Mistral? Wir werden mit dem Testen erst anfangen. Und wie gesagt, ich bin erst auf der Wartelist.
In riposta a Rainer Schaufelberger

Re: Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di Julia Lee -
Hallo Rainer,

mit Mistral habe ich beim KI-Chatbot und auch über direkt über den Vibe-Chat bisher sehr gute Erfahrungen gemacht. Ich habe den Eindruck, dadurch, dass die Antworten dort didaktischer sind. Im NRW-Chatbot läuft laut den Entwicklern (ich habe es nicht entwickelt) Mistral Small - also die kostenlose Version - auf internen Servern des Landes von ki-connect. Für einen RAG-Chatbot ist kein großes Modell notwendig, das auch die Internetsuche mit einbezieht, da die Quellen vorgegeben sind.

Wie hast du es hinbekommen, dass beim RAG-System Aktivitäten in Moodle mit berücksichtigt werden? Können auch Daten aus Büchern, Seiten etc. verwendet werden?

Herzliche Grüße
Julia
In riposta a Julia Lee

Re: Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di Julia Lee -

*** Deutsch unten ***

Hello everyone,
I tested the NRW chatbot as an educational chatbot for civil engineering to review the topic of steel construction. I’m not a civil engineer, so I can’t comment on the quality of the feedback. But I in my opinion it is pretty impressive that Mistral Small is open source. The text for the learning objective is from ChatGPT in the video. Here’s the recording:

Video Lernchatbot Link


Conclusion:
If a RAG tool is (further) developed at DevCamp, I would find it interesting if it 
a) could also interpret LaTeX/MathJax
b) could create multiple-choice questions for students  (without answering them immediately) with  several answer options. 

Best regards,

Julia

*** Deutsche Version ***

Hallo in die Runde,
ich habe den NRW-Chatbot als Lernchatbot getestet für das Fach Bauingenieurwesen zur Wiederholung des Themas Stahlbau. Ich bin keine Bauingenieurin und kann daher nichts zur Qualität des Feedback sagen. Finde es aber so schon relativ beeindruckend, dass Mistral Small ja Open Source ist. Der Text zum Lernziel ist von ChatGPT in dem Video. Hier die Aufnahme:


Fazit:
Wenn auf dem DevCamp ein RAG-Tool (weiter-)entwickelt wird, fände ich es interessant, wenn diese 
a) auch Latex/Mathjax interpretieren kann
b) Multiple Choice Aufgaben für Studierende erstellen kann  (ohne diese sofort zu beantworten) mit  mehreren Versuchsoptionen. 

Video Lernchatbot Link

Herzliche Grüße

Julia

In riposta a Rainer Schaufelberger

Re: Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di Michael Hughes -
Would be interested in this as well, I've done some stuff alongside the ByCS people around RAG and generation of content from Moodle course content for this purpose.

Michael
In riposta a Michael Hughes

Re: Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di Julia Lee -
***Deutsch unten***

Hello Michael,
thank you for your offer. The good news is that the RAG plugin is still being developed for the new project. However, as it’s currently undergoing some changes, I think it would be too early to continue developing it here at DEVCamp. Especially as I’m not the developer. I hope they’ll be able to attend MootDACH next year.
Best Regards,
Julia

Hallo Michael,
danke für dein Angebot. Die gute Nachricht, das RAG-Plugin wird auch im neuen Projekt weiterentwickelt. Da es gerade im Umbruch ist, wäre es aus meiner Sicht aber zu früh, es hier auf dem DEVCamp weiterzuentwickeln. Zumal ich nicht die Entwickler*in bin. Ich hoffe, dass diese nächstes Jahr bei der MootDACH dabei sein können.
Herzliche Grüße
Julia
In riposta a Julia Lee

Re: Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di Rainer Schaufelberger -
I just added new functionality into the Co-Teacher Plugin. All you need is a Mistral API-Key. Now you can create an agent, edit an agent, create a library from the files in an Moodle-course. The student can upload a file for discussion. You can decide to talk just to a language-model or to a RAG-system with our without websearch. - Still everything coded with Vibe CLI.
Rainer
In riposta a Rainer Schaufelberger

Re: Plugin "Co-Teacher" - coded with Mistral Vibe CLI

di stefan weber -

you can always have your coding style checked by the moodle coding style checker plugin: https://github.com/moodlehq/moodle-local_codechecker