#Q: ChatGPT integration in Moodle

4 messages · Page 1 of 1 (latest)

carmine egret
#

Hello, I hope this is correct here.
I recently started working in IT in an institution, but not as a software developer, but as a planner and facilitator. We offer trainings, seminars etc., man of them hybrid via Moodle.
We now have a project with Moodle in which we would like to integrate ChatGPT (preferably GPT4, or would 3.5 be enough?). If the learners are stuck on a question, for example, then they could ask ChatGPT and it would help.
Is it possible to integrate ChatGPT into Moodle fluently? What do you need to consider?
ChatGPT is pre-trained as you know, but we then need to train ChatGPT specifically in the subject area of the course. Is that possible? How would that need to be done specifically? I think we would just have to train ChatGPT specifically on hundreds/thousands of texts from that topic area. As far as I know, this is done with Tensorflow or PyTorch.
We have two service providers, one is currently working on Dialogflow from Google. But since that is not always optimal, because it is rigid and the dialog tree is predefined, we would like to integrate ChatGPT as well. ChatGPT is more flexible.
I read something from https://moodle.org/plugins/block_openai_chat. Is that usable? Is this only available in version 3.5?
Thanks a lot!

vital yacht
#

Respectfully and with no criticism, you do have a lot to learn. I hope i can help...

You're looking for a specific solution from general purpose tools. These browser based tools were created over code interfaces (API) that are available to all.

This channel is for support for those who code with the API, not for ChatGPT, which is a product based on the API, which many developers here strive to replicate.

What you want is another product based on the same API, not to modify this or similar products into something more specific. Products like this are popping up every day. Some are free, some open source, some are installable, some are Software as a Service (SaaS).

I recommend you look at the developer documentation, not to learn the coding aspect, but to understand Embedding and Fine-Tuning. The training you're referring to is the process of converting text into a Vector Database. You'll want to look into that too, not as an engineer or developer but just to understand the flow of data to a vector db and then using that with a base GPT model. There are many great articles on these topics and new ones every day.

As for Moodle, a fine general purpose platform of its own), that's just a wrapper around whatever solution you work out for the data integration. A custom plugin might be necessary. As an institution, I suspect you have the ability to partner with students who are developing skills in this area, or you have the ability to partner with outside developers, as contractors or perhaps in exchange for access to resources.

I would welcome an opportunity to work on a project like this. I've been a developer for over 40 years, and business owner with projects of my own, but there seems to be a fit. DM if interested.

carmine egret
#

Hi and thank you"

#

I am going through the docs now. So would you say that an integration of the API is possible in moodle? I think for specific training I need the fine tuning API