58 lines
1.6 KiB
Bash
58 lines
1.6 KiB
Bash
|
|
# 环境变量配置文件
|
||
|
|
# 复制此文件为 .env 并填写实际值
|
||
|
|
|
||
|
|
# 数据库配置
|
||
|
|
DATABASE_URL=postgresql+asyncpg://postgres:postgres123@localhost:5432/flexible_test_platform
|
||
|
|
|
||
|
|
# AI 服务配置 (支持任何 OpenAI 兼容的 API)
|
||
|
|
# 通义千问示例:
|
||
|
|
# AI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||
|
|
# AI_MODEL=qwen-plus
|
||
|
|
# DeepSeek 示例:
|
||
|
|
# AI_BASE_URL=https://api.deepseek.com/v1
|
||
|
|
# AI_MODEL=deepseek-chat
|
||
|
|
# OpenAI 示例:
|
||
|
|
# AI_BASE_URL=https://api.openai.com/v1
|
||
|
|
# AI_MODEL=gpt-4
|
||
|
|
|
||
|
|
AI_API_KEY=sk-2d8e680151b240e2a2e40294834d3b03
|
||
|
|
AI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||
|
|
AI_MODEL=qwen-plus
|
||
|
|
|
||
|
|
#轨迹流动
|
||
|
|
QWEN_API_KEY=sk-lnyjdovsoclgxdryzxwwxyvxgspkegwvuakxgonoewolgdpx
|
||
|
|
|
||
|
|
MinerU_URL=http://10.10.5.251:8000/file_parse
|
||
|
|
|
||
|
|
# MinerU调用示例
|
||
|
|
# curl -X 'POST' \
|
||
|
|
# 'http://10.10.5.251:8000/file_parse' \
|
||
|
|
# -H 'accept: application/json' \
|
||
|
|
# -H 'Content-Type: multipart/form-data' \
|
||
|
|
# -F 'return_middle_json=false' \
|
||
|
|
# -F 'return_model_output=false' \
|
||
|
|
# -F 'return_md=true' \
|
||
|
|
# -F 'return_images=false' \
|
||
|
|
# -F 'end_page_id=99999' \
|
||
|
|
# -F 'parse_method=auto' \
|
||
|
|
# -F 'start_page_id=0' \
|
||
|
|
# -F 'lang_list=ch' \
|
||
|
|
# -F 'output_dir=./output' \
|
||
|
|
# -F 'server_url=string' \
|
||
|
|
# -F 'return_content_list=false' \
|
||
|
|
# -F 'backend=hybrid-auto-engine' \
|
||
|
|
# -F 'table_enable=true' \
|
||
|
|
# -F 'response_format_zip=false' \
|
||
|
|
# -F 'files=@广西职业师范学院教案.pdf;type=application/pdf' \
|
||
|
|
# -F 'formula_enable=true'
|
||
|
|
|
||
|
|
# MinerU响应示例
|
||
|
|
# {
|
||
|
|
# "backend": "hybrid-auto-engine",
|
||
|
|
# "version": "2.7.5",
|
||
|
|
# "results": {
|
||
|
|
# "广西职业师范学院教案": {
|
||
|
|
# "md_content":
|
||
|
|
# }
|
||
|
|
# }
|
||
|
|
# }
|