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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84a5b0f598ba789318b5da99408aa336d65c78f763713801fb767cb55cbed757 |
|
MD5 | 87aecda73b99aae1e7c71b59ea9d692b |
|
BLAKE2b-256 | f73574cb3a1b6ddb378bc2118561bc1e5de286da4d9bed84d8845ccf5d6d2947 |
Close
Hashes for gpt_review_with_precondition-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd7517ae197d99da6404f106aca8bf21b5253c3e7652cf6637886cbc915552e |
|
MD5 | 5d4e71895e7a4e5320bb36119f920785 |
|
BLAKE2b-256 | 32a1d90a066e7bf7b2cde954eb67950363f6abefe31132615e3c4afe59fff114 |