Spaces:
Running
Running
| # TUM Search Engine 环境变量配置 | |
| # 复制此文件为 .env 并填入真实的配置值 | |
| # ========================================== | |
| # Qdrant 向量数据库配置(必需) | |
| # ========================================== | |
| # Qdrant 数据库的 URL | |
| # 例如:https://your-cluster.qdrant.io 或 http://localhost:6333 | |
| QDRANT_URL=https://your-qdrant-instance.qdrant.io | |
| # Qdrant API 密钥 | |
| # 从 Qdrant Cloud 控制台获取 | |
| QDRANT_API_KEY=your-qdrant-api-key-here | |
| # ========================================== | |
| # Google Gemini API 配置(可选) | |
| # ========================================== | |
| # Google Gemini API 密钥,用于内容摘要功能 | |
| # 如果没有配置,摘要功能将不可用,但其他功能正常 | |
| # 获取方式:https://makersuite.google.com/app/apikey | |
| GOOGLE_API_KEY=your-google-gemini-api-key-here | |
| # ========================================== | |
| # 爬取密码配置(可选) | |
| # ========================================== | |
| # URL爬取功能所需的密码 | |
| # 如果不设置,将无法使用URL爬取功能 | |
| # 建议设置一个强密码以确保安全 | |
| CRAWL_PASSWORD=your-crawl-password-here | |
| # ========================================== | |
| # 其他可选配置 | |
| # ========================================== | |
| # Python 日志级别(可选) | |
| # PYTHON_LOG_LEVEL=INFO | |