-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
105 lines (82 loc) · 3.93 KB
/
Copy path.env.example
File metadata and controls
105 lines (82 loc) · 3.93 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# ====================================
# AGENTE DE MERCADEO - CONFIGURACIÓN
# ====================================
# ┌─────────────────────────────────────┐
# │ APIs DE MODELOS DE IA │
# │ (Requerido al menos uno) │
# └─────────────────────────────────────┘
# OpenAI (Recomendado)
# Obtén tu key en: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-
# Anthropic Claude (Alternativo)
# Obtén tu key en: https://console.anthropic.com/
ANTHROPIC_API_KEY=sk-ant-
# Google Gemini (Alternativo)
# Obtén tu key en: https://aistudio.google.com/app/apikey
GOOGLE_API_KEY=
# ┌─────────────────────────────────────┐
# │ API DE BÚSQUEDA WEB │
# │ (Requerido) │
# └─────────────────────────────────────┘
# Tavily Search API
# Obtén tu key gratuita en: https://tavily.com
# 1000 búsquedas gratis por mes
TAVILY_API_KEY=tvly-
# ┌─────────────────────────────────────┐
# │ OBSERVABILIDAD Y MONITOREO │
# │ (Opcional pero recomendado) │
# └─────────────────────────────────────┘
# LangSmith para observabilidad
# Cuenta en: https://smith.langchain.com
LANGSMITH_API_KEY=ls__
LANGSMITH_TRACING=true
LANGSMITH_PROJECT=agente-mercadeo
# ┌─────────────────────────────────────┐
# │ AUTENTICACIÓN SUPABASE │
# │ (Opcional - para auth JWT) │
# └─────────────────────────────────────┘
# Supabase para autenticación
# Crea proyecto en: https://supabase.com
SUPABASE_URL=https://tu-proyecto.supabase.co
SUPABASE_KEY=eyJ
# ┌─────────────────────────────────────┐
# │ CONFIGURACIÓN AVANZADA │
# │ (Opcional) │
# └─────────────────────────────────────┘
# Control de API keys desde configuración
GET_API_KEYS_FROM_CONFIG=false
# Rate limiting y timeouts
API_TIMEOUT_SECONDS=30
MAX_CONCURRENT_SEARCHES=5
# Configuración de caché (futuro)
REDIS_URL=redis://localhost:6379
CACHE_ENABLED=false
# ┌─────────────────────────────────────┐
# │ CONFIGURACIÓN DE DESARROLLO │
# │ (Solo para desarrollo) │
# └─────────────────────────────────────┘
# Configuración de debug
DEBUG=false
LOG_LEVEL=INFO
# Puerto del servidor (solo si tienes conflictos)
LANGGRAPH_PORT=2024
# ====================================
# INSTRUCCIONES DE CONFIGURACIÓN
# ====================================
# 1. REQUISITOS MÍNIMOS:
# - OPENAI_API_KEY o ANTHROPIC_API_KEY
# - TAVILY_API_KEY
# 2. RECOMENDADO:
# - LANGSMITH_API_KEY para observabilidad
# - SUPABASE_URL y SUPABASE_KEY para auth
# 3. OBTENER API KEYS:
# - OpenAI: Necesitas agregar saldo ($5+ recomendado)
# - Tavily: Gratis hasta 1000 búsquedas/mes
# - LangSmith: Gratis para proyectos pequeños
# - Supabase: Gratis hasta cierto límite
# 4. CONFIGURACIÓN:
# - Copia este archivo a .env
# - Rellena las API keys necesarias
# - NO commitees el archivo .env real
# 5. VERIFICACIÓN:
# Ejecuta: python -c "import os; print('✅ OPENAI_API_KEY' if os.getenv('OPENAI_API_KEY') else '❌ OPENAI_API_KEY')"