Python实现GPT自动问答与保存
Python实现GPT自动问答与保存
目录结构
gpt_auto_qna/
├── main.py # 主程序入口
├── config.py # 配置文件
├── gpt_client.py # GPT客户端类
├── file_manager.py # 文件管理类
├── scheduler.py # 任务调度器
├── logger.py # 日志管理
├── requirements.txt # 依赖包列表
├── questions/ # 问题库目录
│ ├── default_questions.txt
│ └── custom_questions.txt
└── templates/ # 模板文件└── email_template.html
1. 配置文件 (config.py)
"""
GPT自动问答系统配置文件
包含所有可配置参数和设置
"""import os
from d