63 lines
1.1 KiB
YAML
63 lines
1.1 KiB
YAML
# AI Paper Review Agent Configuration
|
|
|
|
# LLM Settings
|
|
llm:
|
|
temperature: 0.5
|
|
max_tokens: 4096
|
|
model: deepseek-r1
|
|
|
|
# ArXiv Client Settings
|
|
arxiv:
|
|
max_results_per_query: 10
|
|
cache_dir: cache/papers
|
|
retry_attempts: 3
|
|
retry_delay: 2 # seconds
|
|
|
|
# PDF Processing
|
|
pdf:
|
|
chunk_size: 1000
|
|
chunk_overlap: 100
|
|
fallback_enabled: true
|
|
supported_formats:
|
|
- pdf
|
|
- PDF
|
|
|
|
# Analysis Settings
|
|
analysis:
|
|
summary_chain_type: map_reduce
|
|
min_concepts: 3
|
|
max_summary_length: 2000
|
|
|
|
# Storage Configuration
|
|
storage:
|
|
# PostgreSQL settings
|
|
postgres:
|
|
host: localhost
|
|
port: 5432
|
|
database: paper_review
|
|
user: ${POSTGRES_USER}
|
|
password: ${POSTGRES_PASSWORD}
|
|
|
|
# Vector store settings
|
|
chroma:
|
|
persist_directory: data/chroma
|
|
collection_name: papers
|
|
|
|
# Redis cache settings
|
|
redis:
|
|
host: localhost
|
|
port: 6379
|
|
db: 0
|
|
ttl: 86400 # 24 hours
|
|
|
|
# Security
|
|
security:
|
|
encrypt_storage: true
|
|
api_rate_limit: 100 # requests per minute
|
|
max_file_size: 50000000 # 50MB
|
|
|
|
# Logging
|
|
logging:
|
|
level: INFO
|
|
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
|
file: logs/agent.log |