forked from nishio/oss_weekly_reporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·24 lines (18 loc) · 1.24 KB
/
run.sh
File metadata and controls
executable file
·24 lines (18 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Slackデータの抽出と週次レポート生成
python -m src.slack_logger.slack_report --last-days 7 --weekly
# GitHubデータの抽出とレポート生成
# 広聴AI
python -m src.github_logger.github_report --repo "digitaldemocracy2030/kouchou-ai" --markdown --last-days 7
python -m src.github_logger.github_report --repo "digitaldemocracy2030/idobata" --markdown --last-days 7
# website
python -m src.github_logger.github_report --repo "digitaldemocracy2030/website" --markdown --last-days 7
# polimoney
python -m src.github_logger.github_report --repo "digitaldemocracy2030/polimoney" --markdown --last-days 7
# OpenAI APIを使用したレポート要約
# Slackレポートの要約
python -m src.call_openai_api slack --all-summary
# GitHubレポートの要約
python -m src.call_openai_api github --repo "digitaldemocracy2030/kouchou-ai" --prompt-file "./prompts/kouchou_prompt.txt"
python -m src.call_openai_api github --repo "digitaldemocracy2030/idobata" --prompt-file "./prompts/idobata_prompt.txt"
python -m src.call_openai_api github --repo "digitaldemocracy2030/website" --prompt-file "./prompts/website_prompt.txt"
python -m src.call_openai_api github --repo "digitaldemocracy2030/polimoney" --prompt-file "./prompts/polimoney_prompt.txt"