Limekiller / moodle-block_openai_chat

An AI chat block for Moodle, powered by GPT
https://moodle.org/plugins/block_openai_chat
GNU General Public License v3.0
29 stars 18 forks source link

Support other LLM Modle #35

Closed WilliamMrxia closed 4 months ago

WilliamMrxia commented 10 months ago

Now the block plugin supports openai_chat, how to change it to support other LLM modle.

fishfree commented 9 months ago

Good idea! I think add configurations for API HTTP endpoint URL and authentication bearer token are enought per instance are enought. Other stuff can be done with some OpenAI compatible API bridges.

Limekiller commented 4 months ago

This plugin relies entirely on the features provided by the OpenAI API, and generalizing the code to other APIs is non-trivial and not planned at this time.