mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
59e5aeb9d0
New structure:
- prompts/standard_prompts.yaml: Default prompts (committed to Git)
- prompts/local/: Your improved prompts (NOT in Git!)
- prompts/README.md: Documentation
- rdagent/components/loader.py: Prompt loader with priority
Features:
- Loader checks prompts/local/ first (your better prompts)
- Falls back to standard_prompts.yaml if no local version
- Supports sections (system/user)
- Lists available prompts
- Test function included
.gitignore updated:
- prompts/local/ excluded (your proprietary prompts)
- *.local.yaml excluded
- *_private.yaml excluded
Usage:
from rdagent.components.loader import load_prompt
prompt = load_prompt('factor_discovery') # Auto-loads your better version!
94 lines
952 B
Plaintext
94 lines
952 B
Plaintext
# Environment
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# Virtual environments
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
|
|
# Logs
|
|
*.log
|
|
log/
|
|
|
|
# Cache
|
|
pickle_cache/
|
|
prompt_cache.db
|
|
.cache/
|
|
|
|
# Generated/processed data
|
|
git_ignore_folder/
|
|
data_raw/
|
|
|
|
# Build artifacts
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Local scripts (generated)
|
|
convert_1min.py
|
|
import_1min_qlib.py
|
|
|
|
# Results (Backtesting, Factors, Runs)
|
|
results/
|
|
*.db
|
|
*.csv
|
|
*_export.json
|
|
*.h5
|
|
|
|
# Documentation (generated)
|
|
QWEN.md
|
|
|
|
# AI Agent Files (generated by Qwen Code)
|
|
.qwen/
|
|
|
|
# Internal documentation (not for public)
|
|
TODO.md
|
|
|
|
# Private prompts (your improved versions)
|
|
prompts/local/
|
|
*.local.yaml
|
|
*_private.yaml
|
|
|
|
# Test credentials
|
|
.env.test
|
|
*.test.env
|
|
test_credentials.py
|