.env.example 1.04 KB
# ====================
# OpenAI Configuration
# ====================
OPENAI_API_KEY=sk-c3b8d4db061840aa8effb748df2a997b
OPENAI_MODEL=qwen-plus
OPENAI_VISION_MODEL=qwen3-omni-flash
# Base URL for Qwen/DashScope (OpenAI-compatible API)
# 北京: https://dashscope.aliyuncs.com/compatible-mode/v1
# 弗吉尼亚: https://dashscope-us.aliyuncs.com/compatible-mode/v1
# 新加坡: https://dashscope-intl.aliyuncs.com/compatible-mode/v1
OPENAI_API_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
OPENAI_TEMPERATURE=1
OPENAI_MAX_TOKENS=1000

# ====================
# Search Configuration
# ====================
TOP_K_RESULTS=30
SIMILARITY_THRESHOLD=0.6

# Search API (see docs/搜索API对接指南.md)
SEARCH_API_BASE_URL=http://120.76.41.98:6002
SEARCH_API_TENANT_ID=170

# ====================
# Application Configuration
# ====================
APP_HOST=0.0.0.0
APP_PORT=8000
DEBUG=true
LOG_LEVEL=INFO

# ====================
# Data Paths
# ====================
RAW_DATA_PATH=./data/raw
PROCESSED_DATA_PATH=./data/processed
IMAGE_DATA_PATH=./data/images