-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenv.example
More file actions
67 lines (54 loc) · 1.46 KB
/
env.example
File metadata and controls
67 lines (54 loc) · 1.46 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
# Application Configuration
APP_NAME=Code Graph Knowledge Service
DEBUG=true
HOST=0.0.0.0
PORT=8000
# Neo4j Configuration
NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=password
# LLM Provider (ollama/openai/gemini/openrouter)
LLM_PROVIDER=ollama
EMBEDDING_PROVIDER=ollama
# Ollama Configuration
tLLAMA_HOST=http://localhost:11434
OLLAMA_MODEL=llama3.2
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
# OpenAI Configuration (if using)
# OPENAI_API_KEY=your_api_key_here
# OPENAI_MODEL=gpt-3.5-turbo
# OPENAI_EMBEDDING_MODEL=text-embedding-ada-002
# Google Gemini Configuration (if using)
# GOOGLE_API_KEY=your_api_key_here
# GEMINI_MODEL=gemini-pro
# GEMINI_EMBEDDING_MODEL=models/embedding-001
# HuggingFace Configuration (if using)
# HF_EMBEDDING_MODEL=BAAI/bge-small-en-v1.5
# OpenRouter Configuration (if using)
# OPENROUTER_API_KEY=your_api_key_here
# OPENROUTER_MODEL=openai/gpt-3.5-turbo
# OPENROUTER_EMBEDDING_MODEL=text-embedding-ada-002
# OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
# OPENROUTER_MAX_TOKENS=2048
# Processing Configuration
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
TOP_K=10
VECTOR_DIMENSION=768
# Timeout Configuration
CONNECTION_TIMEOUT=30
OPERATION_TIMEOUT=120
LARGE_DOCUMENT_TIMEOUT=300
# Model Parameters
TEMPERATURE=0.1
MAX_TOKENS=2048
# RAG Settings
CHUNK_SIZE=512
CHUNK_OVERLAP=50
TOP_K=5
# Timeout Settings (in seconds)
CONNECTION_TIMEOUT=30
OPERATION_TIMEOUT=120
LARGE_DOCUMENT_TIMEOUT=300
# Vector Search Settings
VECTOR_DIMENSION=384