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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a9c71ca22fef8e284fbac912dc95493d14839dc944d9c873290fd33df78a05d |
|
MD5 | 48ef77b6fc896283a59aa5981a24ea59 |
|
BLAKE2b-256 | c69a0a9ce275037ee5b01150a0b676351b359afb0c400dce22d9bbc151d1d007 |
Close
Hashes for gpt_review_with_precondition-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c57d78d212ef3a6ff7a662c263b95f7b4054b74412cc519e8043bf23474925c5 |
|
MD5 | 8ab053228fe2a821b0a6bebfa3d7e647 |
|
BLAKE2b-256 | 581764199ee92717d29fc5dd23b9f12d85d222b087f63aa9c7c1fff5b5eb43e9 |