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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0c2de761b4c9340f68a894287f2d0fb1bbba974d4ae58753bcd2d97c9626c9 |
|
MD5 | c48b267559511ec656b5c9a05b142732 |
|
BLAKE2b-256 | c6adab0f41d526c695d12f9177cf12a9df2233e35be20b69157f397831edc34b |
Close
Hashes for gpt_review_with_precondition-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e04f676da81f2dbc1fd456e689484d33730610a9f97a76049a8e5e40a591f383 |
|
MD5 | 70f78adecd9e7b83833b858968455347 |
|
BLAKE2b-256 | 8e7ccd214565b348a248eaf74ca5ee03ed7df9c0dcaf7e8ca7a9e074e8944c5f |