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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13b44bb8c9c879398f7448c46b5d11632ae3d87b9162dc244791534eb43d90c3 |
|
MD5 | 75dc1cd8635f804d7cce2e4bfab3d9ba |
|
BLAKE2b-256 | 338d7305ad47d7e4e2bd8e10a7d3d213e9ba10e96cae95c8706bb8bbdaf4e6e7 |
Close
Hashes for gpt_review_with_precondition-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a113cc0456e2aa1784254de69ad9898e6152737a20514862b50baf3030980f3 |
|
MD5 | 2ae37aa333c0f5f6130942db98caa93d |
|
BLAKE2b-256 | 16bcd5ef710a2ffa535ac8dc4c865ab33ff285cc9b58f512a23ad7befe257403 |