-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
36 lines (29 loc) · 1.32 KB
/
.env.example
File metadata and controls
36 lines (29 loc) · 1.32 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
# DeepReader 环境变量配置
# 复制此文件为 .env 并填入你的实际 API 密钥
# ============================================================
# 🔑 DeepReader 必需的 API 密钥(只需要这两个!)
# ============================================================
# Google Gemini API 密钥(用于所有 LLM 调用)
# 获取地址: https://aistudio.google.com/app/apikey
GOOGLE_API_KEY=your-google-api-key-here
# OpenAI API 密钥(用于文档向量化嵌入)
# 获取地址: https://platform.openai.com/api-keys
# 使用模型: text-embedding-3-large
OPENAI_API_KEY=your-openai-api-key-here
# ============================================================
# ⚙️ 可选配置(通常不需要修改)
# ============================================================
# LLM 温度参数(控制生成的随机性,0-1之间,默认0.5)
# TEMPERATURE=0.5
# 语言设置
# LANGUAGE=chinese
# ============================================================
# 📝 说明
# ============================================================
# DeepReader 是本地文档分析系统,使用:
# - FAISS 向量数据库(本地存储)
# - OpenAI Embeddings(文档向量化)
# - Google Gemini(LLM 推理)
#
# 不需要网络搜索引擎 API(Serper/Tavily 等)
# 所有分析都基于你上传的文档内容