Files
GoFundBot/Backend/.env.example
2026-02-02 00:16:23 +08:00

71 lines
2.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ===========================================
# MyBot 环境变量配置示例
# 复制此文件为 .env 并填入你的 API Key
# ===========================================
# ===========================================
# 硅基流动SiliconFlow配置 【推荐】
# 官网https://siliconflow.cn/
# 支持多种开源模型,价格便宜
# ===========================================
LLM_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
LLM_API_BASE=https://api.siliconflow.cn/v1
LLM_MODEL=Qwen/Qwen3-8B
# 可选模型(硅基流动支持的模型):
# - Qwen/Qwen2.5-7B-Instruct (推荐,免费)
# - Qwen/Qwen2.5-14B-Instruct
# - Qwen/Qwen2.5-32B-Instruct
# - Qwen/Qwen2.5-72B-Instruct
# - deepseek-ai/DeepSeek-V3 (推荐)
# - deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
# - THUDM/glm-4-9b-chat
# - meta-llama/Meta-Llama-3.1-8B-Instruct
# ===========================================
# DeepSeek 配置(性价比高)
# 官网https://platform.deepseek.com/
# ===========================================
# LLM_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# LLM_API_BASE=https://api.deepseek.com/v1
# LLM_MODEL=deepseek-chat
# ===========================================
# 通义千问配置(阿里云)
# 官网https://dashscope.aliyun.com/
# ===========================================
# LLM_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# LLM_API_BASE=https://dashscope.aliyuncs.com/compatible-mode/v1
# LLM_MODEL=qwen-turbo
# ===========================================
# 智谱AI配置清华出品
# 官网https://open.bigmodel.cn/
# ===========================================
# LLM_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# LLM_API_BASE=https://open.bigmodel.cn/api/paas/v4
# LLM_MODEL=glm-4
# ===========================================
# Moonshot配置Kimi
# 官网https://platform.moonshot.cn/
# ===========================================
# LLM_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# LLM_API_BASE=https://api.moonshot.cn/v1
# LLM_MODEL=moonshot-v1-8k
# ===========================================
# OpenAI配置国际版
# 官网https://platform.openai.com/
# ===========================================
# LLM_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# LLM_API_BASE=https://api.openai.com/v1
# LLM_MODEL=gpt-4o-mini
# ===========================================
# 搜索引擎 API 配置(可选,用于获取实时新闻)
# ===========================================
# TAVILY_API_KEY=tvly-xxxxxxxxxxxxxxxxxxxxxxxx
# SERPAPI_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxx
# BOCHA_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxx