-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.env.example
More file actions
55 lines (44 loc) · 2.23 KB
/
.env.example
File metadata and controls
55 lines (44 loc) · 2.23 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
# Doc-Serve Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# API Configuration
# =============================================================================
API_HOST=127.0.0.1
API_PORT=8000
DEBUG=false
# =============================================================================
# OpenAI Configuration (Required for embeddings)
# =============================================================================
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-your-openai-api-key-here
# Embedding model to use (default: text-embedding-3-large)
# Options: text-embedding-3-large, text-embedding-3-small, text-embedding-ada-002
EMBEDDING_MODEL=text-embedding-3-large
# =============================================================================
# Anthropic Configuration (Optional - for summarization)
# =============================================================================
# Get your API key from: https://console.anthropic.com/settings/keys
ANTHROPIC_API_KEY=sk-ant-your-anthropic-api-key-here
# Claude model for summarization (default: claude-haiku-4-5-20251001)
CLAUDE_MODEL=claude-haiku-4-5-20251001
# =============================================================================
# Chroma Vector Store Configuration
# =============================================================================
# Directory where Chroma stores the vector database
CHROMA_PERSIST_DIR=./chroma_db
# Name of the collection in the vector store
COLLECTION_NAME=doc_serve_collection
# =============================================================================
# Chunking Configuration
# =============================================================================
# Target chunk size in tokens (default: 512)
DEFAULT_CHUNK_SIZE=512
# Overlap between chunks in tokens (default: 50)
DEFAULT_CHUNK_OVERLAP=50
# =============================================================================
# Query Configuration
# =============================================================================
# Default number of results to return (default: 5)
DEFAULT_TOP_K=5
# Default similarity threshold (0.0 to 1.0, default: 0.7)
DEFAULT_SIMILARITY_THRESHOLD=0.7