forked from feniks-pham/chatbot-rag-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.dev.example
More file actions
55 lines (45 loc) · 1.45 KB
/
Copy pathenv.dev.example
File metadata and controls
55 lines (45 loc) · 1.45 KB
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
# Development Environment Configuration
APP_ENV=dev
API_BASE_URL=http://localhost:8000/api
# Database Type (postgres or opensearch)
DATABASE=postgres
# Database (Docker PostgreSQL)
DATABASE_URL=postgresql://username:password@your_database_host:your_database_port/your_database_name
# Database (Docker OpenSearch)
OPENSEARCH_INITIAL_ADMIN_PASSWORD=your_opensearch_password
OPENSEARCH_URL=https://username:password@your_opensearch_host:your_opensearch_port
# S3 Settings (not used in dev, but kept for compatibility)
S3_PATH=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
S3_ENDPOINT_URL=
# LLM Configuration
LLM_API_URL=your_llm_api_url
LLM_API_KEY=your_llm_api_key
LLM_MODEL=your_llm_api_model
# TTS Configuration
TTS_API_URL=your_tts_api_url
TTS_API_KEY=your_tts_api_key
TTS_MODEL=zalo-tts-vi
TTS_SPEAKER_ID=1
TTS_SPEED=1.0
TTS_ENCODE_TYPE=1
# GEMINI TTS Configuration
GEMINI_TTS_API_URL=your_gemini_tts_api_url
GEMINI_TTS_API_KEY=your_gemini_api_key
GEMINI_TTS_VOICE_LANGUAGE_CODE=vi-VN
GEMINI_TTS_VOICE_NAME=vi-VN-Standard-C
GEMINI_TTS_AUDIO_ENCODING=MP3
GEMINI_TTS_SPEAKING_RATE=1.0
GEMINI_TTS_PITCH=0.0
GEMINI_TTS_SAMPLE_RATE_HERTZ=24000
# Embedding Configuration
EMBEDDING_API_URL=your_embedding_api_url
EMBEDDING_API_KEY=your_embedding_api_key
EMBEDDING_MODEL_NAME=your_embedding_model_name
EMBEDDING_MAX_TOKENS=your_embedding_model_max_tokens
# Huggingface Configuration
HF_TOKEN=your_huggingface_token
# Application Settings
LOG_LEVEL=INFO
LOG_DIR=~/logs/chatbot