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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eed3ecfcca8d7860eb8fb551b14edf1d2a533608ba5adfc085467a6b18c8ad48 |
|
MD5 | 11adc003dd0734cfe6f6472030ae220b |
|
BLAKE2b-256 | b2d0be93f86617746d93596979a1a30eda2d686fd528c5f62808eb884d018eab |
Close
Hashes for gpt_review_with_precondition-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b0886e2d642bace6ad51eb3639028a3b35cc467c3877bfb06fd876751215f53 |
|
MD5 | 350aaf6bad3dbae5f2a1a5930b973c0f |
|
BLAKE2b-256 | c5e7856572bcd777f1496ad7a942c08ff62e77773f5787a0c943d44488e713bb |