feat: 初始化 AstroResearch 核心系统代码及重构技术文档
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# AstroResearch Configuration Template
|
||||
# Copy this to .env and fill in your details
|
||||
|
||||
# NASA ADS API Key (Get from ui.adsabs.harvard.edu)
|
||||
ADS_API_KEY=your_ads_api_key_here
|
||||
|
||||
# LLM Translation Provider Settings (OpenAI-compatible endpoints)
|
||||
LLM_API_KEY=your_llm_api_key_here
|
||||
LLM_API_BASE=https://api.deepseek.com/v1
|
||||
# Examples: deepseek-chat, gpt-4o-mini, gemini-1.5-flash
|
||||
LLM_MODEL=deepseek-chat
|
||||
|
||||
# Qiniu Cloud Storage Config (For hosting PDF-extracted layout images)
|
||||
QINIU_AK=your_qiniu_access_key_here
|
||||
QINIU_SK=your_qiniu_secret_key_here
|
||||
QINIU_BUCKET=your_bucket_name
|
||||
QINIU_DOMAIN=http://your_cdn_domain.com
|
||||
|
||||
# MinerU PDF Layout Extractor Remote API (If not using HTML)
|
||||
MINERU_API_URL=http://mineru.remote-api.com/api/v1/extract
|
||||
MINERU_API_KEY=your_mineru_api_key
|
||||
|
||||
# Local Data Paths
|
||||
LIBRARY_DIR=./library
|
||||
PORT=8000
|
||||
DATABASE_URL=sqlite://astro_research.db
|
||||
Reference in New Issue
Block a user