-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
59 lines (49 loc) · 1.89 KB
/
Copy path.env.example
File metadata and controls
59 lines (49 loc) · 1.89 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
# Agentic Flink - Environment Configuration
# Copy this file to .env and update with your actual values
# PostgreSQL Configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=agentic_flink
POSTGRES_USER=flink_user
POSTGRES_PASSWORD=flink_password
POSTGRES_URL=jdbc:postgresql://localhost:5432/agentic_flink
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=flink_redis_password
REDIS_DATABASE=0
REDIS_TTL_SECONDS=3600
# Ollama Configuration
OLLAMA_HOST=http://localhost:11434
OLLAMA_MODEL=qwen2.5:3b
# Anthropic Claude (used by the ScreeningPipeline LLM tier and notebooks).
# Get one at https://console.anthropic.com/ — keys look like sk-ant-...
ANTHROPIC_API_KEY=
# ---- Runtime selector for the notebooks (af.bootstrap()) -------------------
# One of: inproc | session | embedded
# inproc = JPype JVM in this Python process; no cluster. Default.
# session = REST submission to a Flink session cluster at FLINK_REST_URL.
# embedded = JPype JVM + in-process Flink MiniCluster. No docker needed.
# See .env.{inproc,cluster.local,cluster.remote,embedded}.example for ready-to-use
# recipes per mode, and docs/compose.md for the matrix.
AGENTIC_FLINK_MODE=inproc
# Where to reach the JobManager REST when AGENTIC_FLINK_MODE=session.
# Default matches docker-compose-cluster.yml on this machine.
FLINK_REST_URL=http://localhost:8081
# OpenAI Configuration (if using OpenAI instead of Ollama)
# OPENAI_API_KEY=sk-your-key-here
# OPENAI_MODEL=gpt-4o-mini
# Coinbase live notebook (notebooks/08_coinbase_live_screening.ipynb)
# COINBASE_PRODUCTS=BTC-USD,ETH-USD,SOL-USD
# COINBASE_WINDOW_SECONDS=5
# COINBASE_MAX_WINDOWS=24
# Qdrant Configuration (if using vector search)
# QDRANT_HOST=localhost
# QDRANT_PORT=6333
# QDRANT_API_KEY=
# QDRANT_COLLECTION=agent_contexts
# Application Configuration
LOG_LEVEL=INFO
AGENT_TIMEOUT_MS=30000
CONTEXT_WINDOW_SIZE=4096
MAX_VALIDATION_ATTEMPTS=3