-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
73 lines (63 loc) · 2.12 KB
/
env.example
File metadata and controls
73 lines (63 loc) · 2.12 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
# =====================================
# Core Configuration
# =====================================
OPENAI_API_KEY=<your_open_ai_api_key>
NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=<your_neo4j_password>
# =====================================
# V2 Configuration (Google/Gemini)
# =====================================
# Your Google API key for Gemini services
# Get this from: https://console.cloud.google.com/
GOOGLE_API_KEY=<your_gemini_api_key>
# Google LLM Model Configuration
# Model to use for language generation
GOOGLE_LLM_MODEL=gemini-2.5-flash
# Google Embedding Model Configuration
# Model to use for text embeddings
GOOGLE_EMBEDDING_MODEL=embedding-001
# Google Reranker Model Configuration
# Model to use for reranking search results
GOOGLE_RERANKER_MODEL=gemini-2.5-flash-lite
# Gemini OpenAI Base URL
# Base URL for Gemini OpenAI-compatible API
GEMINI_OPENAI_BASE=https://generativelanguage.googleapis.com/v1beta/openai/
# =====================================
# V1 Configuration
# =====================================
# LLM Configuration
# =====================================
LLM_TEMPERATURE=0.2
LLM_TIMEOUT=60
LLM_EVAL_TEMPERATURE=0.0
LLM_MODEL_NAME=gpt-4
LLM_OLLAMA_MODEL_NAME=mistral
LLM_TOPK=10
LLM_EMBEDDING_MODEL_NAME=Qwen/Qwen3-Embedding-0.6B
LLM_RERANKER_MODEL_NAME=Qwen/Qwen3-reranker-0.6B
LLM_RERANK_TOP_K=5
OPENAI_EMBEDDING_MODEL_NAME=text-embedding-ada-002
# Amazon Bedrock Configuration
# =====================================
AWS_REGION=us-west-2
AWS_BEARER_TOKEN_BEDROCK=your_aws_bedrock_api
AWS_LLM_MODEL_NAME=openai.gpt-oss-20b-1:0
AWS_RERANKER_MODEL_NAME=amazon.rerank-v1:0
AWS_GENERATIVE_MODEL_NAME=amazon.titan-embed-text-v2:0
AWS_TEMPERATURE=0.0
# Search and Retrieval Configuration
# =====================================
SEARCH_CONFIDENCE_THRESHOLD=0.2
DOMAIN_SEARCH_K=5
DOMAIN_THRESHOLD=0.3
RETRIEVAL_TEMPERATURE=0.5
SEARCH_ACTIVATION_TIMEOUT=30
# Document Processing Configuration
# =====================================
DOC_MIN_FONT_SIZE=12.0
DOC_HEADING_FONT_LARGE=20.0
DOC_HEADING_FONT_MEDIUM=17.0
DOC_HEADING_FONT_SMALL=14.0
DOC_HEADING_FONT_THRESHOLD_MERGE=18.0
DOC_MAX_HEADING_WORDS=10