-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
112 lines (87 loc) · 2.96 KB
/
Copy path.env.example
File metadata and controls
112 lines (87 loc) · 2.96 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
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
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database
# PHP_CLI_SERVER_WORKERS=4
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
CACHE_STORE=database
# CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
VITE_APP_NAME="${APP_NAME}"
# ============================================================================
# Ollama Configuration
# ============================================================================
# Local LLM API settings for code Q&A and embeddings
#
# Setup Instructions:
# 1. Install Ollama from https://ollama.ai
# 2. Pull required models:
# - ollama pull gemma3:4b (or your preferred chat model)
# - ollama pull nomic-embed-text (required for embeddings)
# 3. Ensure Ollama is running: ollama serve
# ============================================================================
# Ollama API URL (default: http://127.0.0.1:11434)
OLLAMA_URL=http://127.0.0.1:11434
# Connection timeout in seconds for API requests
OLLAMA_CONNECTION_TIMEOUT=300
# Default system prompt for general Ollama interactions
OLLAMA_DEFAULT_PROMPT="You are a senior Laravel/PHP assistant."
# Chat/completion model for answering questions
# Options: gemma3:4b, llama3:8b, codellama:7b, mistral:7b, etc.
OLLAMA_MODEL=gemma3:4b
# Embedding model for code indexing (MUST be consistent!)
# WARNING: Changing this after indexing will break queries
# Recommended: nomic-embed-text (384 dimensions, fast)
OLLAMA_EMBED_MODEL=nomic-embed-text
# ============================================================================
# Code Q&A Configuration
# ============================================================================
# Fine-tune the code indexing and question-answering behavior
# ============================================================================
# Number of top similar code chunks to retrieve as context
OLLAMA_CODE_QA_TOP_K=8
# Temperature for code Q&A responses (0.0-1.0, lower = more focused)
OLLAMA_CODE_QA_TEMPERATURE=0.2
# System prompt for code Q&A (optional override)
# OLLAMA_CODE_QA_PROMPT="You are a senior Laravel/PHP assistant. Answer ONLY using the provided code context when relevant. If something is not in the context, say you are not sure."