Files
sam-manage/config/services.php
김보곤 7f1f7165a5 feat:최고 품질 음성 녹음 시스템 구축 (STT V2 + Chirp 2 + Web Audio)
- 프론트엔드: Web Audio API 전처리 파이프라인 (GainNode + DynamicsCompressor + AnalyserNode)
- 프론트엔드: VU 미터 실시간 레벨 표시 + 마이크 감도 슬라이더 (0.5x~3.0x)
- 프론트엔드: getUserMedia constraints 강화 + MediaRecorder 128kbps Opus
- 백엔드: Google STT V2 API + Chirp 2 모델 batchRecognize 메서드 추가
- 백엔드: V2→V1 자동 폴백 래퍼 (speechToTextWithDiarizationAuto)
- 백엔드: Speech Adaptation 도메인 용어 힌트 (블라인드/스크린 등 22개)
- 백엔드: V2 SentencePiece 토큰 자동 감지 분기 처리
- 설정: config/services.php에 google.location 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 21:01:37 +09:00

100 lines
3.2 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark, AWS and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'postmark' => [
'key' => env('POSTMARK_API_KEY'),
],
'resend' => [
'key' => env('RESEND_API_KEY'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
'gemini' => [
'api_key' => env('GEMINI_API_KEY'),
'project_id' => env('GEMINI_PROJECT_ID', 'codebridge-chatbot'),
],
'claude' => [
'api_key' => env('CLAUDE_API_KEY'),
],
'google' => [
'credentials_path' => env('GOOGLE_APPLICATION_CREDENTIALS'),
'storage_bucket' => env('GOOGLE_STORAGE_BUCKET'),
'location' => env('GOOGLE_STT_LOCATION', 'us-central1'),
],
/*
|--------------------------------------------------------------------------
| 바로빌 API
|--------------------------------------------------------------------------
| 바로빌 SOAP 웹서비스 연동 설정
| - cert_key_test: 테스트 환경용 CERTKEY
| - cert_key_prod: 운영 환경용 CERTKEY
| - corp_num: 파트너 사업자번호 (하이픈 제외)
| - test_mode: 테스트 환경 사용 여부 (true: 테스트, false: 운영)
|
| @see https://dev.barobill.co.kr/
*/
'barobill' => [
'cert_key_test' => env('BAROBILL_CERT_KEY_TEST', ''),
'cert_key_prod' => env('BAROBILL_CERT_KEY_PROD', ''),
'corp_num' => env('BAROBILL_CORP_NUM', ''),
'test_mode' => env('BAROBILL_TEST_MODE', true),
],
/*
|--------------------------------------------------------------------------
| SAM API Server
|--------------------------------------------------------------------------
| API 로그 재전송 시 사용할 API 서버 URL
| - 로컬 Docker: http://api:80
| - 개발 서버: https://api.codebridge-x.com
| - 운영 서버: https://api.sam.kr
*/
'api' => [
'base_url' => env('API_BASE_URL'),
'key' => env('FLOW_TESTER_API_KEY'),
'exchange_secret' => env('INTERNAL_EXCHANGE_SECRET'),
],
/*
|--------------------------------------------------------------------------
| DEV Site (React Frontend)
|--------------------------------------------------------------------------
| MNG → DEV 자동 로그인 시 사용할 DEV 사이트 URL
| - 로컬: https://dev.sam.kr
| - 개발: https://dev.codebridge-x.com
*/
'dev' => [
'app_url' => env('DEV_APP_URL', 'https://dev.sam.kr'),
],
];