GPT review with precondition from Notion
Project description
gpt-review-with-precondition
summery
notion 上にある技術文書を前提とした PR レビューを行います
for user
Envioronment Variables
install
pip install gpt-review-with-precondition
save-precondition コマンド
save-precondition ${NOTION_DATABASE_ID}
notion document を取得して前提条件のためのデータを保存します。
- NOTION_DATABASE_ID
指定した id の Notion Database から ドキュメントを取得します。
inputs/notion_database_query.json
で取得条件を指定できます。inputs/notion_document_ids.json
に指定された id のドキュメントも併せて取得します。
// example notion_database_query
{
"filter": {
"or": [
{"property": "status", "select": {"equals": "approved"}},
{"property": "status", "select": {"equals": "posted"}},
]
}
}
// example notion_document_ids
["id1","id2"]
gpt-review-with-precondition コマンド
gpt-review-with-precondition
前提条件付きで inputs/prompt.md
に記載されたプロンプトを実行します。
for developer setup
pip install poetry
make install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gpt_review_with_precondition-0.2.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a94733efb41ad3cc4663b81fee5d4047442c59b1b0b3a68ba1965047586cc0c8 |
|
MD5 | 2afeb5b384fd73de8c62a887aa889dea |
|
BLAKE2b-256 | 3e4bdcd540f93ad45d2f8774b21c921a9e71fe4a35bcff91ce4cda47a579a674 |
Close
Hashes for gpt_review_with_precondition-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65dfd1a1309e053e2b3dfb5c6e1598e2beac0e32ae085f62d29f85ac3c51574 |
|
MD5 | c03e33a7964b0f7346981f73d53d8569 |
|
BLAKE2b-256 | 3a8418ae8b1bbc1d78c27ba23cfb3d3a21be1a8f509cf9344ce6503a0e2c0dc8 |