Files
AIPLAYER/examples/config.example.yaml
truetype 9a113002d4 feat: make embedding model configurable for semantic search
- Add SemanticSearchConfig to settings.py with embedding model options
- Update WorldMapper to accept embedding_model parameter
- Update main.py to pass model from config to WorldMapper
- Add documentation for available embedding models:
  - sentence-transformers/all-MiniLM-L6-v2 (default, fast)
  - sentence-transformers/all-mpnet-base-v2 (better quality)
  - google/embeddinggemma-300m (state-of-the-art)
- Update config.yaml and config.example.yaml with new options

Users can now choose the best embedding model for their needs.
2026-02-09 11:01:29 +01:00

65 lines
1.5 KiB
YAML

# MUD AI Player Configuration Example
# Copy this file to config.yaml and customize
mud:
host: "mud.example.com"
port: 4000
mud_type: "dead_souls" # dead_souls, aardwolf, etc.
username: "your_username"
password: "your_password"
character:
name: "AIPlayer"
preferred_class: "warrior"
preferred_race: "human"
play_style: "balanced"
ai:
engine: "rule_based"
llm_model: "llama3.2"
decision_delay_ms: [200, 2000]
exploration_strategy: "depth_first"
mapper:
active_storage:
db_path: "data/maps/active/world.db"
graph_cache_size: 10000
historical_storage:
archive_dir: "data/maps/archive"
snapshot_triggers:
room_count: 500
session_end: true
time_interval_hours: 24
compression:
fps: 30
codec: "h264"
semantic_search:
# Embedding model for semantic room search
# Options:
# - "sentence-transformers/all-MiniLM-L6-v2" (default, fast, 22MB)
# - "sentence-transformers/all-mpnet-base-v2" (better quality, 418MB)
# - "google/embeddinggemma-300m" (state-of-the-art, requires transformers>=4.40)
model: "sentence-transformers/all-MiniLM-L6-v2"
top_k: 5
similarity_threshold: 0.7
behavior:
reaction_time_min_ms: 200
reaction_time_max_ms: 2000
pause_probability: 0.05
typo_probability: 0.0
logging:
level: "INFO"
file: "data/logs/game.log"
console: true
max_file_size_mb: 10
backup_count: 5
monitoring:
enabled: true
host: "127.0.0.1"
port: 8080