-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
24 lines (22 loc) · 1002 Bytes
/
.env.example
File metadata and controls
24 lines (22 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ============================================
# SpendAnalysis 环境变量配置示例
# ============================================
# 复制此文件为 .env 并填入你的实际配置
# --------------------------------------------
# LLM API 配置(兼容 OpenAI 接口格式)
# --------------------------------------------
# 用于 AI 分类和洞察功能,支持以下服务:
# - OpenAI: https://platform.openai.com/
# - 智谱 GLM: https://open.bigmodel.cn/
# - DeepSeek: https://platform.deepseek.com/
# - Moonshot: https://platform.moonshot.cn/
# - 以及其他兼容 OpenAI API 格式的服务
LLM_API_KEY=your_api_key_here
LLM_BASE_URL=https://api.openai.com/v1
LLM_MODEL=gpt-4o-mini
# --------------------------------------------
# Anthropic Claude API(可选)
# --------------------------------------------
# 用于 AI 洞察功能,如果上面配置了 LLM API 则此项可选
# 获取地址: https://console.anthropic.com/
# ANTHROPIC_API_KEY=your_anthropic_api_key_here