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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a02cb667b3196defc1332e90bdc762eecbb7ae7cc8f465e7ff7031d8e86806 |
|
MD5 | da431063210b6353bc47d1a8b71580c9 |
|
BLAKE2b-256 | 6cccb2db1148292e40e655ac845846068ef024422fead374b925e5ae70878301 |
Close
Hashes for gpt_review_with_precondition-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b84da78f000ce47d81f33468c9e57651a202b2e3aebf247b0364877bc6e7fa |
|
MD5 | ad1fb21227b1c4fff865be22d4e9b926 |
|
BLAKE2b-256 | c35d18827904d153e1d9f38ee1fa697d27581067005ba58d36aa80ad5ec158b4 |