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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57281079887a71b789c8d4a5b1f38b7496cd14203e35af849e1746c3904e5461 |
|
MD5 | cfc1df22f0d6fd2efff0d34e7c5188cc |
|
BLAKE2b-256 | 8f09bf55a6eca79a2de3b953a0441a1efbbd9c4ac55eb8cf86361982ba3bdf1f |
Close
Hashes for gpt_review_with_precondition-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4160015b0fb76dd391625f44ef0adf3932edf2ecc592135dc803e47aedfcb67 |
|
MD5 | 93140ea614c9a200c5863a1cc660cc1d |
|
BLAKE2b-256 | f479e0c113be2ee85f23f8dfa4c79b118dded2663d33b7123d757750d9d58125 |