config/rex_config.example.json
Rama master · réplica de lectura del repositorio original.
{
"audio": {
"input_device_index": null,
"output_device_index": null,
"sample_rate": 16000
},
"wakeword": {
"backend": "openwakeword",
"wakeword": "rex",
"keyword": null,
"model_path": null,
"embedding_path": null,
"fallback_to_builtin": true,
"fallback_keyword": "hey jarvis",
"threshold": 0.5,
"window": 1.0,
"poll_interval": 0.01,
"wake_sound_path": "assets/wake_acknowledgment.wav"
},
"models": {
"llm_provider": "transformers",
"llm_backend": null,
"llm_model": "sshleifer/tiny-gpt2",
"llm_max_tokens": 120,
"llm_temperature": 0.7,
"autonomy_mode": "manual",
"llm_top_p": 0.9,
"llm_top_k": 50,
"llm_seed": 42,
"stt_model": "base",
"stt_device": "auto",
"stt_language": "en",
"tts_provider": "xtts",
"tts_model": null,
"tts_voice": null,
"tts_speed": 1.08,
"windows_tts_voice_index": null
},
"runtime": {
"log_level": "INFO",
"file_logging_enabled": false,
"log_path": "data/logs/rex.log",
"error_log_path": "data/logs/error.log",
"transcripts_enabled": true,
"transcripts_dir": "transcripts",
"active_user": null,
"user_id": "default",
"memory_max_turns": 50,
"warm_runtime_max_cost_mb": 6144.0,
"warm_runtime_idle_timeout_s": 900.0,
"command_duration": 5.0,
"capture_seconds": 5.0,
"detection_frame_seconds": 1.0,
"conversation_export": true,
"speak_language": "en"
},
"search": {
"providers": "serpapi,brave,duckduckgo,google"
},
"home_assistant": {
"base_url": null,
"verify_ssl": true,
"timeout": 10.0
},
"ollama": {
"base_url": "http://localhost:11434",
"use_cloud": false
},
"openai": {
"model": null,
"base_url": null
},
"api": {
"rate_limit": "30/minute",
"allowed_origins": [
"*"
]
},
"mobile_api": {
"enabled": false,
"host": "127.0.0.1",
"port": 8765,
"allowed_origins": [],
"require_tls": false,
"api_version": "1.0",
"access_token_ttl_seconds": 900,
"refresh_token_ttl_days": 30,
"max_json_bytes": 1048576,
"max_audio_bytes": 15728640,
"max_audio_seconds": 60,
"rate_limit_default": "60 per minute",
"rate_limit_login": "10 per minute",
"rate_limit_refresh": "30 per minute",
"rate_limit_chat": "30 per minute",
"rate_limit_voice": "10 per minute"
},
"calendar": {
"backend": "stub",
"ics": {
"source": null,
"url_timeout": 15
}
},
"identity": {
"known_users": null,
"require_user": false
},
"messaging": {
"backend": "stub",
"default_account_id": null,
"accounts": [
{
"id": "primary",
"label": "",
"from_number": "+15551234567",
"credential_ref": "twilio:primary",
"owner_user_id": null
}
],
"inbound": {
"enabled": false,
"auth_token_ref": "twilio:inbound",
"store_path": null,
"retention_days": 90,
"rate_limit": "120 per minute",
"cleanup_schedule": "interval:86400"
}
},
"notifications": {
"dashboard": {
"store": {
"type": "sqlite",
"path": null,
"retention_days": 30,
"cleanup_schedule": "interval:86400"
}
},
"ha_tts": {
"enabled": false,
"base_url": null,
"token_ref": "ha:tts_token",
"default_entity_id": null,
"default_tts_domain": "tts",
"default_tts_service": "speak",
"timeout_seconds": 10.0,
"allow_http": false
}
},
"voice_identity": {
"enabled": false,
"accept_threshold": 0.85,
"review_threshold": 0.65,
"embedding_dim": 192,
"model_id": "synthetic"
},
"ui": {
"start_minimized": false
},
"computers": [
{
"id": "desktop",
"label": "Main Desktop",
"base_url": "http://127.0.0.1:7777",
"auth_token_ref": "PC_DESKTOP_TOKEN",
"enabled": true,
"allowlists": {
"commands": [
"whoami",
"dir",
"ipconfig",
"systeminfo"
]
},
"connect_timeout": 5.0,
"read_timeout": 30.0
}
],
"wordpress": {
"sites": [
{
"id": "myblog",
"base_url": "https://example.com",
"enabled": true,
"auth_method": "application_password",
"credential_ref": "wp:myblog",
"timeout_seconds": 15
}
]
},
"woocommerce": {
"sites": [
{
"id": "myshop",
"base_url": "https://example.com",
"enabled": true,
"consumer_key_ref": "wc:myshop:key",
"consumer_secret_ref": "wc:myshop:secret",
"timeout_seconds": 30
}
]
},
"model_routing": {
"default": "",
"coding": "",
"reasoning": "",
"search": "",
"vision": "",
"fast": ""
},
"users": {
"alice": {
"email_accounts": [
{
"account_id": "work",
"display_name": "Alice Work Email",
"backend": "imap",
"credentials_key": "EMAIL_ALICE_WORK"
},
{
"account_id": "personal",
"display_name": "Alice Personal Gmail",
"backend": "gmail",
"credentials_key": "EMAIL_ALICE_PERSONAL"
}
]
}
},
"workflows": {
"tasks": [
{
"name": "daily_weather",
"schedule": "interval:86400",
"action": "chat --no-tts --prompt \"What is the weather today?\"",
"enabled": false
}
]
},
"openrouter": {
"model": "openai/gpt-4o",
"base_url": "https://openrouter.ai/api/v1"
}
}