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.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec5fd01fb2d117e3afbdd1e592b21a7c8f249a04da48beb9e9c02248e844247e |
|
MD5 | e71e31e89818543dd31d378e6159fbbd |
|
BLAKE2b-256 | 67f49006ee905609416321b756b25c5ae4ab6e2c3ed13700bda60b42b117c3b0 |
Close
Hashes for gpt_review_with_precondition-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83d7b8a6983cdc28e9b8d47ba3ec899d168f4f53c6b8b60e9cdb5632355532d7 |
|
MD5 | 0086959659a00ae05fcaceeef36dc606 |
|
BLAKE2b-256 | 7b2eee123fabe9b9d3d19309b116dbf2f426efa0b408fb4bfa4df688aa2f73f9 |