-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
87 lines (63 loc) · 3.32 KB
/
.env.example
File metadata and controls
87 lines (63 loc) · 3.32 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
# Claude Context Environment Variables Example
#
# Copy this file to ~/.context/.env and modify the values as needed
#
# Usage: cp env.example ~/.context/.env
# =============================================================================
# Embedding Provider Configuration
# =============================================================================
# Embedding provider: OpenAI, VoyageAI, Gemini, Ollama
EMBEDDING_PROVIDER=OpenAI
# Embedding model (provider-specific)
EMBEDDING_MODEL=text-embedding-3-small
# Embedding batch size for processing (default: 100)
# You can customize it according to the throughput of your embedding model. Generally, larger batch size means less indexing time.
EMBEDDING_BATCH_SIZE=100
# =============================================================================
# OpenAI Configuration
# =============================================================================
# OpenAI API key
OPENAI_API_KEY=your-openai-api-key-here
# OpenAI base URL (optional, for custom endpoints)
# OPENAI_BASE_URL=https://api.openai.com/v1
# =============================================================================
# VoyageAI Configuration
# =============================================================================
# VoyageAI API key
# VOYAGEAI_API_KEY=your-voyageai-api-key-here
# =============================================================================
# Gemini Configuration
# =============================================================================
# Google Gemini API key
# GEMINI_API_KEY=your-gemini-api-key-here
# =============================================================================
# Ollama Configuration
# =============================================================================
# Ollama model name
# OLLAMA_MODEL=
# Ollama host (default: http://localhost:11434)
# OLLAMA_HOST=http://localhost:11434
# =============================================================================
# Vector Database Configuration (Milvus/Zilliz)
# =============================================================================
# Milvus server address. It's optional when you get Zilliz Personal API Key.
# MILVUS_ADDRESS=your-zilliz-cloud-public-endpoint
# Milvus authentication token. You can refer to this guide to get Zilliz Personal API Key as your Milvus token.
# https://github.com/danielbowne/claude-context/blob/master/assets/signup_and_get_apikey.png
# MILVUS_TOKEN=your-zilliz-cloud-api-key
# =============================================================================
# Code Splitter Configuration
# =============================================================================
# Code splitter type: ast, langchain
SPLITTER_TYPE=ast
# =============================================================================
# Custom File Processing Configuration
# =============================================================================
# Additional file extensions to include beyond defaults (comma-separated)
# Example: .vue,.svelte,.astro,.twig,.blade.php
# CUSTOM_EXTENSIONS=.vue,.svelte,.astro
# Additional ignore patterns to exclude files/directories (comma-separated)
# Example: temp/**,*.backup,private/**,uploads/**
# CUSTOM_IGNORE_PATTERNS=temp/**,*.backup,private/**
# Whether to use hybrid search mode. If true, it will use both dense vector and BM25; if false, it will use only dense vector search.
# HYBRID_MODE=true