-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (34 loc) · 1.98 KB
/
.env.example
File metadata and controls
41 lines (34 loc) · 1.98 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
# =============================================================================
# CocoIndex Claude Code - Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your values:
# cp .env.example .env
# =============================================================================
# -----------------------------------------------------------------------------
# Database Configuration (Required)
# -----------------------------------------------------------------------------
# PostgreSQL with pgvector - run: docker compose -f docker/compose.yaml up -d
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex
# -----------------------------------------------------------------------------
# API Keys (Required for full functionality)
# -----------------------------------------------------------------------------
# OpenAI API Key - Required for text embeddings (text-embedding-3-small)
# Get your key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your_openai_api_key_here
# Anthropic API Key - Required for LLM metadata extraction
# Get your key from: https://console.anthropic.com/
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# -----------------------------------------------------------------------------
# Server Configuration (Optional)
# -----------------------------------------------------------------------------
# CocoIndex server address for CocoInsight connection
COCOINDEX_SERVER_ADDRESS=127.0.0.1:49344
# CORS origins for web access
COCOINDEX_SERVER_CORS_ORIGINS=https://cocoindex.io,http://localhost:3000
# -----------------------------------------------------------------------------
# Platform-Specific Settings (Optional)
# -----------------------------------------------------------------------------
# Mac-specific: Fallback to CPU for operations not supported by MPS
PYTORCH_ENABLE_MPS_FALLBACK=1
# Optional: App namespace for flow isolation
# COCOINDEX_APP_NAMESPACE=workspace