-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv_template.txt
More file actions
61 lines (47 loc) · 2.22 KB
/
env_template.txt
File metadata and controls
61 lines (47 loc) · 2.22 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
56
57
58
59
60
61
# Code Quality Intelligence Agent - Environment Configuration Template
# Copy this file to .env and add your actual API keys
# =============================================================================
# AI/LLM API Keys
# =============================================================================
# Groq API Key (Primary LLM - Recommended)
# Get your free API key from: https://console.groq.com/keys
GROQ_API_KEY=your_groq_api_key_here
# OpenAI API Key (Fallback LLM)
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your_openai_api_key_here
# =============================================================================
# GitHub Integration (Optional)
# =============================================================================
# GitHub Personal Access Token (for private repositories)
# Get your token from: https://github.com/settings/tokens
GITHUB_TOKEN=your_github_token_here
# =============================================================================
# HuggingFace (Optional - for embeddings)
# =============================================================================
# HuggingFace API Token (for private models)
# Get your token from: https://huggingface.co/settings/tokens
HUGGINGFACE_API_TOKEN=your_huggingface_token_here
# =============================================================================
# Application Configuration
# =============================================================================
# Default LLM Model
DEFAULT_MODEL=groq/llama-3.1-8b-instant
# Fallback LLM Model
FALLBACK_MODEL=gpt-3.5-turbo
# Vector Database Configuration
VECTOR_DB_PATH=./data/vector_db
# Analysis Configuration
MAX_FILE_SIZE_MB=10
MAX_FILES_PER_ANALYSIS=1000
# Memory Optimization
PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:64
TOKENIZERS_PARALLELISM=false
OMP_NUM_THREADS=1
MKL_NUM_THREADS=1
# =============================================================================
# Instructions
# =============================================================================
# 1. Copy this file: cp env_template.txt .env
# 2. Replace the placeholder values with your actual API keys
# 3. Never commit .env files to version control (they're in .gitignore)
# 4. For Docker, mount the .env file: -v ./.env:/app/.env:ro