-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 1.25 KB
/
.env.example
File metadata and controls
38 lines (30 loc) · 1.25 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
# Qwen (通义千问) API Configuration
QWEN_API_KEY=your_qwen_api_key_here
QWEN_MODEL=qwen-turbo
QWEN_EMBEDDING_MODEL=text-embedding-v2
# Pinecone Vector Database Configuration
PINECONE_API_KEY=your_pinecone_api_key_here
PINECONE_INDEX_NAME=pdf-chat
# Upstash Redis Configuration
# KV_REST_API_URL=
# KV_REST_API_TOKEN=
# Supabase Configuration (用户认证和数据库)
# 请访问 https://supabase.com/dashboard 创建项目并获取以下信息
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key_here
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key_here
# Resend Email Configuration (已弃用,改用 Gmail)
# RESEND_API_KEY=your_resend_api_key_here
# Nodemailer + Gmail Configuration
# 获取应用专用密码:https://myaccount.google.com/apppasswords
EMAIL_SERVICE=gmail
EMAIL_USER=your_email@gmail.com
EMAIL_PASSWORD=your_gmail_app_password_here
# Application Configuration
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Vercel Blob Storage (PDF 文件持久化存储)
# 获取方式:Vercel Dashboard → Settings → Storage → Create Blob
BLOB_READ_WRITE_TOKEN=your_vercel_blob_token_here
# Admin Configuration (管理员凭证)
ADMIN_USERNAME=admin
ADMIN_PASSWORD=your_secure_password_here