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.3.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db905250c0c99bc830b0f9ea2ac08e9147288efab96faaadace025fce51fb238 |
|
MD5 | f3fd2044ede0e8e105c062dbb8681dae |
|
BLAKE2b-256 | 50ee6a5ddfc218d806fb9c22815500fbd8ce8a6b0cbbe5d46f2cccac67eb08a2 |
Close
Hashes for gpt_review_with_precondition-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fec893472154d0be9151f458b324fa163392ec8e9b6e45a003166a451b0d6a04 |
|
MD5 | 7a5d1c58d87aaf35013a84f785975bec |
|
BLAKE2b-256 | a810e6e3fc33991a681bf8e8ecd012ee565c2b475cf28ea4c5c290033a3658c6 |