-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
42 lines (34 loc) · 1.66 KB
/
Copy path.env.example
File metadata and controls
42 lines (34 loc) · 1.66 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
# GigaVector Environment Variables
# Copy this file to .env and fill in your actual values
# cp .env.example .env
# REQUIRED for Real API Call Tests
# OpenAI API Key (Required for LLM and embedding tests)
# Used for: OpenAI LLM, OpenAI embeddings, test_llm.c, test_memory_llm.c
# Format: Must start with "sk-"
# Get from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-your-openai-api-key-here
# Anthropic API Key (Required for Anthropic LLM tests)
# Used for: Anthropic/Claude LLM, test_llm.c
# Format: Must start with "sk-ant-"
# Get from: https://console.anthropic.com/settings/keys
ANTHROPIC_API_KEY=sk-ant-your-anthropic-api-key-here
# OPTIONAL - Feature-Specific
# Google API Key (Optional - for Google embeddings and Gemini LLM)
# Used for: Google Generative AI embeddings, Gemini chat, test_embedding.c, test_llm.c
# Format: Google API key (no specific prefix, typically 39+ characters)
# Get from: https://aistudio.google.com
# Default embedding model: text-embedding-004 (768 dimensions)
# Default LLM model: gemini-2.5-flash
# Legacy alias: GEMINI_API_KEY (still accepted by tests)
GOOGLE_API_KEY=your-google-api-key-here
# OPTIONAL - Configuration
# WAL Directory Override (Optional)
# Used for: Override the default WAL (Write-Ahead Log) directory location
# If not set, WAL files are stored in the same directory as the database file
# Example: /tmp/gigavector_wal
GV_WAL_DIR=
# Notes:
# - Azure OpenAI and Custom providers require base_url + api_key in code/config,
# not environment variables. See docs/api_keys_required.md for details.
# - HuggingFace embeddings don't require API keys (runs locally)
# - Never commit your .env file - it's already in .gitignore