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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f411123fca39e7a71c4bbd3157a02c4a56a33af310bfb43f54accd16eb692d0e |
|
MD5 | 59163f7b80c6be468eddc73c223bef69 |
|
BLAKE2b-256 | 5c6b2d57f985157633830ade66ba6be27f10991278aac8d502c33e3954107487 |
Close
Hashes for gpt_review_with_precondition-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c4d3450780d25e77ff926f17ae111ed1da84b52b050fcd5254850842673f0a7 |
|
MD5 | 887fa2870e75ec5fedb239840c640f0d |
|
BLAKE2b-256 | d785f00c17acd42091e8aa8cc4344861634bbeef8252fdcd5055b55e0c324546 |