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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a97469801f3fe375b8f56743b673d448881099fcd47a3cf188af7d65b96f1fb8 |
|
MD5 | 8ab8a69c7dc6fda367697bda145a29fc |
|
BLAKE2b-256 | 39042a5ba155f1addb209668a492788ead1e31a2a132b0fae8033a0ddb3ea6b7 |
Close
Hashes for gpt_review_with_precondition-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00d5cc2f676024411f23c130175db38e78045cdbb5fe0bfd476de63873ecf12d |
|
MD5 | 76f103fad9bc67830e5426f30d6591c8 |
|
BLAKE2b-256 | c8ac03e1f6e22b328684a9b5e763bd66fd83ad8cbffd1dfd905322d66a13553f |