Files
AIRegulation-DocAnalysis/.env
2026-04-28 11:29:33 +08:00

48 lines
953 B
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.

# 环境变量配置 - 已有数据库服务
# 应用配置
APP_NAME=AI+合规智能中枢
APP_VERSION=0.1.0
DEBUG=false
# Milvus向量数据库配置已有
MILVUS_HOST=localhost
MILVUS_PORT=19530
MILVUS_COLLECTION=regulations
MILVUS_DB_NAME=default
# MinIO对象存储配置已有
MINIO_ENDPOINT=localhost:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET=compliance-docs
MINIO_SECURE=false
# Redis配置已有
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=redis@123
REDIS_DB=0
# PostgreSQL配置已有
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=postgresql
POSTGRES_PASSWORD=postgresql123456
POSTGRES_DB=compliance_db
# 嵌入模型配置
EMBEDDING_MODEL=BAAI/bge-m3
EMBEDDING_DIM=1024
EMBEDDING_MAX_LENGTH=8192
EMBEDDING_BATCH_SIZE=12
EMBEDDING_USE_FP16=true
# 文档处理配置
CHUNK_SIZE=512
CHUNK_OVERLAP=50
MAX_FILE_SIZE_MB=100
# API配置
API_HOST=0.0.0.0
API_PORT=8000