Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
78 lines (66 loc) · 2.78 KB
/
Copy path.env.example
File metadata and controls
78 lines (66 loc) · 2.78 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
74
75
76
77
78
# Daft Examples - Environment Variables
# Copy this file to .env and fill in your API keys:
# cp .env.example .env
# ============================================================================
# Required for Quickstart Examples (01-05)
# ============================================================================
# OpenAI API Key (required for most examples)
# Get yours at: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-proj-
# ============================================================================
# Optional for Quickstart Examples
# ============================================================================
# Turbopuffer API Key (optional - for vector search in quickstart/02)
# Get yours at: https://turbopuffer.com
# If not set, quickstart/02 will skip the database write step
TURBOPUFFER_API_KEY=
# ============================================================================
# Optional for Advanced Examples
# ============================================================================
# OpenRouter API Key (for multi-model access)
# Get yours at: https://openrouter.ai/keys
# Used in: examples/prompt/prompt_session.py
OPENROUTER_API_KEY=sk-or-v1-
# HuggingFace Token (for private datasets)
# Get yours at: https://huggingface.co/settings/tokens
# Most examples use public datasets and don't need this
HF_TOKEN=
# AWS Credentials (for S3 data ingestion examples)
# Used in: datasets/common_crawl/, datasets/tpch/
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_SESSION_TOKEN=
# Databricks Unity Catalog (for UC integration examples)
# Used in: examples/prompt/prompt_unity_catalog.py
UC_TABLE_NAME=
# Lakehouse Analytics pipeline (optional - local mode does not need these)
# Used in: pipelines/lakehouse_analytics/
# Set GCP_PROJECT and GCS_BUCKET (both, your own project and bucket) for BigLake
# mode, or AWS_S3_BUCKET for AWS Glue mode. There are no defaults for these.
# Leave all unset for local SQLite Iceberg.
GCP_PROJECT=
GCS_BUCKET=
AWS_S3_BUCKET=
AWS_REGION=us-east-1
LAKEHOUSE_NAMESPACE=analytics
LAKEHOUSE_DIR=.lakehouse
# Generic SQL backfill into the lakehouse
# BACKFILL_QUERY and BACKFILL_SOURCE_TABLE are mutually exclusive.
BACKFILL_SOURCE_URL=
BACKFILL_QUERY=
BACKFILL_SOURCE_TABLE=
BACKFILL_TARGET_TABLE=
BACKFILL_KEY=
BACKFILL_TARGET_NAMESPACE=analytics
# ============================================================================
# Quick Start Guide
# ============================================================================
#
# For hackathon participants - minimum viable setup:
# 1. Copy this file: cp .env.example .env
# 2. Add your OpenAI API key
# 3. Run: uv run quickstart/01_hello_world_prompt.py
#
# That's it! Other API keys are optional and only needed for specific examples.
#
# ============================================================================