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.3.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58099b2808147a8d2a0ccf59c5107298de89419bfa2214d2f82b72a5f1efd02c |
|
MD5 | 0033e5c149fceac13310a510302198cf |
|
BLAKE2b-256 | dfe3b6e30c3978c73e466e0c9d45365db88df0d795112a68047d81cb80eb7384 |
Close
Hashes for gpt_review_with_precondition-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb835c65f9f35b3c1b667105afcd30646a03a16dcbf890f89c83543ff9d72374 |
|
MD5 | e73823f68be550c7ba24424b8fe325dd |
|
BLAKE2b-256 | 03cca349e73607a665bf41e00bf728c2e16f682431becfab839b21c9238109a8 |