Configuration
Configuration
Configuring Moodle Mate is essential to tailor the application to your specific needs. Below is a detailed guide on how to set up your config.ini
file.
Configuration File Structure
The config.ini
file contains several sections and keys that you need to configure. Here’s a breakdown of each section and its purpose:
Moodle Configuration
This section contains the credentials and URL for your Moodle instance.
OpenAI Configuration
If you are using OpenAI’s services for summarization, provide your API key here.
Pushbullet Configuration
Configure Pushbullet if you want to receive notifications on your devices.
Discord Webhook Configuration
For sending notifications directly to a Discord channel through webhooks.
System Message Configuration
Customize the message that the llm uses to summarize incoming messages.
Example: systemmessage = "You are an assistant. Your task is to succinctly summarize incoming messages."
Model Configuration
Specify the model used for generating summaries or responses.
Additional Settings
Here you can configure other aspects like whether to use fakeopen API or not, and the bot’s name.
Example Configuration
Here is an example of how your config.ini
might look:
Tips for Configuration
- Security: Keep your
config.ini
file secure, especially if it contains sensitive information like passwords or API keys. - Updates: Check for updates in the Moodle Mate documentation to see if new configuration options are available.
This configuration guide should help you set up Moodle Mate to work efficiently within your environment.