-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-default
49 lines (40 loc) · 2.39 KB
/
.env-default
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
# Discord Bot Configuration
DISCORD_TOKEN="YourDiscordTokenHere" # Your Discord bot token
BOT_ACTIVITY="Let you get info from anilist." # Activity displayed on bot status
# OpenAI API Tokens and Base URLs
AI_API_TOKEN="YourOpenAITokenHere" # Token for general AI requests
AI_API_BASE_URL="https://api.openai.com/v1/" # Default base URL for AI requests
# Image Generation Settings
AI_IMAGE_API_TOKEN="${AI_API_TOKEN}" # Token for image-related AI requests (defaults to AI_API_TOKEN)
AI_IMAGE_API_BASE_URL="${AI_API_BASE_URL}" # Base URL for image AI requests (defaults to AI_API_BASE_URL)
AI_IMAGE_GENERATION_MODELS="dall-e-3" # Model(s) used for image generation (default)
AI_IMAGE_QUALITY="hd" # Quality setting for generated images
AI_IMAGE_STYLE="vivid" # Style setting for generated images
AI_IMAGE_SIZE="1024x1024" # Size of generated images (default)
# Chatbot Configuration
AI_CHAT_API_TOKEN="${AI_API_TOKEN}" # Token for chat-related AI requests (defaults to AI_API_TOKEN)
AI_CHAT_API_BASE_URL="${AI_API_BASE_URL}" # Base URL for chat AI requests (defaults to AI_API_BASE_URL)
AI_CHAT_MODEL="gpt-3.5-turbo" # Model used for chat generation (default)
# Transcription Configuration
AI_TRANSCRIPT_API_TOKEN="${AI_API_TOKEN}" # Token for transcription-related AI requests (defaults to AI_API_TOKEN)
AI_TRANSCRIPT_BASE_URL="${AI_API_BASE_URL}" # Base URL for transcription AI requests (defaults to AI_API_BASE_URL)
AI_TRANSCRIPT_MODELS="whisper-1" # Model used for transcription generation (default)
# Logging and Debugging Configuration
RUST_LOG="info" # Level of logging (can be warn, error, info, debug, trace)
DB_TYPE="sqlite" # Database type (sqlite or postgres)
CACHE_TYPE="in-memory" # Cache type (in-memory)
# Bot configuration
REMOVE_OLD_COMMAND="false" # Remove old commands on startup
MAX_LOG_RETENTION_DAYS=30 # Maximum number of days to retain logs
# gRPC server configuration
GRPC_IS_ON="true" # Enable gRPC server
GRPC_SERVER_PORT="443" # Port for gRPC server
USE_SSL="true" # Use SSL for gRPC server
SSL_CERT_PATH="cert/cert.pem" # Path to SSL certificate
SSL_KEY_PATH="cert/key.pem" # Path to SSL key
# Media Saving Configuration
SAVE_IMAGE="local" # Where to save images (local, remote, false)
SAVE_SERVER="imgur" # Server to save media to (imgur, catbox)
TOKEN="ImgurClientIDOrCatboxUserHash" # Imgur client ID or Catbox user hash for authentication
# application configuration
TUI="true" # Enable the TUI interface