32 lines
691 B
YAML
32 lines
691 B
YAML
# BillAI 服务器配置文件
|
||
|
||
# 服务配置
|
||
server:
|
||
port: 8080
|
||
|
||
# Python 配置
|
||
python:
|
||
# Python 解释器路径(相对于项目根目录或绝对路径)
|
||
path: analyzer/venv/Scripts/python.exe
|
||
# 分析脚本路径(相对于项目根目录)
|
||
script: analyzer/clean_bill.py
|
||
|
||
# 文件目录配置(相对于项目根目录)
|
||
directories:
|
||
upload: server/uploads
|
||
output: server/outputs
|
||
|
||
# MongoDB 配置
|
||
mongodb:
|
||
# MongoDB 连接 URI(带认证)
|
||
uri: mongodb://admin:password@localhost:27017
|
||
# 数据库名称
|
||
database: billai
|
||
# 集合名称
|
||
collections:
|
||
# 原始数据集合
|
||
raw: bills_raw
|
||
# 清洗后数据集合
|
||
cleaned: bills_cleaned
|
||
|