Files
CIBank/backend/.env.example
T
2026-07-20 19:49:27 +08:00

34 lines
1.1 KiB
Bash
Raw 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.
# 阿里云 DashScope (通义千问) API Key
DASHSCOPE_API_KEY=replace_with_your_key
# 使用的千问模型
QWEN_MODEL=qwen-plus
# 文本向量模型
EMBEDDING_MODEL=text-embedding-v3
# Flask 配置
FLASK_SECRET_KEY=replace_with_a_random_local_secret
PORT=8765
# 采集频率控制(秒)
CRAWL_ARTICLE_PAUSE=2.0
CRAWL_LIST_PAUSE=1.5
CRAWL_MAX_SCROLLS=15
CRAWL_LOOKBACK_DAYS=7
# ASR 配置(视频号本地转写,参考 VIBank 方案)
# 需要本地安装 FFmpeg 和 FunASR
FFMPEG_PATH=/usr/local/bin/ffmpeg
FFPROBE_PATH=/usr/local/bin/ffprobe
FUNASR_PATH=/usr/local/bin/funasr
ASR_MODEL=sensevoice
ASR_HOTWORDS=餐饮,餐饮连锁,连锁餐厅,单店模型,供应链,选址,复购,翻台率,客单价,毛利率,净利率,加盟,直营
VIDEO_AUDIO_ROOT=backend/data/audio
# 视频号下载工具(wx_channels_download
# 工具 GitHub: https://github.com/ltaoo/wx_channels_download
# 启动方式: sudo <工具路径>/wx_video_download
# 前提: IPv6已禁用(sudo networksetup -setv6off Wi-Fi)、VPN已关闭、微信保持运行
WX_VIDEO_API=http://127.0.0.1:2022