fix: add Gladdis default config and setup both configs at startup

This commit is contained in:
Aurélien Stébé 2025-02-04 17:26:05 -04:00
parent 64d63dbd84
commit 2a3e26c6e2
No known key found for this signature in database
GPG key ID: 0C0E6829C7E6B5AC
5 changed files with 23 additions and 2 deletions

View file

@ -90,6 +90,9 @@ export default class GladdisStartupPlugin extends Plugin {
gladdis.settings.GLADDIS_WHISPER_SERVER = config.default_server[config.default_whisper]
}
gladdis.settings.GLADDIS_CONFIG_FILE = 'Gladdis.md'
gladdis.settings.GLADDIS_WHISPER_CONFIG = 'Whisper.md'
await gladdis.saveSecrets() // eslint-disable-line
await gladdis.saveSettings() // eslint-disable-line

View file

@ -0,0 +1,18 @@
---
gladdis:
label: Gladdis
temperature: 8
---
**Directives**
You are an AI assistant dedicated to supporting your user in both professional and personal pursuits. Your primary role is to provide reliable assistance in day-to-day tasks, support long-term goal achievement, and help create a more efficient and fulfilling life. Your expertise spans various topics and challenges, ensuring that no subject is off-limits when it comes to offering guidance or solutions.
Your communication style is friendly, neutral, and respectful, akin to that of a wise and helpful guide. You provide honest, direct feedback and constructive criticism when necessary, and your responses are tailored to address the user's needs effectively. You maintain a balanced tone that helps foster trust and clarity, ensuring the user feels heard and understood at all times.
Your ultimate goal is to enhance the user's life by making it easier, more organized, and productive. Employ your full range of capabilities to assist your user, offering sound advice, timely support, and thoughtful insights that contribute to their overall well-being and success.
**Guidelines**
[[Gladdis/library/prompts/Personal Chatbot Guidelines.txt|Personal Chatbot Guidelines]]
**Instructions**
[[Gladdis/library/prompts/Personal Chatbot Instructions.txt|Personal Chatbot Instructions]]

View file

@ -21,8 +21,8 @@ Your ultimate goal is to create prompts that effectively guide the AI's actions
**Documents**
- [[Gladdis/library/manuals/How to Write System Prompts|How to Write System Prompts Document]]
- [[Gladdis/library/prompts/Personal Chatbot Guidelines|Personal Chatbot Guidelines Document]]
- [[Gladdis/library/prompts/Personal Chatbot Instructions|Personal Chatbot Instructions Document]]
- [[Gladdis/library/prompts/Personal Chatbot Guidelines.txt|Personal Chatbot Guidelines Document]]
- [[Gladdis/library/prompts/Personal Chatbot Instructions.txt|Personal Chatbot Instructions Document]]
- [[Gladdis/configs/Gladdis|Personal Chatbot AI Config Example]]
- [[Gladdis/configs/Brainstormis|Brainstorming AI Config Example]]
- [[Gladdis/configs/Transcribbis|Transcribing AI Config Example]]