File size: 5,288 Bytes
6337da3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# ═══════════════════════════════════════════════════════════════════════════
# ForensiX AI β€” Multi-Agent System Environment Configuration
# ═══════════════════════════════════════════════════════════════════════════
#
# Copy this file to .env.local and fill in your API keys.
# The system works with ANY combination β€” missing keys = that agent uses fallback.
#
# ═══════════════════════════════════════════════════════════════════════════

# ─────────────────────────────────────────────────────────────────────────
# GEMINI (Google AI) β€” Powers: Autopsy Agent, CCTV Agent, Validation
# ─────────────────────────────────────────────────────────────────────────
# Get key: https://aistudio.google.com/apikey
# Free tier: 15 RPM / 1M TPM
#
GEMINI_API_KEY=
GEMINI_BASE_URL=https://generativelanguage.googleapis.com/v1beta
GEMINI_MODEL_PRO=gemini-2.5-pro
GEMINI_MODEL_FLASH=gemini-2.5-flash
GEMINI_MODEL_LITE=gemini-2.5-flash-lite

# ─────────────────────────────────────────────────────────────────────────
# FEATHERLESS (LLM) β€” Powers: Toxicology, Correlation, Explainability
# ─────────────────────────────────────────────────────────────────────────
# Get key: https://featherless.ai
# Premium plan recommended for unlimited usage
#
FEATHERLESS_API_KEY=
FEATHERLESS_BASE_URL=https://api.featherless.ai/v1
FEATHERLESS_MODEL=meta-llama/Meta-Llama-3.1-70B-Instruct

# ─────────────────────────────────────────────────────────────────────────
# HUGGINGFACE (ML Models) β€” Powers: NER, Classification, Embeddings
# ─────────────────────────────────────────────────────────────────────────
# Get token: https://huggingface.co/settings/tokens
# Free tier: 30K characters/month
#
HF_TOKEN=
HF_BASE_URL=https://api-inference.huggingface.co/models
HF_MODEL_NER=dbmdz/bert-large-cased-finetuned-conll03-english
HF_MODEL_ZERO_SHOT=facebook/bart-large-mnli
HF_MODEL_EMBEDDINGS=sentence-transformers/all-MiniLM-L6-v2

# ─────────────────────────────────────────────────────────────────────────
# ALTERNATIVE LLM PROVIDER (Optional β€” replaces Featherless if set)
# ─────────────────────────────────────────────────────────────────────────
# Works with ANY OpenAI-compatible API:
# - OpenAI:      https://api.openai.com/v1
# - Together:    https://api.together.xyz/v1
# - Groq:        https://api.groq.com/openai/v1
# - DeepSeek:    https://api.deepseek.com/v1
# - OpenRouter:  https://openrouter.ai/api/v1
# - Mistral:     https://api.mistral.ai/v1
# - Ollama:      http://localhost:11434/v1
# - LM Studio:   http://localhost:1234/v1
# - vLLM:        http://localhost:8000/v1
# - Any custom:  https://your-server.com/v1
#
# LLM_BASE_URL=
# LLM_API_KEY=
# LLM_MODEL=

# ─────────────────────────────────────────────────────────────────────────
# DATABASE
# ─────────────────────────────────────────────────────────────────────────
DATABASE_URL="file:./dev.db"

# ─────────────────────────────────────────────────────────────────────────
# APPLICATION
# ─────────────────────────────────────────────────────────────────────────
NEXT_PUBLIC_APP_NAME=ForensiX AI
NEXT_PUBLIC_APP_VERSION=2.0.0