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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff73a97bb90213171dcdbb6eab09d3d151380db8407e944e330c92fa32893efd |
|
MD5 | bf810b7a11fd544a3550e618958a6299 |
|
BLAKE2b-256 | 7203baa775551f4e7f4525fe134567faac3395b5d15474194fb0942835a48c3b |
Close
Hashes for gpt_review_with_precondition-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2883c988bf884937b5c5eae4efac2e601805c29c11d589e4887d306e6eb2fc05 |
|
MD5 | 16208ad1b845baea5fa4087369de917f |
|
BLAKE2b-256 | a1e989a7531ceb8fd0bc57d650d5c799987c88cd4180922b0df4537a2b1a104e |