File size: 2,379 Bytes
8cbe6eb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
  "providers": {
    "web_speech_api": {
      "name": "web_speech_api",
      "provider_type": "web_speech_api",
      "enabled": true,
      "priority": 1,
      "free_tier_limits": {
        "unlimited": true
      },
      "rate_limits": {
        "requests_per_minute": 60
      },
      "supported_formats": [
        "webm",
        "wav"
      ],
      "supported_languages": [
        "en-US",
        "en-GB",
        "es-ES",
        "fr-FR",
        "de-DE"
      ],
      "cost_per_minute": 0.0,
      "api_credentials": {},
      "timeout_seconds": 30,
      "max_retries": 3
    },
    "deepgram": {
      "name": "deepgram",
      "provider_type": "deepgram",
      "enabled": true,
      "priority": 5,
      "free_tier_limits": {
        "audio_minutes_per_month": 200
      },
      "rate_limits": {
        "requests_per_minute": 100,
        "audio_minutes_per_hour": 60
      },
      "supported_formats": [
        "webm",
        "wav",
        "mp3",
        "ogg"
      ],
      "supported_languages": [
        "en-US",
        "en-GB",
        "es-ES",
        "fr-FR",
        "de-DE",
        "ja-JP",
        "zh-CN"
      ],
      "cost_per_minute": 0.0125,
      "api_credentials": {
        "api_key": "${DEEPGRAM_API_KEY}"
      },
      "timeout_seconds": 30,
      "max_retries": 3
    }
  },
  "rate_limiting": {
    "enabled": true,
    "default_window_size": 60,
    "cleanup_interval": 300,
    "redis_url": null
  },
  "caching": {
    "enabled": true,
    "max_size_mb": 100,
    "default_ttl": 3600,
    "cleanup_interval": 600,
    "redis_url": null
  },
  "audio_processing": {
    "silence_threshold": 0.01,
    "noise_reduction_strength": 0.5,
    "default_chunk_duration": 30.0,
    "max_audio_duration": 300.0,
    "supported_formats": [
      "webm",
      "wav",
      "mp3",
      "ogg"
    ]
  },
  "cost_monitoring": {
    "enabled": true,
    "alert_thresholds": {
      "daily": 10.0,
      "monthly": 100.0
    },
    "report_interval": 86400
  },
  "websocket": {
    "max_connections": 100,
    "heartbeat_interval": 30,
    "message_timeout": 10,
    "max_message_size": 1048576
  },
  "logging": {
    "level": "INFO",
    "format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
    "file": null,
    "max_file_size": 10485760,
    "backup_count": 5
  },
  "environment": "development",
  "debug": false
}