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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 054a33905f7f55f881c0fcec90bd81ae249f6b2a4c71d2fffc0328cd5e6e516d |
|
MD5 | f082905f17d5c47072de784e7be05f0a |
|
BLAKE2b-256 | 162869705c3e7f0b2b210f1b07de4a517cb9ccdd73ba8a4cff5af83a8eafe80f |
Close
Hashes for gpt_review_with_precondition-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba2698b0e805a99153bda7f11367cf692687da8cc4522c655815e12e58e14fbf |
|
MD5 | fce6d6960516f3c27b49d9135ed40d8d |
|
BLAKE2b-256 | b27c32588838f01699fb449ba45bf6b849452fe8bba3b091864471f5fa0bdf42 |