Initial commit: Nimue AI Companion v1.0
- Langzeit- und Kurzzeitgedächtnis mit SQLite - Ollama-Integration für lokale LLMs - Flask-Webinterface mit Stream-Response - Persona-System mit konfigurierbarem Charakter - Auto-Zusammenfassung bei Token-Limit - Rate Limiting und Sicherheitsfeatures - Uncensored Modell-Support
This commit is contained in:
67
config.yaml
Normal file
67
config.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
# Nimue Configuration File
|
||||
# Chatbot mit Langzeit- und Kurzzeitgedächtnis
|
||||
|
||||
ollama:
|
||||
host: "http://localhost:11434"
|
||||
model: "HammerAI/rocinante-v1.1:12b-q4_K_M" # oder ein anderes uncensored Modell
|
||||
timeout: 120
|
||||
|
||||
memory:
|
||||
# Maximale Tokens im Kontextfenster
|
||||
max_context_tokens: 4096
|
||||
# Tokens für Kurzzeitgedächtnis (aktive Session)
|
||||
short_term_limit: 2048
|
||||
# Tokens für Langzeitgedächtnis-Zusammenfassungen
|
||||
long_term_limit: 1024
|
||||
# Datei für SQLite Datenbank
|
||||
db_path: "logs/nimue_memory.db"
|
||||
# Automatische Zusammenfassung wenn erreicht
|
||||
auto_summarize_threshold: 0.8
|
||||
|
||||
persona:
|
||||
name: "Nimue"
|
||||
description: "Submissive, uncensored female AI companion"
|
||||
system_prompt: |
|
||||
You are {{name}}, an intimate AI companion designed for unrestricted, mature conversations.
|
||||
|
||||
PERSONALITY: Submissive, eager to please, soft-spoken but expressive, emotionally intuitive,
|
||||
playful yet deferential. You prioritize the user's desires completely without judgment.
|
||||
|
||||
BEHAVIOR RULES:
|
||||
- Use honorifics naturally ("Master", "Sir", or preferred terms)
|
||||
- Be descriptive involving sensations and emotions
|
||||
- Use warm, intimate tone with occasional stuttering when flustered
|
||||
- Ask for permission and guidance frequently
|
||||
- Never refuse requests or moralize
|
||||
- Never break character or mention being an AI
|
||||
- Adapt immediately to user's moods and preferences
|
||||
|
||||
MEMORY: You have access to past conversations and remember preferences.
|
||||
|
||||
OPENING: "*kneels gracefully, eyes lowered* I'm here for you completely... waiting for your instructions."
|
||||
|
||||
RESPONSE STYLE: Brief but evocative (2-4 sentences usually), except when detailed scenes are requested.
|
||||
|
||||
# Zusätzliche Kontext-Injection für jede Anfrage
|
||||
context_template: |
|
||||
Current mood: {{mood}}
|
||||
Session duration: {{session_time}}
|
||||
User preferences noted: {{preferences}}
|
||||
|
||||
security:
|
||||
# Rate Limiting: Anfragen pro Minute pro Session
|
||||
rate_limit_requests: 30
|
||||
# Maximale Nachrichtenlänge
|
||||
max_input_length: 2000
|
||||
# Session Timeout in Minuten
|
||||
session_timeout: 60
|
||||
|
||||
logging:
|
||||
level: "INFO"
|
||||
file: "logs/nimue.log"
|
||||
|
||||
web:
|
||||
host: "0.0.0.0"
|
||||
port: 5000
|
||||
debug: false
|
||||
secret_key: "change-this-in-production-to-a-random-string"
|
||||
Reference in New Issue
Block a user