Stage one of the project, done
This commit is contained in:
50
configs/bot.yaml
Normal file
50
configs/bot.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
# Discord Bot Configuration for Lyra
|
||||
|
||||
bot:
|
||||
# Bot identity
|
||||
name: "Lyra"
|
||||
description: "AI-powered Discord chatbot with self-evolving personality"
|
||||
|
||||
# Discord settings
|
||||
command_prefix: "!"
|
||||
intents:
|
||||
- guilds
|
||||
- guild_messages
|
||||
- dm_messages
|
||||
- message_content
|
||||
|
||||
# Response behavior
|
||||
respond_to_all: true # Respond to all messages in channels she has access to
|
||||
respond_to_mentions: true # Always respond when mentioned
|
||||
respond_to_dms: true # Respond to DMs
|
||||
ignore_bots: true # Don't respond to other bots
|
||||
ignore_self: true # Don't respond to own messages
|
||||
|
||||
# Generation parameters
|
||||
generation:
|
||||
max_length: 150 # Max tokens per response
|
||||
temperature: 0.9 # Higher = more creative
|
||||
top_p: 0.92 # Nucleus sampling
|
||||
top_k: 50 # Top-k sampling
|
||||
repetition_penalty: 1.1 # Penalize repetition
|
||||
no_repeat_ngram_size: 3 # Don't repeat 3-grams
|
||||
|
||||
# Context management
|
||||
context:
|
||||
max_history: 10 # Messages to include as context
|
||||
max_context_tokens: 512 # Max tokens from history
|
||||
|
||||
# Rate limiting
|
||||
rate_limit:
|
||||
enabled: true
|
||||
max_responses_per_minute: 10
|
||||
cooldown_seconds: 2
|
||||
|
||||
# Memory
|
||||
memory:
|
||||
short_term_size: 50 # Last N messages in memory
|
||||
use_long_term: true # Use database for long-term memory
|
||||
|
||||
# Model
|
||||
model_path: "models/active/lyra_latest.pt"
|
||||
tokenizer_path: "models/tokenizer/"
|
Reference in New Issue
Block a user