截图识别飞书个人任务清单
This commit is contained in:
45
config.example.yaml
Normal file
45
config.example.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
# ================= AI 配置 =================
|
||||
ai:
|
||||
# 推荐使用以下任一服务:
|
||||
# 1. Gemini (Google): https://ai.google.dev/
|
||||
# 2. SiliconFlow (硅基流动): https://cloud.siliconflow.cn/
|
||||
# 3. DeepSeek: https://platform.deepseek.com/
|
||||
# 4. Moonshot (月之暗面): https://platform.moonshot.cn/
|
||||
api_key: "sk-xxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
base_url: "https://api.siliconflow.cn/v1" # 根据服务商修改
|
||||
model: "gemini-2.5-pro" # 模型名称,根据服务商调整
|
||||
|
||||
# 重试配置(可选)
|
||||
max_retries: 3 # 最大重试次数
|
||||
retry_delay: 1.0 # 重试延迟(秒)
|
||||
|
||||
# ================= 飞书配置 =================
|
||||
feishu:
|
||||
# 飞书开放平台 -> 凭证与基础信息
|
||||
app_id: "cli_xxxxxxxxxxxx"
|
||||
app_secret: "xxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
|
||||
# 多维表格的 token (浏览器地址栏中 app 开头的那串字符)
|
||||
app_token: "bascnxxxxxxxxxxxxxxx"
|
||||
|
||||
# 数据表的 ID (在多维表格界面 -> 重命名数据表 -> 复制表ID)
|
||||
table_id: "tblxxxxxxxxxxxx"
|
||||
|
||||
# 重试配置(可选)
|
||||
max_retries: 3 # 最大重试次数
|
||||
retry_delay: 1.0 # 重试延迟(秒)
|
||||
|
||||
# ================= 系统配置 =================
|
||||
system:
|
||||
# 监控的文件夹路径 (Windows 路径注意使用双斜杠 \\ 或反斜杠 /)
|
||||
watch_folder: "./monitor_images"
|
||||
|
||||
# 处理完成后的文件处理方式: "delete" (删除) / "move" (移动) / "keep" (保留)
|
||||
post_process: "move"
|
||||
|
||||
# 文件移动的目标文件夹 (当 post_process 为 "move" 时生效)
|
||||
processed_folder: "./processed_images"
|
||||
|
||||
# 日志配置(可选)
|
||||
log_level: "INFO" # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
||||
log_file: "app.log" # 日志文件路径,留空则只输出到控制台
|
||||
Reference in New Issue
Block a user