-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (38 loc) · 1.3 KB
/
.env.example
File metadata and controls
46 lines (38 loc) · 1.3 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
# Codesearch Configuration Example
# Copy this file to .env and update values as needed
# This file is NOT included in version control (see .gitignore)
# Database Configuration
# Location where codesearch stores the vector database
# Default: ~/.codesearch
CODESEARCH_DB_PATH=~/.codesearch
# Programming Language Filter
# Default language for searches if not specified in command
# Options: python, typescript, go
# Default: python
CODESEARCH_LANGUAGE=python
# Output Format
# Default output format for CLI results
# Options: table (for terminal), json (for scripts)
# Default: table
CODESEARCH_OUTPUT_FORMAT=table
# Logging Level
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
# Default: INFO
CODESEARCH_LOG_LEVEL=INFO
# Embedding Model
# Name of the sentence-transformers model to use
# Options:
# - all-MiniLM-L6-v2 (384 dims, fast, default)
# - all-mpnet-base-v2 (768 dims, more accurate)
# - other HuggingFace sentence-transformers models
# Default: sentence-transformers/all-MiniLM-L6-v2
CODESEARCH_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
# Indexing Configuration
# Number of parallel workers for indexing
# Default: CPU count
CODESEARCH_INDEXING_WORKERS=4
# Batch size for embedding generation
# Default: 32
CODESEARCH_BATCH_SIZE=32
# Development Configuration (for development only)
DEBUG=false